diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2024-11-21 13:30:52 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2024-11-21 13:30:52 +0530 |
commit | 5c916d69d457101326803eb076a746060e3618cf (patch) | |
tree | d6fce3256eede1c1bf78fb6a1be75b9cc4b84cee /.config/X11/xprofile |
Moved from github
Diffstat (limited to '.config/X11/xprofile')
-rw-r--r-- | .config/X11/xprofile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/X11/xprofile b/.config/X11/xprofile new file mode 100644 index 0000000..29250ae --- /dev/null +++ b/.config/X11/xprofile @@ -0,0 +1,18 @@ +#!/bin/sh + +# gui -e + +echo "Sourced: $(date)" >> ~/.local/state/xprofile.logs + +xrdb "${XDG_CONFIG_HOME:-$HOME/.config}/X11/Xresources" & xrdbpid=$! +numlockx on & +setdp & + +autostart="copyq dunst pipewire syncthing remapd" + +for program in $autostart; do + pidof -sx "$program" || "$program" & +done >/dev/null 2>&1 + +{ sleep 5; wireplumber; } & +[ -n "$xrdbpid" ] && wait "$xrdbpid" |