river: Cambiar keybindings (mucho)

This commit is contained in:
Cat /dev/Nulo 2022-02-15 14:41:16 -03:00
parent d9b1955c7f
commit 5c9698e77e

View file

@ -30,9 +30,9 @@ riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1"
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1" riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1"
riverctl declare-mode move-resize riverctl declare-mode move-resize
riverctl map normal $mod R enter-mode move-resize riverctl map normal $mod B enter-mode move-resize
riverctl map move-resize $mod R enter-mode normal riverctl map move-resize $mod B enter-mode normal
riverctl map move-resize None Escape enter-mode normal riverctl map move-resize None Escape enter-mode normal
riverctl map move-resize None Return enter-mode normal riverctl map move-resize None Return enter-mode normal
@ -57,26 +57,26 @@ riverctl map-pointer normal $mod BTN_RIGHT resize-view
define_tag() { define_tag() {
riverctl map normal $mod $2 set-focused-tags $1 riverctl map normal $mod $2 set-focused-tags $1
riverctl map normal $mod+Shift $2 set-view-tags $1 riverctl map normal $mod+Shift $2 set-view-tags $1
riverctl map normal $mod+Control $2 toggle-focused-tags $1 riverctl map normal $mod+Alt $2 toggle-focused-tags $1
riverctl map normal $mod+Shift+Control $2 toggle-view-tags $1 riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1
} }
define_tag $((1 << 0)) 1 define_tag $((1 << 0)) X
define_tag $((1 << 1)) 2 define_tag $((1 << 1)) C
define_tag $((1 << 2)) 3 define_tag $((1 << 2)) V
define_tag $((1 << 3)) 4 define_tag $((1 << 3)) S
define_tag $((1 << 4)) 5 define_tag $((1 << 4)) D
define_tag $((1 << 5)) 6 define_tag $((1 << 5)) F
define_tag $((1 << 6)) 7 define_tag $((1 << 6)) W
define_tag $((1 << 7)) 8 define_tag $((1 << 7)) E
define_tag $((1 << 8)) 9 define_tag $((1 << 8)) R
all_tags=$(((1 << 32) - 1)) all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags riverctl map normal $mod 0 set-focused-tags $all_tags
riverctl map normal $mod+Shift 0 set-view-tags $all_tags riverctl map normal $mod+Shift 0 set-view-tags $all_tags
riverctl map normal $mod Space toggle-float riverctl map normal $mod Space toggle-float
riverctl map normal $mod F toggle-fullscreen riverctl map normal $mod G toggle-fullscreen
riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top" riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top"
riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right" riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right"
@ -89,10 +89,10 @@ riverctl map normal $mod F11 enter-mode passthrough
riverctl map passthrough $mod F11 enter-mode normal riverctl map passthrough $mod F11 enter-mode normal
riverctl map normal $mod Z spawn 'pamixer --default-source --toggle-mute' riverctl map normal $mod grave spawn 'pamixer --default-source --toggle-mute'
riverctl map normal $mod X spawn 'fnottctl actions' riverctl map normal $mod A spawn 'fnottctl actions'
riverctl map normal $mod C spawn 'fnottctl dismiss' riverctl map normal $mod Z spawn 'fnottctl dismiss'
for mode in normal locked for mode in normal locked
do do
@ -115,6 +115,6 @@ done
riverctl map normal $mod+Shift N spawn lock riverctl map normal $mod+Shift N spawn lock
riverctl map normal $mod+Shift M spawn 'lock && doas pm-suspend' riverctl map normal $mod+Shift M spawn 'lock && doas pm-suspend'
riverctl map normal $mod T spawn footclient riverctl map normal $mod T spawn footclient
riverctl map normal $mod+Shift Return spawn fuzzel-run riverctl map normal $mod U spawn fuzzel-run
riverctl map normal $mod backslash spawn buscar-archivos riverctl map normal $mod backslash spawn buscar-archivos
riverctl map normal None Print spawn 'grimshot copy area' riverctl map normal None Print spawn 'grimshot copy area'