~kris/dots

srice

ref: 2dc7c2f7e39f562e3603676ef50c2df0a4723c19 srice/.xprofile -rwxr-xr-x 658 bytes
2dc7c2f7 — Kris Yotam update nvim plan9 theme, add hosts file, misc updates 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 &