Just to be extremely on-brand for once, here is my horrifying .xinitrc (I also have an alternate one that doesn't start the chat applications):
#!/bin/sh userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap #merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f "$userresources" ]; then xrdb -merge "$userresources" fi if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi #start some nice programs if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f fi #Set refresh rate to 60Hz if on AC power if [ "cat /sys/class/power_supply/BAT1/status" = "Discharging" ]; then /usr/local/lib/set60.sh fi #Restart discord after pacman update touch "$XDG_RUNTIME_DIR/discordstatus" && echo "$XDG_RUNTIME_DIR/discordstatus" | entr -np boxxy discord >/dev/null 2>&1 & #Deal with caprine not closing properly ~/.local/lib/messenger.sh & #Send notification in case of graphics problems ~/.local/lib/nvidiafailure.sh & ~/.local/lib/picomfailure.sh & #Start background processes picom -b & xwallpaper --daemon --stretch ~/.local/share/slock/gs0.jpg & xss-lock -l slock & tint2 & dunst & copyq & aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log & #Autostart applications kitty --title "asuka@Marojejy" & kitty --title "Matrix" sh -c 'gomuks' & boxxy caprine --force-device-scale-factor=0.9 & ~/.local/lib/hunter.sh & boxxy thunderbird & boxxy discord & #Take care of keyboard settings xkbset exp =mousekeys & xbindkeys & xmodmap -e "pointer = 3 2 1" & numlockx & ~/.local/lib/kboptions.sh & #volumeicon and polkit misbehave if started too early ~/.local/lib/volumeicon.sh & lxpolkit & exec openbox














