aboutsummaryrefslogtreecommitdiff
path: root/example/init
diff options
context:
space:
mode:
Diffstat (limited to 'example/init')
-rwxr-xr-xexample/init20
1 files changed, 10 insertions, 10 deletions
diff --git a/example/init b/example/init
index 0a43af2..7afc9bb 100755
--- a/example/init
+++ b/example/init
@@ -42,13 +42,13 @@ riverctl map normal $mod Return zoom
# Mod+H and Mod+L to decrease/increase the main_factor option by 0.05
# rivertile(1) uses this option to determine the width of the main stack.
-riverctl map normal $mod H spawn riverctl mod-option -focused-output main_factor -0.05
-riverctl map normal $mod L spawn riverctl mod-option -focused-output main_factor +0.05
+#riverctl map normal $mod H spawn riverctl mod-option -focused-output main_factor -0.05
+#riverctl map normal $mod L spawn riverctl mod-option -focused-output main_factor +0.05
# Mod+Shift+H and Mod+Shift+L to increment/decrement the main_count option.
# rivertile(1) uses this option to determine the number of "main" views in the layout.
-riverctl map normal $mod+Shift H spawn riverctl mod-option -focused-output main_count +1
-riverctl map normal $mod+Shift L spawn riverctl mod-option -focused-output main_count -1
+#riverctl map normal $mod+Shift H spawn riverctl mod-option -focused-output main_count +1
+#riverctl map normal $mod+Shift L spawn riverctl mod-option -focused-output main_count -1
# Mod+Alt+{H,J,K,L} to move views
riverctl map normal $mod+Mod1 H move left 100
@@ -104,10 +104,10 @@ riverctl map normal $mod Space toggle-float
riverctl map normal $mod F toggle-fullscreen
# Mod+{Up,Right,Down,Left} to change layout orientation
-riverctl map normal $mod Up spawn riverctl set-option -focused-output main_location top
-riverctl map normal $mod Right spawn riverctl set-option -focused-output main_location right
-riverctl map normal $mod Down spawn riverctl set-option -focused-output main_location bottom
-riverctl map normal $mod Left spawn riverctl set-option -focused-output main_location left
+#riverctl map normal $mod Up spawn riverctl set-option -focused-output main_location top
+#riverctl map normal $mod Right spawn riverctl set-option -focused-output main_location right
+#riverctl map normal $mod Down spawn riverctl set-option -focused-output main_location bottom
+#riverctl map normal $mod Left spawn riverctl set-option -focused-output main_location left
# Declare a passthrough mode. This mode has only a single mapping to return to
# normal mode. This makes it useful for testing a nested wayland compositor
@@ -155,7 +155,7 @@ riverctl csd-filter-add "gedit"
# Set opacity and fade effect
# riverctl opacity 1.0 0.75 0.0 0.1 20
-# Exec into the default layout generator, rivertile.
+# Set and exec into the default layout generator, rivertile.
# River will send the process group of the init executable SIGTERM on exit.
-riverctl set-option layout rivertile
+riverctl default-layout rivertile
exec rivertile