From 5c9698e77e019b82496a015a6e9de8fefeceb306 Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 15 Feb 2022 14:41:16 -0300 Subject: [PATCH] river: Cambiar keybindings (mucho) --- .config/river/keys | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.config/river/keys b/.config/river/keys index 8dd2ef3..5ba9d07 100755 --- a/.config/river/keys +++ b/.config/river/keys @@ -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 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 Return enter-mode normal @@ -57,26 +57,26 @@ riverctl map-pointer normal $mod BTN_RIGHT resize-view define_tag() { riverctl map normal $mod $2 set-focused-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+Shift+Control $2 toggle-view-tags $1 + riverctl map normal $mod+Alt $2 toggle-focused-tags $1 + riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1 } -define_tag $((1 << 0)) 1 -define_tag $((1 << 1)) 2 -define_tag $((1 << 2)) 3 -define_tag $((1 << 3)) 4 -define_tag $((1 << 4)) 5 -define_tag $((1 << 5)) 6 -define_tag $((1 << 6)) 7 -define_tag $((1 << 7)) 8 -define_tag $((1 << 8)) 9 +define_tag $((1 << 0)) X +define_tag $((1 << 1)) C +define_tag $((1 << 2)) V +define_tag $((1 << 3)) S +define_tag $((1 << 4)) D +define_tag $((1 << 5)) F +define_tag $((1 << 6)) W +define_tag $((1 << 7)) E +define_tag $((1 << 8)) R all_tags=$(((1 << 32) - 1)) 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 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 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 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 C spawn 'fnottctl dismiss' +riverctl map normal $mod A spawn 'fnottctl actions' +riverctl map normal $mod Z spawn 'fnottctl dismiss' for mode in normal locked do @@ -115,6 +115,6 @@ done riverctl map normal $mod+Shift N spawn lock riverctl map normal $mod+Shift M spawn 'lock && doas pm-suspend' 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 None Print spawn 'grimshot copy area'