Add machine specific waybar ws icons and hyprland window rules

This commit is contained in:
Evie Litherland-Smith 2023-06-05 17:12:26 +01:00
parent 7c70ed3fdc
commit 9682d09156
6 changed files with 28 additions and 27 deletions

View file

@ -28,6 +28,7 @@
"battery#bat2" "battery#bat2"
"tray" "tray"
]; ];
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
}; };
alt = { alt = {
"include" = [ "include" = [
@ -38,6 +39,7 @@
"modules-left" = []; "modules-left" = [];
"modules-center" = ["wlr/workspaces"]; "modules-center" = ["wlr/workspaces"];
"modules-right" = []; "modules-right" = [];
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
}; };
}; };
}; };

View file

@ -1,10 +1,21 @@
source=./common.conf source=./common.conf
monitor=HDMI-A-1,preferred,auto,auto monitor=HDMI-A-1,preferred,auto,auto
monitor=DP-1,preferred,auto,auto,transform,1 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)$
windowrule = monitor 1, ^(Microsoft Teams - Preview)$
windowrule = monitor 1, title:^(Zoom)(.*)$
windowrule = monitor 1, ^(Nxplayer.bin)$
wsbind=1,HDMI-A-1 wsbind=1,HDMI-A-1
wsbind=2,HDMI-A-1 wsbind=2,HDMI-A-1
wsbind=3,HDMI-A-1
wsbind=4,HDMI-A-1
wsbind=5,HDMI-A-1 wsbind=5,HDMI-A-1
exec-once = firefox exec-once = firefox
exec-once = teams exec-once = teams

View file

@ -4,4 +4,8 @@ misc {
} }
monitor=DP-2,highrr,auto,1 monitor=DP-2,highrr,auto,1
windowrule = workspace 4 silent, ^(discord)$
windowrule = workspace 5 silent, ^(Steam|steamwebhelper)$
windowrule = monitor 1, ^(Steam|steamwebhelper)$
exec-once = steam exec-once = steam

View file

@ -29,6 +29,7 @@
"battery#bat2" "battery#bat2"
"tray" "tray"
]; ];
"wlr/workspaces" = {"format-icons" = {"5" = "󰓓";};};
}; };
}; };
}; };

View file

@ -1,29 +1,16 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = float, ^(foot)$ windowrule = float, ^(foot)$
windowrule = float, ^(thunar)$
windowrule = float, ^(pavucontrol)$ windowrule = float, ^(pavucontrol)$
windowrule = float, ^(.blueman-manager-wrapped)$ windowrule = float, ^(.blueman-manager-wrapped)$
windowrule = float, ^(otpclient)$ windowrule = float, ^(otpclient)$
windowrule = float, title:^([Zz]oom)(.*)$
windowrule = center, ^(foot)$ windowrule = center, ^(foot)$
windowrule = center, ^(thunar)$
windowrule = center, ^(pavucontrol)$ windowrule = center, ^(pavucontrol)$
windowrule = center, ^(.blueman-manager-wrapped)$ windowrule = center, ^(.blueman-manager-wrapped)$
windowrule = move 2% 6%, ^(otpclient)$ windowrule = move 2% 6%, ^(otpclient)$
windowrule = center, title:^([Zz]oom)(.*)$
windowrule = workspace 1, ^(VSCodium)$ windowrule = workspace 2 silent, ^(firefox)$
windowrule = workspace 2, ^(firefox|librewolf)$ windowrule = workspace 3 silent, ^(thunar|libreoffice).*$
windowrule = workspace 3 silent, ^(Element|Signal|discord|Microsoft Teams - Preview)$ windowrule = workspace 4 silent, ^(Element|Signal|discord)$
windowrule = workspace 3, title:^([Zz]oom)(.*)$
windowrule = workspace 4 silent, ^(org.qbittorrent.qBittorrent)$
windowrule = workspace 4 silent, ^(Nxplayer.bin)$
windowrule = workspace 5 silent, ^(Steam|steamwebhelper)$
windowrule = monitor 1, ^(VSCodium)$ windowrule = monitor 1, ^(firefox)$
windowrule = monitor 1, ^(firefox|librewolf)$
windowrule = monitor 1, ^(Microsoft Teams - Preview)$
windowrule = monitor 1, title:^(Zoom)(.*)$
windowrule = monitor 1, ^(Steam|steamwebhelper)$
windowrule = monitor 1, ^(Nxplayer.bin)$

View file

@ -148,9 +148,8 @@
"format-icons": { "format-icons": {
"1": "󰅴", "1": "󰅴",
"2": "󰈹", "2": "󰈹",
"3": "󰻞", "3": "󰷏",
"4": "󰒍", "4": "󰻞",
"5": "󰓓",
"urgent": "", "urgent": "",
"focused": "", "focused": "",
"default": "" "default": ""
@ -160,7 +159,6 @@
"2": [], "2": [],
"3": [], "3": [],
"4": [], "4": [],
"5": []
} }
}, },
"sway/workspaces": { "sway/workspaces": {
@ -172,9 +170,8 @@
"format-icons": { "format-icons": {
"1": "󰅴", "1": "󰅴",
"2": "󰈹", "2": "󰈹",
"3": "󰻞", "3": "󰷏",
"4": "󰒍", "4": "󰻞",
"5": "󰓓",
"urgent": "", "urgent": "",
"focused": "", "focused": "",
"default": "" "default": ""
@ -184,7 +181,6 @@
"2": [], "2": [],
"3": [], "3": [],
"4": [], "4": [],
"5": []
} }
} }
} }