xautolock xsecurelock

This commit is contained in:
ITmail-dk
2022-01-15 14:06:49 +01:00
parent 88e7aca1a5
commit 7a31d40f4f
5 changed files with 16 additions and 16 deletions

View File

@@ -64,11 +64,10 @@ bspc rule -a mpv desktop='^5' state=floating
# Automatically start up programs.
picom &
#feh --bg-fill ~/wallpapers/default-wallpaper.jpg &
nitrogen --restore &
#pulseaudio --kill &
#sleep 3
#pulseaudio --start &
xscreensaver -nosplash &
#sleep 2
$HOME/.config/polybar/run-polybar.sh &
# lock computer automatically after X time of minutes.
xautolock -time 15 -locker "xsecurelock" -detectsleep -secure &
#xscreensaver -nosplash &

View File

@@ -61,13 +61,10 @@ bspc rule -a mpv desktop='^5' state=floating
# Automatically start up programs.
picom &
#feh --bg-fill ~/wallpapers/default-wallpaper.jpg &
nitrogen --restore &
#pulseaudio --kill &
#sleep 3
#pulseaudio --start &
#xscreensaver -nosplash &
#sleep 2
$HOME/.config/polybar/run-polybar.sh &
xautolock -time 2 -locker "i3lock-fancy -gp -- scrot" -detectsleep &
# lock computer automatically after X time of minutes.
xautolock -time 15 -locker "xsecurelock" -detectsleep -secure &
#xscreensaver -nosplash &

View File

@@ -40,7 +40,7 @@ super + ctrl + alt + w
####### lock computer #######
super + l
i3lock-fancy -gp -- scrot -z
xsecurelock

View File

@@ -37,6 +37,10 @@ alt + ctrl + m
shift + ctrl + alt + w
. ~/.config/rofi/rofi-wifi-menu.sh
####### lock computer #######
super + l
xsecurelock
#
# BSPwm Hotkeys
#