aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKamikadze <[email protected]>2024-11-05 23:03:37 +0500
committerGitHub <[email protected]>2024-11-05 18:03:37 +0000
commite4ab28b1fb063e5554c953c721779644ef6ada08 (patch)
tree55b42e7448a78ada68d0d611f29f56d71ada3ab9
parent81ad218b8b082ce4c9b04bbb668d3c219fc4ff6f (diff)
downloadHyprland-e4ab28b1fb063e5554c953c721779644ef6ada08.tar.gz
Hyprland-e4ab28b1fb063e5554c953c721779644ef6ada08.zip
defaultConfig: update default config values for shadows (#8360)
-rw-r--r--example/hyprland.conf10
-rw-r--r--src/config/defaultConfig.hpp10
2 files changed, 12 insertions, 8 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf
index f1139c3b..edeeac01 100644
--- a/example/hyprland.conf
+++ b/example/hyprland.conf
@@ -86,10 +86,12 @@ decoration {
active_opacity = 1.0
inactive_opacity = 1.0
- drop_shadow = true
- shadow_range = 4
- shadow_render_power = 3
- col.shadow = rgba(1a1a1aee)
+ shadow {
+ enabled = true
+ range = 4
+ render_power = 3
+ color = rgba(1a1a1aee)
+ }
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp
index facb16e2..02781770 100644
--- a/src/config/defaultConfig.hpp
+++ b/src/config/defaultConfig.hpp
@@ -99,10 +99,12 @@ decoration {
active_opacity = 1.0
inactive_opacity = 1.0
- drop_shadow = true
- shadow_range = 4
- shadow_render_power = 3
- col.shadow = rgba(1a1a1aee)
+ shadow {
+ enabled = true
+ range = 4
+ render_power = 3
+ color = rgba(1a1a1aee)
+ }
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {