1
0
Fork 0
ryzowanie/config/x11/xprofile

18 lines
387 B
Text
Raw Permalink Normal View History

2024-06-11 00:22:45 +02:00
#!/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"