blob: 166d98bb7fcc8b85a8d788ab3385aea68aab0700 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# audio
if ! command -v systemctl > /dev/null; then
pipewire &
pipewire-pulse &
sleep 1 && wireplumber &
fi
# background
swaybg -m fill -i "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper" &
echo $! > "${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/swaybg.pid" &
# notification deamon
mako &
# wob
wobpipe="${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/wobpipe" &&
mkfifo "$wobpipe" &&
tail -f "$wobpipe" | wob &
# screen lock
caffeine -st 1 &
|