17 lines
387 B
Bash
17 lines
387 B
Bash
#!/bin/sh
|
|
|
|
|
|
xrandr --dpi 80 # set dpi
|
|
xrdb ${XDG_CONFIG_HOME/.config}/x11/Xresources & xrdbpid=$!
|
|
|
|
autostart="mpd dunst nm-applet redshift-gtk picom"
|
|
|
|
for program in $autostart; do
|
|
pidof -s "$program" || "$program" &
|
|
done >/dev/null 2>&1
|
|
|
|
snixembed --fork
|
|
setxkbmap pl &
|
|
|
|
# Ensure that xrdb has finished running before moving on to start the WM/DE.
|
|
[ -n "$xrdbpid" ] && wait "$xrdbpid"
|