Browse Source

Added sleep button hotkey to lock screen.

master
Daniel Sissom 4 years ago
parent
commit
aba09d4187
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 8 additions and 2 deletions
  1. + 8
    - 2
      sxhkd/sxhkdrc

+ 8
- 2
sxhkd/sxhkdrc

@ -280,10 +280,12 @@ alt + space
# volume controls # volume controls
XF86AudioRaiseVolume XF86AudioRaiseVolume
amixer set Speaker 1%+
true
#amixer set Speaker 1%+
XF86AudioLowerVolume XF86AudioLowerVolume
amixer set Speaker 1%-
true
#amixer set Speaker 1%-
XF86AudioMute XF86AudioMute
togglemute togglemute
@ -312,6 +314,10 @@ super + x
super + {_, alt +} t super + {_, alt +} t
xrandr --output HDMI-0 {--auto --same-as DVI-D-0, --off} xrandr --output HDMI-0 {--auto --same-as DVI-D-0, --off}
# lock screen
XF86Sleep
i3lock --ignore-empty-password --show-failed-attempts --image=/home/djsissom/Local/share/wallpaper/current.png
# lock screen # lock screen
super + l super + l
i3lock --ignore-empty-password --show-failed-attempts --image=/home/djsissom/Local/share/wallpaper/current.png i3lock --ignore-empty-password --show-failed-attempts --image=/home/djsissom/Local/share/wallpaper/current.png

Loading…
Cancel
Save