summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-05-02 00:07:52 -0500
committerzachir <zachir@librem.one>2023-05-02 00:07:52 -0500
commitadd885fa8ca510af4c95911313564f6ab5264f21 (patch)
treed8b12fb8cba8d408e90d75792a534b0fa797c04f
parent6929f5c6c4731662e4b4e271aff034b5b58a0ea5 (diff)
run waybar based off of WC and not per monitor
-rwxr-xr-xautostart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autostart.sh b/autostart.sh
index e09638b..031f520 100755
--- a/autostart.sh
+++ b/autostart.sh
@@ -22,7 +22,7 @@ if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then
runifnot caffeine
if [ -n "$WAYLAND_DISPLAY" ]; then
runifnot swayidle
- launch_waybar.sh "$(crcparse WC)"
+ runifnot waybar -c ~/.config/waybar/config-"$(basename "$(crcparse WC)")"
killandrun hyprpaper
if [ "$(crcparse WC | xargs basename)" = "Hyprland" ]; then
xrdb ~/.Xresources