Add support for 'None' modifier for keybinds
This is mostly useful for media and brightness keys, but could be used for other stuff, too.
This commit is contained in:
parent
7f571da187
commit
e29c4d01e1
3 changed files with 23 additions and 12 deletions
|
|
@ -55,6 +55,17 @@ keybinds {
|
|||
resize_height Mod4+Alt+Shift J 100
|
||||
resize_height Mod4+Alt+Shift K -100
|
||||
resize_width Mod4+Alt+Shift L 100
|
||||
// Media keys (no modifier)
|
||||
spawn None XF86AudioRaiseVolume "~/.config/river/volume-up.sh"
|
||||
spawn None XF86AudioLowerVolume "~/.config/river/volume-down.sh"
|
||||
spawn None XF86AudioMute "~/.config/river/volume-toggle-mute.sh"
|
||||
spawn None XF86AudioMedia "playerctl play-pause"
|
||||
spawn None XF86AudioPlay "playerctl play-pause"
|
||||
spawn None XF86AudioPrev "playerctl previous"
|
||||
spawn None XF86AudioNext "playerctl next"
|
||||
// Brightness keys (no modifier)
|
||||
spawn None XF86MonBrightnessUp "~/.config/river/brightness-up.sh"
|
||||
spawn None XF86MonBrightnessDown "~/.config/river/brightness-down.sh"
|
||||
// Special command to generate keybinds for keys 1-9 and tags 1<<0 through 1<<9
|
||||
tag_bind Mod4 set_output_tags
|
||||
tag_bind Mod4+Shift set_window_tags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue