mirror of
https://github.com/ION606/config-backup.git
synced 2026-05-14 22:16:58 +00:00
Compare commits
2 Commits
f8f5615416
...
86275392b8
| Author | SHA1 | Date | |
|---|---|---|---|
| 86275392b8 | |||
| 0e74f8056d |
@@ -37,6 +37,12 @@ exec_always --no-startup-id bash /home/ion606/setupScreens.sh
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
exec_always --no-startup-id dunst
|
||||
|
||||
# no timeout after 600 seconds ffs
|
||||
exec_always --no-startup-id xset s off
|
||||
exec_always --no-startup-id xset s noblank
|
||||
exec_always --no-startup-id xset -dpms
|
||||
|
||||
|
||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||
exec --no-startup-id nm-applet
|
||||
|
||||
+35
-31
@@ -1,8 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
img="$(find /home/ion606/Pictures/astolfo/ -type f | shuf -n 1)";
|
||||
tmp="/tmp/i3lock-bg.png";
|
||||
|
||||
magick "$img" -strip "$tmp";
|
||||
|
||||
if [[ "$1" == "--single" ]]; then
|
||||
i3lock -i Pictures/ohnocringe.jpg -F
|
||||
exit 0
|
||||
i3lock -i "$tmp" -F
|
||||
exit 0
|
||||
fi
|
||||
|
||||
BLANK='#00000000'
|
||||
@@ -13,33 +18,32 @@ WRONG='#880000bb'
|
||||
VERIFYING='#00564dE6'
|
||||
|
||||
i3lock \
|
||||
--insidever-color=$CLEAR \
|
||||
--ringver-color=$VERIFYING \
|
||||
\
|
||||
--insidewrong-color=$CLEAR \
|
||||
--ringwrong-color=$WRONG \
|
||||
\
|
||||
--inside-color=$BLANK \
|
||||
--ring-color=$DEFAULT \
|
||||
--line-color=$BLANK \
|
||||
--separator-color=$DEFAULT \
|
||||
\
|
||||
--verif-color=$TEXT \
|
||||
--wrong-color=$TEXT \
|
||||
--time-color=$TEXT \
|
||||
--date-color=$TEXT \
|
||||
--layout-color=$TEXT \
|
||||
--keyhl-color=$WRONG \
|
||||
--bshl-color=$WRONG \
|
||||
\
|
||||
--screen 1 \
|
||||
--blur 9 \
|
||||
--clock \
|
||||
--indicator \
|
||||
--time-str="%H:%M:%S" \
|
||||
--date-str="%A, %Y-%m-%d" \
|
||||
--keylayout 1
|
||||
|
||||
--insidever-color=$CLEAR \
|
||||
--ringver-color=$VERIFYING \
|
||||
\
|
||||
--insidewrong-color=$CLEAR \
|
||||
--ringwrong-color=$WRONG \
|
||||
\
|
||||
--inside-color=$BLANK \
|
||||
--ring-color=$DEFAULT \
|
||||
--line-color=$BLANK \
|
||||
--separator-color=$DEFAULT \
|
||||
\
|
||||
--verif-color=$TEXT \
|
||||
--wrong-color=$TEXT \
|
||||
--time-color=$TEXT \
|
||||
--date-color=$TEXT \
|
||||
--layout-color=$TEXT \
|
||||
--keyhl-color=$WRONG \
|
||||
--bshl-color=$WRONG \
|
||||
\
|
||||
--screen 1 \
|
||||
--blur 9 \
|
||||
--clock \
|
||||
--indicator \
|
||||
--time-str="%H:%M:%S" \
|
||||
--date-str="%A, %Y-%m-%d" \
|
||||
--keylayout 1
|
||||
|
||||
# # paths for temporary images
|
||||
# tmpbg='/tmp/lockscreen.png'
|
||||
@@ -72,11 +76,11 @@ i3lock \
|
||||
# # while kill -0 "$lock_pid" 2>/dev/null; do
|
||||
# # # reset tmpbg to the original blurred image
|
||||
# # cp "$original_bg" "$tmpbg"
|
||||
|
||||
|
||||
# # # overlay the clock text on the reset image
|
||||
# # magick "$tmpbg" -gravity center -font Ubuntu-Bold -pointsize 50 -fill white \
|
||||
# # -annotate +0+200 "$(date '+%I:%M %p')" "$tmpbg"
|
||||
|
||||
|
||||
# # # reload i3lock with the updated image
|
||||
# # i3lock -i "$tmpbg" --nofork &
|
||||
# # sleep 1
|
||||
|
||||
Reference in New Issue
Block a user