check scripts to avoid rerunning remapd

This commit is contained in:
Luke Smith 2023-03-23 22:06:10 -04:00
parent 0e2cd987dc
commit 4537bce2c2
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -10,7 +10,7 @@ setbg & # set the background with the `setbg` script
autostart="mpd xcompmgr dunst unclutter pipewire remapd" autostart="mpd xcompmgr dunst unclutter pipewire remapd"
for program in $autostart; do for program in $autostart; do
pidof -s "$program" || "$program" & pidof -sx "$program" || "$program" &
done >/dev/null 2>&1 done >/dev/null 2>&1
# Ensure that xrdb has finished running before moving on to start the WM/DE. # Ensure that xrdb has finished running before moving on to start the WM/DE.