+ i3lock_fk.sh
This commit is contained in:
10
dots/bin/i3lock_fk.sh
Normal file
10
dots/bin/i3lock_fk.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# src:https://github.com/veltall/custom-i3lock
|
||||
|
||||
overlay=/home/${USER}/.local/share/img/archLinux.png
|
||||
|
||||
scrot /tmp/currentworkspace.png
|
||||
convert /tmp/currentworkspace.png -blur 0x5 /tmp/currentworkspaceblur.png
|
||||
composite -gravity southeast $overlay /tmp/currentworkspaceblur.png /tmp/lockbackground.png
|
||||
i3lock -i /tmp/lockbackground.png
|
||||
@@ -211,7 +211,7 @@ exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
# screen off after 30 min (1800 sec)
|
||||
exec_always --no-startup-id xset dpms 0 0 1800;
|
||||
# lock after 60 minutes
|
||||
exec --no-startup-id xautolock -time 60 -locker i3lock
|
||||
exec --no-startup-id xautolock -time 60 -locker i3lock_fk.sh
|
||||
|
||||
# ---
|
||||
# shortcuts
|
||||
|
||||
@@ -277,6 +277,13 @@ if [ ${operation} == "dots+" ] ; then
|
||||
mkdir -p ${file_path}
|
||||
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
||||
|
||||
# ----------
|
||||
# images
|
||||
# ----------
|
||||
file_path=/home/${user}/.local/share/img
|
||||
mkdir -p ${file_path}
|
||||
deploy_file "${dotsplus_trg}/images/*" "${file_path}/"
|
||||
|
||||
# ----------
|
||||
# wallpapers
|
||||
# ----------
|
||||
|
||||
Reference in New Issue
Block a user