From c3ca0cb6de089129966018afbe8db1713e3ed349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tillmann=20H=C3=BCbner?= Date: Wed, 29 Jan 2025 15:39:17 +0100 Subject: [PATCH 1/2] Update hyprland.conf Fixing shadow to adapt the new syntax as per this https://hyprland.org/news/update45/ --- hyprland/.config/hypr/hyprland.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hyprland/.config/hypr/hyprland.conf b/hyprland/.config/hypr/hyprland.conf index ac15b94d..d51f6858 100644 --- a/hyprland/.config/hypr/hyprland.conf +++ b/hyprland/.config/hypr/hyprland.conf @@ -89,10 +89,12 @@ decoration { passes = 1 } - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + shadow { + enabled = yes + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } } animations { From bfe8a9bd060099c748cdff62552251de96d8c457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tillmann=20H=C3=BCbner?= Date: Wed, 29 Jan 2025 15:41:41 +0100 Subject: [PATCH 2/2] Update hyprland.conf adding env var to respect screen scaling in electron apps --- hyprland/.config/hypr/hyprland.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hyprland/.config/hypr/hyprland.conf b/hyprland/.config/hypr/hyprland.conf index d51f6858..154c5156 100644 --- a/hyprland/.config/hypr/hyprland.conf +++ b/hyprland/.config/hypr/hyprland.conf @@ -41,6 +41,9 @@ xwayland { env = XCURSOR_SIZE,24 env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that +# respect hyprland screen scaling in eletron based applications +env = ELECTRON_OZONE_PLATFORM_HINT,wayland + # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us