Create start-waybars.sh

This commit is contained in:
FURK4NGG
2026-01-29 01:18:44 +03:00
committed by GitHub
parent 4c0ab9f020
commit e6a7381297
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Ortam değişkenleri
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
export WAYLAND_DISPLAY="wayland-1"
WAYBAR_BIN="/usr/bin/waybar"
CONFIG_DIR="$HOME/.config/waybar"
# Tüm config-* dosyalarını al
for CONFIG in "$CONFIG_DIR"/config-*; do
echo "[waybar] starting with $CONFIG"
"$WAYBAR_BIN" -c "$CONFIG" &
done