summaryrefslogblamecommitdiff
path: root/.config/wayland/winit
blob: 4192d05aa06d3d16f415eca0d5805519ba1bde2b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


            

                                                                    






                     
                        
 




                                                        
             
              
#!/bin/sh

# background
swaybg -m fill -i "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper" &
echo $! > "${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/swaybg.pid" &

# notification deamon
mako &

# audio
pipewire &
pipewire-pulse &
sleep 1 && wireplumber &

# wob
wobpipe="${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/wobpipe" &&
mkfifo "$wobpipe" &&
tail -f "$wobpipe" | wob &

# screen lock
caffeine -st 1