aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/initial-boot.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-22 02:09:23 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-22 02:09:23 +0900
commit7d89d2547c00a32f102292f31e2fa1ad89b5461b (patch)
tree2c93ec6150ca2a46b7a3dbd2211b32da185f0779 /config/hypr/initial-boot.sh
parenteb18f06d8cb34b529567016812c9b3a454280859 (diff)
improved copy.sh. Will restore previous waybar styles and layouts
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