diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-10-03 23:21:15 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-10-03 23:21:15 +0200 |
| commit | fa5dd5f3c014a250b1748c340255d8b4d0b7d773 (patch) | |
| tree | b923aabfdfd4e46fe8c0a42164dc78ceb5435217 /river/init | |
| parent | 112a38a0d4f3debab29749352c61968bee98e477 (diff) | |
.
Diffstat (limited to 'river/init')
| -rwxr-xr-x | river/init | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/river/init b/river/init new file mode 100755 index 0000000..91c0156 --- /dev/null +++ b/river/init @@ -0,0 +1,31 @@ +#!/bin/sh + +mod=Mod4 + +# riverctl map normal None F12 spawn ~/.config/river/terminal.sh +# riverctl map normal None Print spawn spectacle + +riverctl map-pointer normal $mod BTN_LEFT move-view +riverctl map-pointer normal $mod BTN_RIGHT resize-view + +riverctl map normal $mod Return spawn alacritty +riverctl map normal $mod Space spawn 'wofi --show drun' + +riverctl map normal $mod+Shift E exit +riverctl map normal $mod+Shift Q close + +riverctl map normal $mod+Shift Return toggle-fullscreen +riverctl map normal $mod+Shift Space toggle-float + +for i in $(seq 1 9) +do + tags=$((1 << ($i - 1))) + riverctl map normal $mod $i set-focused-tags $tags + riverctl map normal $mod+Shift $i set-view-tags $tags +done + +riverctl focus-follows-cursor normal +riverctl set-cursor-wrap on-output-change +riverctl default-layout rivertile + +exec rivertile |
