From e4e8eae0dfee3d88e5d24b385159e148fb9bb9d3 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 12 Mar 2023 17:26:44 +0100 Subject: [PATCH] example/init: update for rules system --- example/init | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/example/init b/example/init index f79eae1..a8e120f 100755 --- a/example/init +++ b/example/init @@ -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.