diff --git a/README.md b/README.md index fdef643..ef4c3f2 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ The following packages are required for the proper functioning of Hyprland on Vo - waybar - swaybg + - animated bg [swww](https://github.com/LGFae/swww) - swaylock or [swaylock-effects](https://github.com/mortie/swaylock-effects) - grim - slurp diff --git a/hyprland/.config/hypr/conf/autostart.conf b/hyprland/.config/hypr/conf/autostart.conf index 58642af..f216093 100644 --- a/hyprland/.config/hypr/conf/autostart.conf +++ b/hyprland/.config/hypr/conf/autostart.conf @@ -11,8 +11,8 @@ exec-once = sleep 1 && /usr/bin/pipewire-pulse & # exec-once = sleep 1 && /usr/bin/wireplumber & # wallpaper : -exec-once = swaybg -i ~/Wallpapers/macos.png & -# exec-once = swww init; swww kill; swww init # idk why tbh +# exec-once = swaybg -i ~/Wallpapers/macos.png & +exec-once = ~/.config/hypr/scripts/swww-launch.sh # status bar : exec-once = ~/.config/hypr/scripts/waybar-launch.sh diff --git a/hyprland/.config/hypr/conf/decorations/default.conf b/hyprland/.config/hypr/conf/decorations/default.conf index a99bddf..4babd44 100644 --- a/hyprland/.config/hypr/conf/decorations/default.conf +++ b/hyprland/.config/hypr/conf/decorations/default.conf @@ -12,8 +12,8 @@ decoration { passes = 3 new_optimizations = on ignore_opacity = true - # xray = true # blurls = waybar + # xray = true # blurls = dunst } @@ -22,7 +22,7 @@ decoration { fullscreen_opacity = 1.0 drop_shadow = true - shadow_range = 30 - shadow_render_power = 3 + shadow_range = 15 + shadow_render_power = 5 col.shadow = 0x66000000 } \ No newline at end of file diff --git a/hyprland/.config/hypr/scripts/swww-launch.sh b/hyprland/.config/hypr/scripts/swww-launch.sh new file mode 100644 index 0000000..bd37126 --- /dev/null +++ b/hyprland/.config/hypr/scripts/swww-launch.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +FPS=75 +DIR=$HOME/wallpapers/ +PICS=($(ls ${DIR})) + +RANDOMPICS=${PICS[$RANDOM % ${#PICS[@]}]} + +swww query || swww init + +swww img ${DIR}/${RANDOMPICS} --transition-fps $FPS --transition-type any --transition-duration 3 diff --git a/hyprland/.config/waybar/river/style.css b/hyprland/.config/waybar/river/style.css index fd27094..4ac8be5 100644 --- a/hyprland/.config/waybar/river/style.css +++ b/hyprland/.config/waybar/river/style.css @@ -10,6 +10,7 @@ window#waybar { background-color: transparent; + border-radius: 12px; } window#waybar.hidden {