Remove remote workspace, replace with web browser workspace

Move waybar window and MPRIS modules to centre

Change Vanguard window rules to workspace rules to bind to specific
monitors
This commit is contained in:
Evie Litherland-Smith 2024-03-31 08:23:29 +01:00
parent 8752bb8fd6
commit 6c9a91ded9
3 changed files with 15 additions and 12 deletions

View file

@ -189,9 +189,9 @@
++ (lib.lists.forEach layers ignorealpha); ++ (lib.lists.forEach layers ignorealpha);
windowrule = [ windowrule = [
# Workspace binds # Workspace binds
"workspace 2, (libreoffice|soffice)(.*)" "workspace 2, firefox"
"workspace 3, (com.obsproject.Studio|WebCord|signal|whatsapp-for-linux|teams-for-linux)" "workspace 3, (libreoffice|soffice)(.*)"
"workspace 4, (x2goclient|Nxplayer.bin)" "workspace 4, (com.obsproject.Studio|WebCord|signal|whatsapp-for-linux|teams-for-linux)"
"workspace 5 silent, (steam|org.prismlauncher.PrismLauncher)" # Keep silent to avoid popups taking focus "workspace 5 silent, (steam|org.prismlauncher.PrismLauncher)" # Keep silent to avoid popups taking focus
# Float + move system windows # Float + move system windows

View file

@ -16,10 +16,11 @@
# Layout # Layout
"modules-left" = [ "modules-left" = [
"hyprland/workspaces" "hyprland/workspaces"
];
"modules-center" = [
"hyprland/window" "hyprland/window"
"mpris" "mpris"
]; ];
"modules-center" = [];
"modules-right" = [ "modules-right" = [
"custom/notification" "custom/notification"
"pulseaudio" "pulseaudio"
@ -58,9 +59,9 @@
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
"1" = "󰟀 "; "1" = "󰟀 ";
"2" = "󱧶 "; "2" = "󰖟 ";
"3" = "󰭻 "; "3" = "󱧶 ";
"4" = "󰢹 "; "4" = "󰭻 ";
"5" = "󰹁 "; "5" = "󰹁 ";
"6" = "󰫃 "; "6" = "󰫃 ";
"7" = "󰫄 "; "7" = "󰫄 ";
@ -82,7 +83,7 @@
}; };
}; };
mpris = { mpris = {
"format" = "| {player_icon} {status_icon} {artist} - {title}"; "format" = "{player_icon} {status_icon} {artist} - {title}";
"tooltip-format" = "{player_icon} ({player}) {dynamic}"; "tooltip-format" = "{player_icon} ({player}) {dynamic}";
"title-len" = 48; "title-len" = 48;
"interval" = 1; "interval" = 1;

View file

@ -1,9 +1,11 @@
{...}: { {...}: {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
windowrule = [ workspace = [
"monitor HDMI-A-2, (signal|whatsapp-for-linux|teams-for-linux)" "1, monitor:desc:Acer Technologies ED270R TJMEE0043W01, default:true"
"monitor DP-1, steam" "2, monitor:desc:Ancor Communications Inc VS278 FALMQS032358, default:true"
"monitor HDMI-A-2, (WebCord|com.obsproject.Studio)" "3, monitor:desc:Acer Technologies ED270R TJMEE0043W01"
"4, monitor:desc:Ancor Communications Inc VS278 FALMQS032358"
"5, monitor:desc:Acer Technologies ED270R TJMEE0043W01"
]; ];
monitor = [ monitor = [
"desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1.00,vrr,2" "desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1.00,vrr,2"