diff options
Diffstat (limited to '.xinitrc')
-rw-r--r-- | .xinitrc | 27 |
1 files changed, 20 insertions, 7 deletions
@@ -8,15 +8,28 @@ makepipe() { } xinit() { - picom --experimental-backends --config ~/.config/picom/config & + exec picom --experimental-backends --config ~/.config/picom/config & feh --bg-scale ~/media/background.jpg - ~/.screenlayout/home.sh - - makepipe - - xbanish & - status & + # setup audio + export XDG_RUNTIME_DIR=/run/user/$(id -u) + if [ ! -d $XDG_RUNTIME_DIR ]; then + doas mkdir -p $XDG_RUNTIME_DIR + user=$USER + doas chown $user:$user $XDG_RUNTIME_DIR + doas chmod 700 $XDG_RUNTIME_DIR + fi + + exec pipewire & + exec pipewire-pulse & + + # makepipe + exec status & + + # x related software + exec xbanish & + exec redshift -l 34:-119 & + xrdb -merge ~/.Xresources } xfini() { |