This commit is contained in:
iFargle 2023-08-31 22:00:27 +09:00
parent 0c0a9738cd
commit 0f81749b44

View file

@ -268,7 +268,7 @@
timeout 300 'systemctl suspend-then-hibernate' \
resume 'hyprctl dispatch dpms on' \
before-sleep 'swaylock -f' \
before-sleep 'playerctl pause'
before-sleep 'playerctl pause' &
echo "udiskie"
# Automatic device mounting
@ -277,12 +277,13 @@
echo "sww clear and set up img"
swww clear
DIR=/etc/nixos/git/wallpapers/${theme}
IMG=`ls $DIR | shuf -n 1` && swww img $DIR/$IMG -t random
IMG=`ls $DIR | shuf -n 1`
swww img $DIR/$IMG -t random &
echo "Selected: $DIR/$IMG"
echo "mako init"
# Notification listener
mako
mako
echo "done"
'';
};