From e6e6f52d89b80aa7dc9cd8538efa3c2e6f8b9a22 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Thu, 7 Aug 2025 22:36:37 -0400 Subject: [PATCH] Updated window rule for resolve On branch main Your branch is up to date with 'origin/main'. Changes to be committed: modified: modules/core/system.nix modified: modules/home/hyprland/windowrules.nix --- modules/core/system.nix | 11 +++++------ modules/home/hyprland/windowrules.nix | 10 ++++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/modules/core/system.nix b/modules/core/system.nix index c24ff7a..ab8f878 100644 --- a/modules/core/system.nix +++ b/modules/core/system.nix @@ -1,8 +1,6 @@ -{ host, ... }: -let +{host, ...}: let inherit (import ../../hosts/${host}/variables.nix) consoleKeyMap; -in -{ +in { nix = { settings = { download-buffer-size = 250000000; @@ -11,8 +9,8 @@ in "nix-command" "flakes" ]; - substituters = [ "https://hyprland.cachix.org" ]; - trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; + substituters = ["https://hyprland.cachix.org"]; + trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; }; }; time.timeZone = "America/Chicago"; @@ -29,6 +27,7 @@ in LC_TIME = "en_US.UTF-8"; }; environment.variables = { + NIXOS_OZONE_WL = "1"; ZANEYOS_VERSION = "2.4"; ZANEYOS = "true"; }; diff --git a/modules/home/hyprland/windowrules.nix b/modules/home/hyprland/windowrules.nix index 982645e..de846b1 100644 --- a/modules/home/hyprland/windowrules.nix +++ b/modules/home/hyprland/windowrules.nix @@ -1,14 +1,16 @@ -{ host, ... }: -let +{host, ...}: let inherit (import ../../../hosts/${host}/variables.nix) extraMonitorSettings ; -in -{ +in { wayland.windowManager.hyprland = { settings = { windowrule = [ + #"noblur, xwayland:1" # Helps prevent odd borders/shadows for xwayland apps + # downside it can impact other xwayland apps + # This rule is a template for a more targeted approach + "noblur, class:^(\bresolve\b)$, xwayland:1" # Window rule for just resolve "tag +file-manager, class:^([Tt]hunar|org.gnome.Nautilus|[Pp]cmanfm-qt)$" "tag +terminal, class:^(com.mitchellh.ghostty|org.wezfurlong.wezterm|Alacritty|kitty|kitty-dropterm)$" "tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$"