Compare commits

...

2 Commits

Author SHA1 Message Date
ION606 86275392b8 Merge branch 'main' of https://github.com/ION606/config-backup 2025-12-13 11:40:01 -05:00
ION606 0e74f8056d updated timeout and lock screen 2025-12-13 11:39:55 -05:00
2 changed files with 41 additions and 31 deletions
+6
View File
@@ -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 --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec_always --no-startup-id dunst 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, # 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. # and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
+6 -2
View File
@@ -1,7 +1,12 @@
#!/bin/bash #!/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 if [[ "$1" == "--single" ]]; then
i3lock -i Pictures/ohnocringe.jpg -F i3lock -i "$tmp" -F
exit 0 exit 0
fi fi
@@ -40,7 +45,6 @@ i3lock \
--date-str="%A, %Y-%m-%d" \ --date-str="%A, %Y-%m-%d" \
--keylayout 1 --keylayout 1
# # paths for temporary images # # paths for temporary images
# tmpbg='/tmp/lockscreen.png' # tmpbg='/tmp/lockscreen.png'
# original_bg='/tmp/original_lockscreen.png' # original_bg='/tmp/original_lockscreen.png'