This commit is contained in:
2021-11-17 17:32:34 +04:00
parent 7d82e9c22e
commit a6bdab5e49
2 changed files with 6 additions and 5 deletions

View File

@@ -177,6 +177,7 @@ bindsym $mod+Shift+r restart
bindsym $mod+Shift+x 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+z exec "stop_and_lock"
bindsym $mod+x exec "stop_and_lock & xset dpms force off"
bindsym $mod+Shift+z exec "suspend-and-lock"
# resize window (you can also use the mouse for that)
@@ -232,9 +233,9 @@ bar {
# bindsym XF86Search exec --no-startup-id suspend-and-lock
# Volume control
# bindsym XF86AudioRaiseVolume exec --no-startup-id pulseaudio-ctl up
# bindsym XF86AudioLowerVolume exec --no-startup-id pulseaudio-ctl down
# bindsym XF86AudioMute exec --no-startup-id pulseaudio-ctl mute
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -c 0 set Master 2dB+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 0 set Master 2dB-
bindsym XF86AudioMute exec --no-startup-id amixer -c 0 set Master toggle
# bindsym XF86AudioPrev exec --no-startup-id mpc prev
# bindsym XF86AudioPlay exec --no-startup-id mpc toggle