From 122a4c6cd84fc8e1be33d178cc45098eed5f7d5d Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Tue, 30 Sep 2025 00:11:39 +0200 Subject: [PATCH] fix hyprland opacities --- home-modules/hyprland.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix index 05bf154..4d352ff 100644 --- a/home-modules/hyprland.nix +++ b/home-modules/hyprland.nix @@ -1,5 +1,4 @@ -{ pkgs, ... }@all: with all; -let +{ pkgs, ... }@all: with all; let animation-speed = "5"; transparency = builtins.toString rice.transparency; terminal = "ghostty"; @@ -14,12 +13,11 @@ let left = { name = "desc:Philips Consumer Electronics Company 273PLPH AU11423002132"; resolution = "1920x1080"; position = "0x0"; scale = "1.0"; }; # right = { name = "HDMI-A-2"; resolution = "1920x1080"; position = "4480x360"; scale = "1.0"; }; }; - ace = { - main = { name = "HDMI-A-1"; resolution = "3840x2160"; position = "0x0"; scale = "2.0"; }; - }; + ace.main = { name = "HDMI-A-1"; resolution = "3840x2160"; position = "0x0"; scale = "2.0"; }; }; in { home.packages = with pkgs; [ + xdg-desktop-portal-hyprland hyprland-protocols hyprlock hypridle @@ -256,16 +254,16 @@ in { "opacity ${transparency}, class:^(Code)$" "opacity ${transparency}, class:^(code-oss)$" "opacity ${transparency}, class:^(discord)$" - "opacity ${transparency}, class:^(vesktop)$" + # "opacity ${transparency}, class:^(vesktop)$" # "opacity ${transparency}, class:^(Element)$" "opacity ${transparency}, class:^(lutris)$" "opacity ${transparency}, class:^(neovide)$" # "opacity ${transparency}, class:^(obsidian)$" - "opacity ${transparency}, class:^(vesktop)$" "opacity ${transparency}, class:^(VSCodium)$" "opacity ${transparency}, title:^(wlogout)$" "opaque, title:^(GNU Image Manipulation Program)$" + "opaque, fullscreen:1" "pin, title:^(Picture-in-Picture)$"