blob: 73119d0311c682be09b69f520277780e3e095043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
xrandr --auto --dpi 96 # adjust the number based on your resolution and size of the screen
setbg & # set the background with the `setbg` script
# fcitx5 & # set the input method, but it will be separate with fcitx5-remote
# 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"
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"
|