From a6bba9c15121e981e8f622c0ca36a9bd887cb4a9 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Sun, 15 Oct 2023 14:09:00 +0400 Subject: [PATCH] Move all keybindings from init script --- etc/skel/.config/river/keybindings.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/skel/.config/river/keybindings.sh b/etc/skel/.config/river/keybindings.sh index 97bd946..286e946 100755 --- a/etc/skel/.config/river/keybindings.sh +++ b/etc/skel/.config/river/keybindings.sh @@ -22,6 +22,12 @@ screenshot_notify="eval [[ $(wl-paste -l) == "image/png" ]] && notify-send 'Scre riverctl map normal "None" Print spawn "/usr/bin/river-grimshot save screen - | swappy -f - && bash -c $screenshot_notify" riverctl map normal "$mod" Print spawn "/usr/bin/river-grimshot save area - | swappy -f - && bash -c $screenshot_notify" +# Set keyboard layout. See man riverctl +# riverctl keyboard-layout -options "grp:caps_toggle" "us,ru" + +# Binding to reload the configuration (good for edits on bindings or adding new stuff +riverctl map normal $mod R spawn $HOME/.config/river/init + # $mod+Shift+Return to start an instance of terminal riverctl map normal $mod Return spawn $term