From 33ef389d4dfa2f0d598c86936f4b19d8afbe010c Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 20 Jul 2025 15:40:35 +0200 Subject: [PATCH] hypr: tweak alpha/contrast --- dot-config/hypr/fragments/env.conf | 2 ++ dot-config/hypr/fragments/windowrules.conf | 9 ++++++++- dot-config/hypr/hyprland.conf | 21 ++++++++++++--------- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/dot-config/hypr/fragments/env.conf b/dot-config/hypr/fragments/env.conf index 053d9692..648a7104 100644 --- a/dot-config/hypr/fragments/env.conf +++ b/dot-config/hypr/fragments/env.conf @@ -33,3 +33,5 @@ env = HYPRCURSOR_SIZE,40 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_MENU_PREFIX,plasma- +# test stuff +env = TERMINAL,/usr/bin/foot diff --git a/dot-config/hypr/fragments/windowrules.conf b/dot-config/hypr/fragments/windowrules.conf index 01dfe922..fe3ac1c6 100644 --- a/dot-config/hypr/fragments/windowrules.conf +++ b/dot-config/hypr/fragments/windowrules.conf @@ -46,6 +46,12 @@ windowrule = workspace 5, class:^(gimp)$ windowrule = float, class:^(gimp)$ windowrule = tile, class:^(gimp)$, title:^(.*GIMP)$ +# WIP: handle cava launched by .desktop file +windowrule = float,title:^(cava.*)$ +windowrule = noinitialfocus,title:^(cava.*)$ +windowrule = size 1024 600,title:^(cava.*)$ +windowrule = move 100% 100%,title:^(cava.*)$ + # handle browsers # windowrule = float, class:^(firefox.*)$ windowrule = maxsize 1680 1200, class:^(firefox.*)$ @@ -61,7 +67,7 @@ windowrule = float, opacity 1.0 override 0.8 override, class:^(popup)$ windowrule = pseudo, class:^(ncmpcpp)$ windowrule = workspace 4, class:^(ncmpcpp)$ windowrule = noinitialfocus, class:^(ncmpcpp)$ -windowrule = maxsize 60% 80%, class:^(ncmpcpp)$ +# windowrule = maxsize 60% 80%, class:^(ncmpcpp)$ windowrule = float, stayfocused, center, opacity 1.0 override, class:^(kakpopup)$ # handle other clients @@ -123,3 +129,4 @@ windowrule = idleinhibit always, tag:game windowrule = fullscreenstate 2 3, tag:game windowrule = fullscreen, tag:game # windowrule = immediate, tag:game #experimental + diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 6f39efff..e6880ef3 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -122,24 +122,27 @@ decoration { # screen_shader = ~/.config/hypr/shaders/bluefilter.frag blur { enabled = true - size = 8 + special = true + popups = false + size = 3 passes = 1 - noise = 0.0117 - brightness = 0.8172 + noise = 0.0317 contrast = 0.8916 + brightness = 0.7172 vibrancy = 0.1696 + vibrancy_darkness = 0.1 ignore_opacity = true } shadow { enabled = true - range = 8 - render_power = 2 + range = 20 + render_power = 3 sharp = false ignore_window = true - color = 0xee$base00 - color_inactive = 0x81$base02 - offset = 0, 0 - scale = 1.00 + color = 0xee$base01 + color_inactive = 0xee$base01 + offset = 1, 1 + scale = 0.9992 } } -- 2.51.2