mirror of
https://github.com/ION606/config-backup.git
synced 2026-05-14 22:16:58 +00:00
Compare commits
2 Commits
| 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 --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
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user