aboutsummaryrefslogtreecommitdiff
path: root/example/init
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2023-03-12 17:26:44 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-03-12 17:26:44 +0100
commite4e8eae0dfee3d88e5d24b385159e148fb9bb9d3 (patch)
tree4673d05c9217ea421655ce221aab235d1cee44e3 /example/init
parentfe3c3b52463f206e63b8687909b2b01b47ee919a (diff)
downloadriver-e4e8eae0dfee3d88e5d24b385159e148fb9bb9d3.tar.gz
river-e4e8eae0dfee3d88e5d24b385159e148fb9bb9d3.tar.xz
example/init: update for rules system
Diffstat (limited to 'example/init')
-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.