river: Actualizar keybindings

This commit is contained in:
Cat /dev/Nulo 2022-09-16 23:08:39 -03:00
parent b9d2847ac6
commit da4e660990
1 changed files with 7 additions and 10 deletions

View File

@ -68,12 +68,10 @@ define_tag() {
riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1
}
define_tag $((1 << 0)) U
define_tag $((1 << 1)) I
define_tag $((1 << 2)) O
define_tag $((1 << 3)) P
define_tag $((1 << 4)) Y
define_tag $((1 << 5)) N
define_tag $((1 << 0)) M
define_tag $((1 << 1)) Comma
define_tag $((1 << 2)) Period
define_tag $((1 << 3)) Apostrophe
all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags
@ -95,8 +93,7 @@ riverctl map passthrough $mod F11 enter-mode normal
riverctl map normal $mod grave spawn 'pamixer --default-source --toggle-mute'
riverctl map normal $mod X spawn 'fnottctl actions'
riverctl map normal $mod Z spawn 'fnottctl dismiss'
riverctl map normal $mod X spawn 'swaync-client -t'
riverctl map normal $mod C spawn 'notify-send --expire-time=3000 --app-name=zeit "$(zeit --no-colors tracking)"'
for mode in normal locked
@ -117,8 +114,8 @@ do
riverctl map $mode None XF86MonBrightnessDown spawn 'brillo -U 5; brillo -O'
done
riverctl map normal $mod M spawn lock
riverctl map normal $mod+Shift M spawn 'lock && doas su -c "echo mem > /sys/power/state"'
riverctl map normal $mod P spawn lock
riverctl map normal $mod+Shift P spawn 'lock && doas su -c "echo mem > /sys/power/state"'
riverctl map normal $mod Return spawn footclient
riverctl map normal $mod D spawn fuzzel-run
riverctl map normal $mod backslash spawn buscar-archivos