summaryrefslogtreecommitdiff
path: root/autostart.sh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-03-01 12:31:15 -0600
committerzachir <zachir@librem.one>2023-03-01 12:31:15 -0600
commit7a8c45bbf72d0faededa892403d919a0c7a6b9c4 (patch)
tree2906ecb3d9ea25d0b8287a217f9575e9c8d8b828 /autostart.sh
parent6ca0743b41aa65286e46fb24c392b6bb2b0ae70e (diff)
parent75eace6ae79acd5f5778fb1f1530d97197d89f24 (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles
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