blob: 5acfa4dc55ef1e76aa15074b5f1225aab15b97f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
sleep 3
xrandr --dpi 192 # adjust the number based on your resolution and size of the screen
# setmonitor
setbg & # set the background with the `setbg` script
# fcitx5 & # set the input method
# Uncomment to use Xresources colors/settings on startup
# xrdb "${XDG_CONFIG_HOME:-${HOME}/.config}/x11/xresources" &
# xrdbpid=$!
autostart="mpd xcompmgr dunst unclutter pipewire blueman-applet remapd clipmenud"
for program in $autostart; do
pidof -sx "$program" || "$program" &
done >/dev/null 2>&1
# Ensure that xrdb has finished running before moving on to start the WM/DE.
[ -n "$xrdbpid" ] && wait "$xrdbpid"
|