summaryrefslogtreecommitdiff
path: root/river/init
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-24 11:02:38 -0600
committerzachir <zachir@librem.one>2023-02-24 11:02:38 -0600
commita67128f4ce8b1def8164b645b490d1f4bba73b1f (patch)
tree1d0a7fde9bf0545554175f6f0b4802d26369a2ae /river/init
parent1117a29cc29db2749da774241c4bbbeafaab3689 (diff)
add river scratchpads v0.1
Diffstat (limited to 'river/init')
-rwxr-xr-xriver/init15
1 files changed, 12 insertions, 3 deletions
diff --git a/river/init b/river/init
index 110b30d..f01b730 100755
--- a/river/init
+++ b/river/init
@@ -79,7 +79,7 @@ riverctl map-pointer normal $mod1 BTN_MIDDLE toggle-float
# Mouse rules
riverctl set-cursor-warp on-output-change
-riverctl focus-follors-cursor normal
+riverctl focus-follors-cursor always
for i in $(seq 1 9)
do
@@ -105,8 +105,17 @@ riverctl map normal $mod1 0 set-focused-tags $all_tags
riverctl map normal $mod1+Shift 0 set-view-tags $all_tags
# scratchpad tags
-riverctl map normal $mod1+$mod2+Control z spawn "river_sp -n z"
-riverctl map normal $mod1+Control z spawn "river_sp -s z"
+riverctl map normal $mod1+Control z spawn "river_sp -n z"
+riverctl map normal $mod1+Control x spawn "river_sp -n x"
+riverctl map normal $mod1+Control c spawn "river_sp -n c"
+riverctl map normal $mod1+Control v spawn "river_sp -n v"
+riverctl map normal $mod1+Control b spawn "river_sp -n b"
+riverctl map normal $mod1+Control a spawn "river_sp -n a"
+riverctl map normal $mod1+Control s spawn "river_sp -n s"
+riverctl map normal $mod1+Control d spawn "river_sp -n d"
+riverctl map normal $mod1+Control f spawn "river_sp -n f"
+riverctl map normal $mod1+Control g spawn "river_sp -n g"
+riverctl map normal $mod1+Control q spawn "river_sp -n q"
# $mod1+Space to toggle float
riverctl map normal $mod1+Control Space toggle-float