#!/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 #--- Settings # Make sure display is set systemctl --user import-environment DISPLAY # turn off trackpad #xinput --disable 11 xinput set-prop 11 172 0 # X220 internal mic is crap # so use noise reduction filter pactl set-default-source rnnoise_source #--- Services # automount usb drives to /media with udev rule udiskie & # clipboard manager #clipmenud & # pretty windows picom -b & # pretty screen xscreensaver --no-splash & # pywal16 color theme matches wallpaper wal -Rq # notification daemon launch-dunst & #--- Desktop # system stats #conky -c .config/conky/conkyrc & # status bar dwmblocks-async dwmblocks & while true ; do /usr/local/bin/dwm 2> /dev/null done