summaryrefslogtreecommitdiff
path: root/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autostart.sh')
-rwxr-xr-xautostart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autostart.sh b/autostart.sh
index 344a9e4..08502f9 100755
--- a/autostart.sh
+++ b/autostart.sh
@@ -24,7 +24,7 @@ if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then
runifnot swayidle
launch_waybar.sh "$(crcparse WC)"
killandrun swaybg -i ~/background.jpg
- if [ -n "$DISPLAY" ]; then
+ if [ "$(crcparse WC | xargs basename)" = "Hyprland" ]; then
xrdb ~/.Xresources
fi
else