aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/initial-boot.sh
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-03-30 21:58:55 -0700
committerPinapelz <yukais@pinapelz.com>2026-03-30 21:58:55 -0700
commit4acf85db722ebe7e019e7427436083b3b9f4959e (patch)
tree6d5b416ad605730a6d573d1b4178c7676dc8a015 /config/hypr/initial-boot.sh
parent89e10cd0c0331fc727889d41e34309db1fb5735f (diff)
parente4b9059d346e6a6dbd6216cd1fb5e41085bb6e7b (diff)
Merge remote-tracking branch 'upstream/main'
Diffstat (limited to 'config/hypr/initial-boot.sh')
-rwxr-xr-xconfig/hypr/initial-boot.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh
index c68560ab..8ccda640 100755
--- a/config/hypr/initial-boot.sh
+++ b/config/hypr/initial-boot.sh
@@ -17,7 +17,14 @@ gtk_theme="Flat-Remix-GTK-Blue-Dark"
icon_theme="Flat-Remix-Blue-Dark"
cursor_theme="Bibata-Modern-Ice"
-swww="swww img"
+if command -v awww >/dev/null 2>&1; then
+ WWW="awww"
+ DAEMON="awww-daemon"
+else
+ WWW="swww"
+ DAEMON="swww-daemon"
+fi
+swww="$WWW img"
effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2"
# Check if a marker file exists.
@@ -26,7 +33,7 @@ if [ ! -f "$HOME/.config/hypr/.initial_startup_done" ]; then
# Initialize wallust and wallpaper
if [ -f "$wallpaper" ]; then
wallust run -s $wallpaper > /dev/null
- swww query || swww-daemon && $swww $wallpaper $effect
+ $WWW query || $DAEMON && $swww $wallpaper $effect
"$scriptsDir/WallustSwww.sh" > /dev/null 2>&1 &
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage