From 24a712afea1d90fb70196647a7438792056c4c46 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 28 Jun 2023 17:35:41 +0100 Subject: [PATCH] Add some window rules for new setup --- home/desktop/hyprland.nix | 9 ++++++++- users/elitherl/Ronin.nix | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/home/desktop/hyprland.nix b/home/desktop/hyprland.nix index 5898ee75..8e271f61 100644 --- a/home/desktop/hyprland.nix +++ b/home/desktop/hyprland.nix @@ -106,11 +106,18 @@ bind = ALT SHIFT, K, movewindow, u bind = ALT SHIFT, J, movewindow, d - workspace = name:terminal, default:true + workspace = name:terminal workspace = name:browser workspace = name:files workspace = name:chat + windowrule = workspace name:terminal, org.wezfurlong.wezterm + windowrule = workspace name:browser, firefox + windowrule = workspace name:files, thunar + windowrule = workspace name:files, libreoffice.* + windowrule = workspace name:chat, Signal + windowrule = workspace name:chat, fractal + bind = ALT, T, moveworkspacetomonitor, name:terminal current bind = ALT, T, workspace, name:terminal bind = ALT SHIFT, T, moveworkspacetomonitor, name:terminal current diff --git a/users/elitherl/Ronin.nix b/users/elitherl/Ronin.nix index 98b85701..2c25e639 100644 --- a/users/elitherl/Ronin.nix +++ b/users/elitherl/Ronin.nix @@ -16,6 +16,8 @@ in { monitor = DP-4,1920x1080,3840x0,1.0,transform,1 workspace = name:remote + windowrule = workspace name:chat, teams-for-linux + windowrule = workspace name:remote, nxplayer.* bind = ALT, R, moveworkspacetomonitor, remote current bind = ALT, R, workspace, remote bind = ALT SHIFT, R, moveworkspacetomonitor, remote current