feat(river): set repeat flag for a bunch of usefull commands
This commit is contained in:
parent
cecce460d3
commit
4808d111be
1 changed files with 11 additions and 8 deletions
19
wm/river.nix
19
wm/river.nix
|
|
@ -9,6 +9,17 @@ in {
|
|||
waybar &
|
||||
wlr-randr --output DP-1 --pos 1280,0 --output HDMI-A-1 --pos 0,0 # void desktop double monitor setup
|
||||
wlr-randr --output DP-5 --pos 3840,1192 --output DP-4 --pos 5120,1136 --output eDP-1 --pos 5120,2216 # t470 triple monitor setup
|
||||
# audio volume control
|
||||
riverctl map -repeat normal None XF86AudioLowerVolume spawn 'wpctl set-volume @DEFAULT_SINK@ 1%-'
|
||||
riverctl map -repeat normal None XF86AudioRaiseVolume spawn 'wpctl set-volume @DEFAULT_SINK@ 1%+'
|
||||
|
||||
# screen backlight brightness control
|
||||
riverctl map -repeat normal None XF86MonBrightnessDown spawn 'brightnessctl set 1%-'
|
||||
riverctl map -repeat normal None XF86MonBrightnessUp spawn 'brightnessctl set 1%+'
|
||||
|
||||
# layout management
|
||||
riverctl map -repeat normal Super+Alt H send-layout-cmd rivertile 'main-ratio -0.05'
|
||||
riverctl map -repeat normal Super+Alt L send-layout-cmd rivertile 'main-ratio +0.05'
|
||||
'';
|
||||
settings = {
|
||||
border-width = 2;
|
||||
|
|
@ -50,8 +61,6 @@ in {
|
|||
"Super+Shift I" = "swap previous";
|
||||
"Super+Shift O" = "swap next";
|
||||
# layout management
|
||||
"Super+Alt H" = "send-layout-cmd rivertile 'main-ratio -0.05'";
|
||||
"Super+Alt L" = "send-layout-cmd rivertile 'main-ratio +0.05'";
|
||||
"Super+Alt J" = "send-layout-cmd rivertile 'main-count -1'";
|
||||
"Super+Alt K" = "send-layout-cmd rivertile 'main-count +1'";
|
||||
# tag (workspace) management
|
||||
|
|
@ -112,12 +121,6 @@ in {
|
|||
"None XF86Tools" = "spawn 'playerctl previous'";
|
||||
"None XF86Keyboard" = "spawn 'playerctl next'";
|
||||
"None XF86Favorites" = "spawn 'cmus-remote -C player-next-album'";
|
||||
# screen backlight brightness control
|
||||
"None XF86MonBrightnessDown" = "spawn 'brightnessctl set 1%-'";
|
||||
"None XF86MonBrightnessUp" = "spawn 'brightnessctl set 1%+'";
|
||||
# audio volume control
|
||||
"None XF86AudioLowerVolume" = "spawn 'wpctl set-volume @DEFAULT_SINK@ 1%-'";
|
||||
"None XF86AudioRaiseVolume" = "spawn 'wpctl set-volume @DEFAULT_SINK@ 1%+'";
|
||||
"None XF86AudioMute" = "spawn 'wpctl set-mute @DEFAULT_SINK@ toggle'";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue