+ i3lock_fk.sh

This commit is contained in:
committer
2024-05-19 17:35:37 -05:00
parent d475b81ddc
commit 80302136ae
3 changed files with 18 additions and 1 deletions

10
dots/bin/i3lock_fk.sh Normal file
View 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

View File

@@ -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

View File

@@ -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
# ----------