[sway] Add generic floating rules
This commit is contained in:
parent
772411e591
commit
23c99ede41
1 changed files with 11 additions and 0 deletions
11
sway/config
11
sway/config
|
@ -371,6 +371,17 @@ bindsym $mod+m mode $mpdmode
|
|||
|
||||
bindsym Print exec grim -g "$(slurp)" "/tmp/screenshot-$(date +%Y-%m-%d_%H-%M-%S).png"
|
||||
|
||||
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
|
||||
for_window [window_role = "task_dialog"] floating enable
|
||||
for_window [window_type = "menu"] floating enable
|
||||
for_window [app_id = "floating"] floating enable
|
||||
for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px
|
||||
for_window [class = "(?i)pinentry"] floating enable
|
||||
for_window [title = "Administrator privileges required"] floating enable
|
||||
|
||||
for_window [title="^Firefox — Sharing Indicator$"] {
|
||||
floating enable
|
||||
resize set 75 29
|
||||
|
|
Loading…
Reference in a new issue