#!/usr/bin/env bash # Source global X session scripts. if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi source $HOME/.config/shell/vars #--- Settings # turn off trackpad #xinput set-prop 11 172 0 xinput --disable 11 #--- Services # start user services dinit -q & # automount usb drives to /media with udev rule udiskie & # clipboard manager clipmenud & # pretty windows picom -b & # pretty screen xscreensaver --no-splash & # ~/.fehbg & # pywal16 color theme matches wallpaper wal -Rq xrdb ~/.Xresources & # notification daemon launch-dunst & #--- Desktop # system stats #conky -c .config/conky/conkyrc & # status bar dwmblocks-async /usr/local/bin/dwmblocks & # window manager # if dwm exits 0, restart -- this allows hot reloading of config.h while type dwm >/dev/null ; do dwm && continue || break ; done