diff --git a/.config/sway/conf.d/exec b/.config/sway/conf.d/exec index c771e64..1b51a95 100644 --- a/.config/sway/conf.d/exec +++ b/.config/sway/conf.d/exec @@ -6,4 +6,4 @@ exec mkfifo /tmp/kitty exec wlsunset -s 19:00 -S 07:00 -d 1800 exec xbacklight -set 70 exec playerctld daemon -exec easyeffects --gapplication-service +# exec easyeffects --gapplication-service diff --git a/.config/sway/conf.d/windows-rules b/.config/sway/conf.d/windows-rules new file mode 100644 index 0000000..fa287cf --- /dev/null +++ b/.config/sway/conf.d/windows-rules @@ -0,0 +1,27 @@ +# vim: ft=swayconfig +# TODO: Clean this up +#set the variables +set { + $popup floating enable; sticky enable; + $float floating enable; +} +for_window { + [app_id="librewolf" title="^Picture-in-Picture$"] $popup + + [app_id="exe$"] $float # Wayland wine app + [class="exe$"] $float # XWayland wine app + [instance="steamwebhelper"] $float + [title="Extension:*"] $float # Bitwarden passkey etc. + [window_role="pop-up,task_dialog,About"] $float + [window_type="dialog"] $float + [window_type="dropdown_menu"] $float + [window_type="menu"] $float + [window_type="notification"] $float + [window_type="popup_menu"] $float + [window_type="splash"] $float + [window_type="toolbar"] $float + [window_type="tooltip"] $float + [window_type="utility"] $float + + [title="Wine System Tray"] floating enable; kill +} diff --git a/.config/sway/config b/.config/sway/config index e2badd0..f95ecb9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,5 +1,6 @@ include ~/.config/sway/conf.d/display -include ~/.config/sway/conf.d/theme include ~/.config/sway/conf.d/keybinds +include ~/.config/sway/conf.d/theme +include ~/.config/sway/conf.d/windows-rules include ~/.config/sway/conf.d/custom include ~/.config/sway/conf.d/exec