From 4267c25b97574b815e81a8a776157acd956f2df8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 18 Jun 2023 12:00:56 +0100 Subject: [PATCH] Restore hyprland config for H0615 --- machines/H0615/elitherl.nix | 41 +++++++++++++++++++++++++++++++++++++ machines/J0162/elitherl.nix | 2 -- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/machines/H0615/elitherl.nix b/machines/H0615/elitherl.nix index 1bf8901d..a1be35c5 100644 --- a/machines/H0615/elitherl.nix +++ b/machines/H0615/elitherl.nix @@ -10,4 +10,45 @@ teams-for-linux zoom-us ]; + wayland.windowManager.hyprland.extraConfig = '' + source=./common.conf + + monitor=HDMI-A-1,preferred,auto,auto + monitor=DP-1,preferred,auto,auto,transform,1 + + windowrule = float, title:^([Zz]oom).*$ + windowrule = center, title:^([Zz]oom).*$ + # windowrule = workspace 4 silent, ^(Microsoft Teams - Preview)$ + windowrule = workspace 4, title:^([Zz]oom).*$ + windowrule = workspace 5 silent, ^(Nxplayer.bin)$ + + wsbind=1,HDMI-A-1 + wsbind=2,HDMI-A-1 + wsbind=3,HDMI-A-1 + wsbind=4,HDMI-A-1 + wsbind=5,HDMI-A-1 + + # exec-once = firefox + # exec-once = teams + ''; + programs.waybar = { + settings = { + main = { + "modules-left" = ["wlr/workspaces"]; + "modules-center" = ["clock"]; + "modules-right" = [ + "cpu" + "memory" + "temperature" + "pulseaudio" + "bluetooth" + "network" + "backlight" + "battery" + "battery#bat2" + "tray" + ]; + }; + }; + }; } diff --git a/machines/J0162/elitherl.nix b/machines/J0162/elitherl.nix index 4235922c..29f7ec06 100644 --- a/machines/J0162/elitherl.nix +++ b/machines/J0162/elitherl.nix @@ -10,8 +10,6 @@ teams-for-linux zoom-us ]; - - wayland.windowManager.hyprland.extraConfig = ''source=./common.conf ''; programs.waybar.settings.main = { "modules-left" = ["wlr/workspaces"]; "modules-center" = ["clock"];