diff options
Diffstat (limited to 'river/init')
| -rwxr-xr-x | river/init | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,7 @@ #!/bin/sh XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +bmenu_helper="$XDG_CONFIG_HOME/river/bemenu_helper" # This is the example configuration file for river. # # If you wish to edit this, you will probably want to copy it to @@ -184,7 +185,7 @@ riverctl map normal Super+Shift Equal spawn "${XDG_CONFIG_HOME}/river/padding_he riverctl map normal Super+Shift Minus spawn "${XDG_CONFIG_HOME}/river/padding_helper -10 0" riverctl map normal Super+Control L spawn swaylock -riverctl map normal Super D spawn bemenu-run +riverctl map normal Super D spawn "$bmenu_helper "bemenu-run riverctl map normal Super B spawn 'pkill -SIGUSR1 waybar' riverctl focus-follows-cursor normal @@ -193,10 +194,10 @@ riverctl map normal Super+Shift+Control P spawn 'grim -g "$(slurp)" /tmp/screens riverctl map normal Super+Shift+Alt+Control P spawn '_f=/tmp/screenshot_$(date +%s).png; grim -g "$(slurp)" $_f; wl-copy < $_f' riverctl map normal Super P spawn dpw-menu -riverctl map normal Super+Control P spawn 'dpw-menu -o' -riverctl map normal Super O spawn 'dpw-menu --type' -riverctl map normal Super+Shift O spawn 'dpw-menu -t -o' -riverctl map normal Super backslash spawn 'pm' +riverctl map normal Super+Control P spawn "$bmenu_helper "'dpw-menu -o' +riverctl map normal Super O spawn "$bmenu_helper "'dpw-menu --type' +riverctl map normal Super+Shift O spawn "$bmenu_helper "'dpw-menu -t -o' +riverctl map normal Super backslash spawn "$bmenu_helper "'pm' # Only start these once... |
