diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-12-22 10:50:09 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-12-22 10:50:09 +0900 |
| commit | ed3f105346d064cbc0fd45f0d34bff4d76eb502c (patch) | |
| tree | e02696e1e794c0a4c4c15d0333b2ce8cde745ac7 /config/hypr/initial-boot.sh | |
| parent | 14e1421537e38cd9bc68491c4a24028132a4a589 (diff) | |
The initial_boot.sh was moved towards the end of Execs.conf to avoid conflict with swww
Initial_boot.sh also now includes setting of qt apps using kvantummanager
Updated dark_light.sh
Diffstat (limited to 'config/hypr/initial-boot.sh')
| -rwxr-xr-x | config/hypr/initial-boot.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 1ab8b018..a51f479b 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -8,6 +8,8 @@ # Variables scriptsDir=$HOME/.config/hypr/scripts wallpaper=$HOME/Pictures/wallpapers/Cute-Cat_ja.png +waybar_style="$HOME/.config/waybar/configs/[Pywal] Chroma Fusion.css" +kvantum_theme="Tokyo-Night" swww="swww img" effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2" @@ -16,14 +18,17 @@ effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type if [ ! -f ~/.config/hypr/.initial_startup_done ]; then # Initialize pywal - printf " Initializing pywal........\n\n" + #printf " Initializing pywal........\n\n" wal -i $wallpaper -s -t # 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 init || swww query && $swww "$wallpaper" $effect + swww query && $swww "$wallpaper" $effect # Refreshing waybar, dunst, rofi etc. "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 & @@ -35,6 +40,9 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-size 24 > /dev/null 2>&1 & + # initiate kvantum theme + kvantummanager --set "$kvantum_theme" > /dev/null 2>&1 & + # initiate the kb_layout (for some reason) waybar cant launch it "$scriptsDir/SwitchKeyboardLayout.sh" > /dev/null 2>&1 & |
