river: second bind for alacritty, run two wlr-randr using subshell

This commit is contained in:
Łukasz Pankowski 2024-08-09 22:49:18 +02:00
parent f3f859d9a1
commit b0385dc277
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"${HOME}/.config/river/keymap"
LOCK_COMMAND='swaylock -f -c 1f7693'
RANDR_COMMAND='wlr-randr --output DP-1 --scale 2 --pos 0,0; wlr-randr --output DP-2 --scale 2 --pos 1920,0'
RANDR_COMMAND='sh -c "wlr-randr --output DP-1 --scale 2 --pos 0,0; wlr-randr --output DP-2 --scale 2 --pos 1920,0"'
riverctl spawn "${RANDR_COMMAND}"

View File

@ -6,6 +6,7 @@ LOCK_COMMAND='swaylock -f -c 1f7693'
# Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
riverctl map normal Super+Shift Return spawn alacritty
riverctl map normal Super+Alt Return spawn alacritty
riverctl map normal Super P spawn "wofi -S run"