~yerinalexey/dotfiles

ref: 8579758ddf3d8383f2ea9cad38fab11934bc456e dotfiles/sway/config.d/rules.config -rw-r--r-- 640 bytes
8579758dAlexey Yerin scripts/xdg-open: fix terminal command for foot 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Window rules

# Open calculator as floating window
for_window [app_id="gnome-calculator"] floating enable

# Open dialogs and popups as floating windows
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="dialog"] floating enable
for_window [window_type="dialog"] floating enable

# Some tweaks for picture-in-picture windows
for_window [window_role="PictureInPicture"] border none, sticky enable
for_window [title="Picture in picture"] border none, sticky enable, floating enable

# Immediately focus window when it requests focus
focus_on_window_activation focus