blob: 3afae8760ecb4d673a7513d93224ba24d6a065e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -eu
WALLPAPER=/home/samn/wallpaper.jpg
trap 'kill 0' SIGINT
swaybg -i "$WALLPAPER" &
swayidle -w \
timeout 300 "swaylock -f -i $WALLPAPER" \
before-sleep "swaylock -f -i $WALLPAPER" &
status.sh &
somebar
wait
|