addtional keyboard mappings for media and wifi
This commit is contained in:
parent
821d8a269c
commit
31f4f75c5a
1 changed files with 19 additions and 3 deletions
|
@ -206,14 +206,30 @@ bindsym Scroll_Lock exec "$lock -f"
|
|||
bindsym $mod+Scroll_Lock exec /home/thrrgilag/bin/noidle
|
||||
bindsym $mod+Mod1+Scroll_Lock exec /home/thrrgilag/bin/idle
|
||||
|
||||
# screen controls
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||
|
||||
# screenshots
|
||||
bindsym Print exec grim ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).png
|
||||
bindsym $mod+Print exec grim -g "$(slurp)" ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).png
|
||||
|
||||
# media
|
||||
# volume controls
|
||||
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
|
||||
# media controls
|
||||
bindsym --locked XF86AudioNext exec playerctl next
|
||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
||||
bindsym --locked XF86AudioPrev exec playerctl previous
|
||||
bindsym --locked XF86AudioStop exec playerctl stop
|
||||
bindsym --locked Pause exec playerctl play-pause
|
||||
#bindsym $mod+Mod1+n exec playerctl next
|
||||
#bindsym $mod+Mod1+p exec playerctl previous
|
||||
|
||||
# wifi control
|
||||
bindsym $mod+F9 exec nmcli connection up wlp2s0
|
||||
bindsym $mod+Mod1+F9 exec nmcli connection down wlp2s0
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
|
|
Loading…
Reference in a new issue