#!/bin/sh
# This file runs when a DM logs you into a graphical session.
# If you use startx/xinit like a Chad, this file will also be sourced.
xrandr --dpi 128 # Set DPI. Scaled up for 1440p to match 1080p UI size.
~/.screenlayout/main.sh # Set up monitor layout
xrdb -merge ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources # Load base Xresources
setbg -s # set the background and colorscheme (sync, not background)
autostart="mpd picom dunst unclutter pipewire remapd"
for program in $autostart; do
pidof -sx "$program" || "$program" &
done >/dev/null 2>&1
# Start conky (lean-conky-config)
pidof -sx conky || ~/.config/conky/lean-conky/start.sh &