summaryrefslogtreecommitdiff
path: root/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autostart.sh')
-rwxr-xr-xautostart.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autostart.sh b/autostart.sh
index 38d03be..344a9e4 100755
--- a/autostart.sh
+++ b/autostart.sh
@@ -24,8 +24,11 @@ if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then
runifnot swayidle
launch_waybar.sh "$(crcparse WC)"
killandrun swaybg -i ~/background.jpg
+ if [ -n "$DISPLAY" ]; then
+ xrdb ~/.Xresources
+ fi
else
- runifnot picom
+ #runifnot picom
runifnot xss-lock slockd
runifnot sxhkd
if "$(type xmonad >/dev/null 2>&1)"; then