aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/initial-boot.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-12-24 14:19:43 +0900
committerGitHub <noreply@github.com>2023-12-24 14:19:43 +0900
commit77f42523836e1b0251959ff552359e20c0cef097 (patch)
tree6e864293f6c638e1d3b26b555227f339bd2c8016 /config/hypr/initial-boot.sh
parent90e6b78fb35ffa564f4951d2a926f0d635913ab1 (diff)
parent8580bbc24e9047d0efbe191ace844a57f604a0ca (diff)
Merge pull request #101 from JaKooLit/Development
Development
Diffstat (limited to 'config/hypr/initial-boot.sh')
-rwxr-xr-xconfig/hypr/initial-boot.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh
index fe568b7a..cbf13b40 100755
--- a/config/hypr/initial-boot.sh
+++ b/config/hypr/initial-boot.sh
@@ -24,17 +24,11 @@ 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 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 &
gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-BL-LB > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface icon-theme Tokyonight-Dark > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice > /dev/null 2>&1 &
@@ -46,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