Add audio volume control
This commit is contained in:
parent
3984fa8171
commit
faa502b081
1 changed files with 5 additions and 0 deletions
|
@ -152,6 +152,11 @@ bindsym $mod+Control+v exec "ibus engine Unikey"
|
||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# volume keys: mute, lower highter
|
||||||
|
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||||
|
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%"
|
||||||
|
bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%"
|
||||||
|
|
||||||
# open login screen on another vt (virtual terminal)
|
# open login screen on another vt (virtual terminal)
|
||||||
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
|
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue