example/init: update for rules system

This commit is contained in:
Isaac Freund 2023-03-12 17:26:44 +01:00
parent fe3c3b5246
commit e4e8eae0df
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -150,12 +150,11 @@ riverctl border-color-unfocused 0x586e75
# Set keyboard repeat rate
riverctl set-repeat 50 300
# Make certain views start floating
riverctl float-filter-add app-id float
riverctl float-filter-add title "popup title with spaces"
# Make all views with an app-id that starts with "float" and title "foo" start floating.
riverctl rule-add float -app-id 'float*' -title 'foo'
# Set app-ids and titles of views which should use client side decorations
riverctl csd-filter-add app-id "gedit"
# Make all views with app-id "bar" and any title use client-side decorations
riverctl rule-add csd -app-id "bar"
# Set the default layout generator to be rivertile and start it.
# River will send the process group of the init executable SIGTERM on exit.