From 18213e4b9d0925bdc3505a6ea485bdaabbb4c42b Mon Sep 17 00:00:00 2001 From: Ooh Sorry Date: Wed, 4 Dec 2024 19:00:44 +0300 Subject: [PATCH] Fixes... Fixed decoration blocks because of hyprland v0.45.0 (decoration:shadow_ vars have moved). Fixed exec swww because of swww v0.9.0 (swww init is now considered deprecated). --- theme.conf | 11 +++++++---- theme_nier_dark.conf | 6 ++++-- theme_nier_light.conf | 6 ++++-- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/theme.conf b/theme.conf index 8dd1bcd..25b4b18 100644 --- a/theme.conf +++ b/theme.conf @@ -3,7 +3,8 @@ exec=fish -c "set -Ux STARSHIP_CONFIG $yorha/components/starship.toml" exec=fish -c "set -Ux HYPRLAND_THEME $yorha" exec-once=pkill ags exec=sleep 1 && ags -c $yorha/components/ags/config.js -exec=swww init; swww img $yorha/wallpapers/nier_light.png --transition-type simple --transition-step 255 +exec=swww-daemon +exec=sleep 1 && swww img $yorha/wallpapers/nier_light.png --transition-type simple --transition-step 255 exec=sleep 1 && hyprctl plugin load /lib/hyprland-plugins/hyprbars.so bind=Super,o,exec,$DRUN @@ -36,10 +37,12 @@ decoration { passes=2 noise=0.05 } - shadow_range = 1 - shadow_render_power = 1 - shadow_offset =5 5 + shadow { + range = 1 + render_power = 1 + offset =5 5 # screen_shader = $yorha/components/gridlines.frag + } } plugin { diff --git a/theme_nier_dark.conf b/theme_nier_dark.conf index 9a38693..91f1730 100644 --- a/theme_nier_dark.conf +++ b/theme_nier_dark.conf @@ -1,6 +1,8 @@ decoration { - col.shadow = rgba(c2bda655) - col.shadow_inactive = rgba(c2bda611) + shadow { + color = rgba(c2bda655) + color_inactive = rgba(c2bda611) + } } plugin { diff --git a/theme_nier_light.conf b/theme_nier_light.conf index 2eae5b9..6eee799 100644 --- a/theme_nier_light.conf +++ b/theme_nier_light.conf @@ -1,6 +1,8 @@ decoration { - col.shadow = rgba(48463d55) - col.shadow_inactive = rgba(48463d11) + shadow { + color = rgba(48463d55) + color_inactive = rgba(48463d11) + } } plugin {