-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
liskin-xsecurelock
executable file
·24 lines (19 loc) · 1.02 KB
/
liskin-xsecurelock
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
export XSECURELOCK_BLANK_DPMS_STATE=on
export XSECURELOCK_BLANK_TIMEOUT=-1
export XSECURELOCK_DISCARD_FIRST_KEYPRESS=0
export XSECURELOCK_PASSWORD_PROMPT=time
export XSECURELOCK_SAVER="$HOME/bin/liskin-xsecurelock-saver"
export XSECURELOCK_SAVER_RESET_ON_AUTH_CLOSE=1
export XSECURELOCK_SHOW_DATETIME=1
#export XSECURELOCK_KEY_XF86AudioMicMute_COMMAND="liskin-media mic-mute"
#export XSECURELOCK_KEY_XF86AudioMute_COMMAND="liskin-media mute"
export XSECURELOCK_KEY_XF86AudioLowerVolume_COMMAND="liskin-media volume down"
export XSECURELOCK_KEY_XF86AudioRaiseVolume_COMMAND="liskin-media volume up"
export XSECURELOCK_KEY_XF86AudioPlay_COMMAND="liskin-media play"
export XSECURELOCK_KEY_XF86AudioPause_COMMAND="liskin-media play"
export XSECURELOCK_KEY_XF86AudioStop_COMMAND="liskin-media stop"
export XSECURELOCK_KEY_XF86AudioNext_COMMAND="liskin-media next"
export XSECURELOCK_KEY_XF86AudioPrev_COMMAND="liskin-media prev"
export XSECURELOCK_KEY_XF86Tools_COMMAND="sleep 0.5; xset dpms force off"
exec /usr/bin/xsecurelock "$@"