aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/initial-boot.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-22 10:22:55 +0900
committerGitHub <noreply@github.com>2025-02-22 10:22:55 +0900
commit34f44c6432dc14fb3425c4de12b22ed46b06e663 (patch)
tree392d2d8e692e32b5bf2f617b381725f88a7020f0 /config/hypr/initial-boot.sh
parent341cdff88a33007724b59018d486363eda4c22c9 (diff)
parentfa73b8a3abdf98bc9146578de5fcbe362fffabf4 (diff)
Merge branch 'development' into weatherPy
Diffstat (limited to 'config/hypr/initial-boot.sh')
-rwxr-xr-xconfig/hypr/initial-boot.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh
index b2d5bce5..43856e04 100755
--- a/config/hypr/initial-boot.sh
+++ b/config/hypr/initial-boot.sh
@@ -52,14 +52,13 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
# initiate the kb_layout (for some reason) waybar cant launch it
"$scriptsDir/SwitchKeyboardLayout.sh" > /dev/null 2>&1 &
- # Initial waybar style
- if [ -f "$waybar_style" ]; then
- ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
-
- # Refreshing waybar, swaync, rofi etc.
- "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
+ # waybar style
+ if [ -L "$HOME/.config/waybar/config" ]; then
+ ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
+ "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
fi
+
# Create a marker file to indicate that the script has been executed.
touch ~/.config/hypr/.initial_startup_done
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage