summaryrefslogtreecommitdiff
path: root/river
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2024-01-14 19:54:39 +0100
committertslil clingman <tslil@posteo.de>2024-01-14 19:54:39 +0100
commit886266708b8787bfbb7f63106e246c60d9f6d458 (patch)
treec71a07a50e86b49810521060a5b313379710474a /river
parent4275e1f189a8b3c0379ef541d88e72a0a5b514d3 (diff)
[river] small fixes
Diffstat (limited to 'river')
-rwxr-xr-xriver/init15
1 files changed, 5 insertions, 10 deletions
diff --git a/river/init b/river/init
index 6f0048f..cf16d63 100755
--- a/river/init
+++ b/river/init
@@ -49,9 +49,9 @@ riverctl map normal Super Space toggle-float
riverctl map normal Super G toggle-fullscreen
# Outpus
-riverctl map normal Super Period focus-output next
+riverctl map normal Super B focus-output next
riverctl map normal Super Comma focus-output previous
-riverctl map normal Super+Shift Period send-to-output next
+riverctl map normal Super+Shift B send-to-output next
riverctl map normal Super+Shift Comma send-to-output previous
@@ -64,6 +64,8 @@ riverctl map normal Super+Shift $UPK send-layout-cmd rivercarro "main-count +1"
riverctl map normal Super+Shift $DNK send-layout-cmd rivercarro "main-count -1"
# Super+Alt+{H,J,K,L} to move views
+LEFT=C
+RIGHT=I
riverctl map normal Super+Alt $LEFT move left 100
riverctl map normal Super+Alt $DNK move down 100
riverctl map normal Super+Alt $UPK move up 100
@@ -87,7 +89,7 @@ riverctl map-pointer normal Super+Shift BTN_LEFT resize-view
riverctl map normal Super Tab focus-previous-tags
count=0
for i in F U H period V L O M; do
- tags=$((1 << count))
+ tags=$(( 1 << count ))
riverctl map normal Super $i set-focused-tags $tags
riverctl map normal Super+Shift $i set-view-tags $tags
# riverctl map normal Super+Control $i toggle-focused-tags $tags
@@ -124,13 +126,6 @@ riverctl border-color-unfocused 0x"$IN_COLOUR"
# 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"
-
-# Set app-ids and titles of views which should use client side decorations
-# riverctl csd-filter-add app-id "gedit"
-
# Set the default layout generator to be rivercarro and start it.
# River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivercarro