~kris/dots

srice

ref: e5cf200ba29f0a659b2e92172f2fc940dc8d2017 srice/.xprofile -rwxr-xr-x 719 bytes
e5cf200b — Kris Yotam conky: Plan 9 modern theme with cyan border 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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.

# Load environment variables from login profile
. "$HOME/.profile"

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"

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 &