Added auto lock screen
This commit is contained in:
parent
171d26ed68
commit
dd4abef7ed
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
notify-send --icon=gtk-info Lock "Screen lock in progress..."
|
||||
#notify-send --icon=gtk-info Lock "Screen lock in progress..."
|
||||
|
||||
i3lock-fancy
|
||||
#/opt/i3lock-fancy-multimonitor/lock
|
||||
#dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
|
||||
|
||||
|
|
|
@ -281,3 +281,8 @@ for_window [class="Ristretto"] fullscreen enable
|
|||
#
|
||||
|
||||
default_border pixel 2
|
||||
|
||||
# Power save mode and Auto lock screen
|
||||
exec --no-startup-id xset s 60 30
|
||||
exec --no-startup-id xset dpms 120
|
||||
exec --no-startup-id xss-lock -n ~/Bin/lock.sh
|
||||
|
|
Loading…
Reference in a new issue