From 6de33bb1b0c93fa0670f8c9397efd350c4af3782 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 28 Feb 2023 21:53:33 -0600 Subject: update autostart to run xrdb if XWayland --- autostart.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'autostart.sh') 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 -- cgit v1.2.3