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
This commit is contained in:
Don Williams
2025-08-07 22:36:37 -04:00
parent e22842f58b
commit e6e6f52d89
2 changed files with 11 additions and 10 deletions

View File

@@ -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";
};

View File

@@ -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)?)$"