From 3d970d1caca4eb306f619b2bfee41c8959d3d42f Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Sun, 18 Feb 2024 00:32:04 +0100 Subject: [PATCH] added redshift substitute and added rules for floating windows --- .config/sway/config | 7 ++++++- .config/sway/config.d/windows.conf | 13 +++++++++++++ pkglist | 3 +++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index f1c7a1a..010f7c1 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -12,6 +12,9 @@ output * scale 1.25 # notification daemon exec mako +# redshift +exec wlsunset -l 53.5 -L 10.0 + # polkit exec /usr/bin/lxqt-policykit-agent @@ -60,7 +63,7 @@ mode "$mode_resize" { bindsym { h resize shrink width j resize grow height - k reisze shrink height + k resize shrink height l resize grow width Escape mode "default" } @@ -141,3 +144,5 @@ input type:pointer { client.focused #ca9ee6 #ca9ee6 #ca9ee6 #ea999c #81c8be client.focused_inactive #000000 #000000 #c6d0f5 #ea999c #232634 client.unfocused #000000 #000000 #c6d0f5 #ea999c #232634 + +floating_modifier $mod diff --git a/.config/sway/config.d/windows.conf b/.config/sway/config.d/windows.conf index adb2177..3ece326 100644 --- a/.config/sway/config.d/windows.conf +++ b/.config/sway/config.d/windows.conf @@ -1,2 +1,15 @@ for_window [app_id="lxqt-policykit-agent"] floating enable for_window [title="flameshot" app_id="flameshot"] fullscreen enable global + +for_window [window_type="dialog"] floating enable +for_window [window_role="dialog"] floating enable + + +# For pop up notification windows that don't use notifications api +for_window [class="zoom" title="^zoom$"] border none, floating enable +# For specific Zoom windows +for_window [class="zoom" title="^(Zoom|About)$"] border pixel, floating enable +for_window [class="zoom" title="Settings"] floating enable, floating_minimum_size 960 x 700 +for_window [class="zoom" title="Zoom - Licensed account"] floating disable +# Open Zoom Meeting windows on a new workspace (a bit hacky) +for_window [class="zoom" title="Zoom Meeting(.*)?"] workspace next_on_output --create, move container to workspace current, floating disable, inhibit_idle open diff --git a/pkglist b/pkglist index ed0b41b..b3f3a68 100644 --- a/pkglist +++ b/pkglist @@ -68,3 +68,6 @@ keepassxc xorg-xwayland # daemon for disk control udisks2 + +# redshift replacement +wlsunset