diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-02-22 10:22:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 10:22:55 +0900 |
| commit | 34f44c6432dc14fb3425c4de12b22ed46b06e663 (patch) | |
| tree | 392d2d8e692e32b5bf2f617b381725f88a7020f0 /config/hypr/initial-boot.sh | |
| parent | 341cdff88a33007724b59018d486363eda4c22c9 (diff) | |
| parent | fa73b8a3abdf98bc9146578de5fcbe362fffabf4 (diff) | |
Merge branch 'development' into weatherPy
Diffstat (limited to 'config/hypr/initial-boot.sh')
| -rwxr-xr-x | config/hypr/initial-boot.sh | 11 |
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 |
