test
This commit is contained in:
parent
0c0a9738cd
commit
0f81749b44
1 changed files with 4 additions and 3 deletions
|
@ -268,7 +268,7 @@
|
||||||
timeout 300 'systemctl suspend-then-hibernate' \
|
timeout 300 'systemctl suspend-then-hibernate' \
|
||||||
resume 'hyprctl dispatch dpms on' \
|
resume 'hyprctl dispatch dpms on' \
|
||||||
before-sleep 'swaylock -f' \
|
before-sleep 'swaylock -f' \
|
||||||
before-sleep 'playerctl pause'
|
before-sleep 'playerctl pause' &
|
||||||
|
|
||||||
echo "udiskie"
|
echo "udiskie"
|
||||||
# Automatic device mounting
|
# Automatic device mounting
|
||||||
|
@ -277,12 +277,13 @@
|
||||||
echo "sww clear and set up img"
|
echo "sww clear and set up img"
|
||||||
swww clear
|
swww clear
|
||||||
DIR=/etc/nixos/git/wallpapers/${theme}
|
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 "Selected: $DIR/$IMG"
|
||||||
|
|
||||||
echo "mako init"
|
echo "mako init"
|
||||||
# Notification listener
|
# Notification listener
|
||||||
mako
|
mako
|
||||||
echo "done"
|
echo "done"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue