aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexample/init9
1 files 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.