aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/initial-boot.sh
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-12-24 14:14:02 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-12-24 14:14:02 +0900
commitd04d87d5f47f9ba130bbffd7cde4d3a6ac7b840d (patch)
tree6e864293f6c638e1d3b26b555227f339bd2c8016 /config/hypr/initial-boot.sh
parentffd9c409864d7934c24abde08b5f9692f96d9a54 (diff)
updated readme and initial-boot behaviour
Diffstat (limited to 'config/hypr/initial-boot.sh')
-rwxr-xr-xconfig/hypr/initial-boot.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh
index 32a236e2..cbf13b40 100755
--- a/config/hypr/initial-boot.sh
+++ b/config/hypr/initial-boot.sh
@@ -24,15 +24,8 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
# Initial symlink for Pywal Dark and Light for Rofi Themes
ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi"
- # Initial waybar style
- ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
-
# Initial scripts to load in order to have a proper wallpaper waybar and pywal themes
- swww kill && swww query || swww init && $swww "$wallpaper" $effect
-
- # Refreshing waybar, dunst, rofi etc.
- "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 &
- "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
+ swww init && $swww "$wallpaper" $effect
# initiate GTK dark mode and apply icon and cursor theme
gsettings set org.gnome.desktop.interface color-scheme prefer-dark > /dev/null 2>&1 &
@@ -47,6 +40,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
+ ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
+
+ # Refreshing waybar, dunst, rofi etc.
+ "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 &
+ "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
+
# 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