Add some window rules

This commit is contained in:
Aleksey Samoilov 2023-12-11 17:13:33 +04:00
parent 3ffde7fd46
commit 6509e16474
2 changed files with 15 additions and 11 deletions

View file

@ -71,6 +71,21 @@ riverctl border-color-focused 0x8aadf4
riverctl border-color-unfocused 0xa5adcb riverctl border-color-unfocused 0xa5adcb
riverctl border-width 2 riverctl border-width 2
# Window rules
# Make all views with an app-id that starts with "floating_shell" start floating.
riverctl float-filter-add app-id "floating_shell"
# Set floating view for some apps
riverctl float-filter-add app-id "engrampa"
riverctl float-filter-add app-id "calamares"
riverctl float-filter-add app-id "nwg-look"
riverctl float-filter-add app-id "qt5ct"
riverctl float-filter-add app-id "qt6ct"
riverctl float-filter-add app-id "pavucontrol"
riverctl float-filter-add app-id "wdisplays"
riverctl float-filter-add title "Picture-in-Picture"
riverctl float-filter-add title "Firefox — Sharing Indicator"
# Set the default layout generator to be rivertile and start it. # Set the default layout generator to be rivertile and start it.
# River will send the process group of the init executable SIGTERM on exit. # River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivertile riverctl default-layout rivertile

View file

@ -165,14 +165,3 @@ done
# Set keyboard repeat rate # Set keyboard repeat rate
riverctl set-repeat 50 300 riverctl set-repeat 50 300
# Make all views with an app-id that starts with "floating_shell" start floating.
riverctl float-filter-add app-id "floating_shell"
# Set floating view for some apps
riverctl float-filter-add app-id "engrampa"
riverctl float-filter-add app-id "nwg-look"
riverctl float-filter-add app-id "qt5ct"
riverctl float-filter-add app-id "qt6ct"
riverctl float-filter-add app-id "pavucontrol"
riverctl float-filter-add title "Picture-in-Picture"
riverctl float-filter-add title "Firefox — Sharing Indicator"