summaryrefslogtreecommitdiff
path: root/.config/X11/xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.config/X11/xprofile')
-rw-r--r--.config/X11/xprofile18
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"