From 80302136ae1922058f2c657b88405568df1c5eb0 Mon Sep 17 00:00:00 2001 From: committer Date: Sun, 19 May 2024 17:35:37 -0500 Subject: [PATCH] + i3lock_fk.sh --- dots/bin/i3lock_fk.sh | 10 ++++++++++ dots/i3wm/config | 2 +- scripts/99_deploy.sh | 7 +++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 dots/bin/i3lock_fk.sh diff --git a/dots/bin/i3lock_fk.sh b/dots/bin/i3lock_fk.sh new file mode 100644 index 0000000..a689c28 --- /dev/null +++ b/dots/bin/i3lock_fk.sh @@ -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 \ No newline at end of file diff --git a/dots/i3wm/config b/dots/i3wm/config index d8acd91..4a3e25d 100644 --- a/dots/i3wm/config +++ b/dots/i3wm/config @@ -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 diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 2bd507d..cf481ab 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -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 # ----------