From c8a476d2afefc4ea3da12cd5f1741edc0fe02c20 Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 1 Jun 2026 17:37:11 +0200 Subject: [PATCH] fix(niri): correct window opacity rules and align theming to CyberQueer palette MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace invalid min-opacity with opacity in niri window rules; reorder global rule before per-app overrides so last-match-wins works correctly - dunst: frame_color #aaaaaa → #5018DD, icon_theme → Papirus-Dark - eww: bar and slider colors aligned to CyberQueer #D6ABAB text color Co-Authored-By: Claude Sonnet 4.6 --- desktopenvs/hyprlua/dunst/dunstrc | 4 ++-- desktopenvs/hyprlua/eww/eww.scss | 4 ++-- desktopenvs/niri/niri/config.kdl | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/desktopenvs/hyprlua/dunst/dunstrc b/desktopenvs/hyprlua/dunst/dunstrc index dc2970b..6e6d9ea 100644 --- a/desktopenvs/hyprlua/dunst/dunstrc +++ b/desktopenvs/hyprlua/dunst/dunstrc @@ -107,7 +107,7 @@ frame_width = 3 # Defines color of the frame around the notification window. - frame_color = "#aaaaaa" + frame_color = "#5018DD" # Size of gap to display between notifications - requires a compositor. # If value is greater than 0, separator_height will be ignored and a border @@ -218,7 +218,7 @@ enable_recursive_icon_lookup = true # Set icon theme (only used for recursive icon lookup) - icon_theme = "Adwaita, breeze" + icon_theme = "Papirus-Dark, Adwaita" # You can also set multiple icon themes, with the leftmost one being used first. # icon_theme = "Adwaita, breeze" diff --git a/desktopenvs/hyprlua/eww/eww.scss b/desktopenvs/hyprlua/eww/eww.scss index da979e2..588671d 100644 --- a/desktopenvs/hyprlua/eww/eww.scss +++ b/desktopenvs/hyprlua/eww/eww.scss @@ -16,7 +16,7 @@ tooltip { // Global Styles .bar { - color: #b0b4bc; + color: #D6ABAB; padding: 10px; } @@ -24,7 +24,7 @@ tooltip { .sidestuff slider { all: unset; - color: #ffd5cd; + color: #D6ABAB; } .metric scale trough highlight { diff --git a/desktopenvs/niri/niri/config.kdl b/desktopenvs/niri/niri/config.kdl index ab52852..3dbf5ad 100644 --- a/desktopenvs/niri/niri/config.kdl +++ b/desktopenvs/niri/niri/config.kdl @@ -208,6 +208,11 @@ window-rule { default-column-width { fixed 900; } } +// Global window dimming — all windows at 85% opacity by default +window-rule { + opacity 0.85 +} + // Firefox — no transparency window-rule { match app-id=r"^firefox$" @@ -219,15 +224,10 @@ window-rule { opacity 1.0 } -// Global inactive window dimming -window-rule { - min-opacity 0.85 -} - // Screen sharing / video — exclude from dimming window-rule { match app-id=r"^vesktop$" - min-opacity 1.0 + opacity 1.0 } // ── Keybindings ───────────────────────────────────────────────────────────────