summaryrefslogtreecommitdiff
path: root/autostart.sh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-28 21:53:33 -0600
committerzachir <zachir@librem.one>2023-02-28 21:53:33 -0600
commit6de33bb1b0c93fa0670f8c9397efd350c4af3782 (patch)
tree08081ab6a0bacc621067239fca1f8c19c75fdc9d /autostart.sh
parent29a509195b9d89b2dcdb0f8f5b72da1e1e25c0da (diff)
update autostart to run xrdb if XWayland
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