diff options
author | zachir <zachir@librem.one> | 2023-02-28 21:53:33 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-28 21:53:33 -0600 |
commit | 6de33bb1b0c93fa0670f8c9397efd350c4af3782 (patch) | |
tree | 08081ab6a0bacc621067239fca1f8c19c75fdc9d /autostart.sh | |
parent | 29a509195b9d89b2dcdb0f8f5b72da1e1e25c0da (diff) |
update autostart to run xrdb if XWayland
Diffstat (limited to 'autostart.sh')
-rwxr-xr-x | autostart.sh | 5 |
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 |