mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Enable passing of CLI flags to auto-started programs
This commit is contained in:
parent
771ed98bf6
commit
0b49b72f27
@ -8,10 +8,14 @@ setbg & # set the background with the `setbg` script
|
||||
#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
|
||||
remaps & # run the remaps script, switching caps/esc and more; check it for more info
|
||||
|
||||
autostart="mpd xcompmgr dunst unclutter pipewire"
|
||||
|
||||
for program in $autostart; do
|
||||
pidof -s "$program" || "$program" &
|
||||
autostart="mpd
|
||||
xcompmgr
|
||||
dunst
|
||||
unclutter
|
||||
pipewire
|
||||
"
|
||||
printf "%s" "$autostart" | while IFS="" read -r program; do
|
||||
pgrep -fl "$program" || $program &
|
||||
done >/dev/null 2>&1
|
||||
|
||||
# Ensure that xrdb has finished running before moving on to start the WM/DE.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user