From 6509e16474147c92f6bcf046c788957cda5c350c Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Mon, 11 Dec 2023 17:13:33 +0400 Subject: [PATCH] Add some window rules --- etc/skel/.config/river/init | 15 +++++++++++++++ etc/skel/.config/river/keybindings.sh | 11 ----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/etc/skel/.config/river/init b/etc/skel/.config/river/init index dbf1e19..ebee194 100755 --- a/etc/skel/.config/river/init +++ b/etc/skel/.config/river/init @@ -71,6 +71,21 @@ riverctl border-color-focused 0x8aadf4 riverctl border-color-unfocused 0xa5adcb 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. # River will send the process group of the init executable SIGTERM on exit. riverctl default-layout rivertile diff --git a/etc/skel/.config/river/keybindings.sh b/etc/skel/.config/river/keybindings.sh index 286e946..ea7447a 100755 --- a/etc/skel/.config/river/keybindings.sh +++ b/etc/skel/.config/river/keybindings.sh @@ -165,14 +165,3 @@ done # Set keyboard repeat rate 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"