diff options
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 |
