From 062aacd003a2fdbb12d1269d429cffe68828eab3 Mon Sep 17 00:00:00 2001 From: elwrcl Date: Mon, 6 Apr 2026 21:44:25 +0300 Subject: [PATCH] update --- home/default.nix | 13 +++++++++++++ home/hypr/hyprland/rules.nix | 5 ++--- nixos/desktop/window-managers/hyprland.nix | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/home/default.nix b/home/default.nix index be8c1b3..ba3b23d 100644 --- a/home/default.nix +++ b/home/default.nix @@ -55,4 +55,17 @@ programs.home-manager.enable = true; fonts.fontconfig.enable = true; services.kdeconnect.enable = true; + + xdg.mimeApps = { + enable = true; + defaultApplications = { + "inode/directory" = [ "org.gnome.Nautilus.desktop" ]; + }; + }; + + dconf.settings = { + "org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + }; + }; } diff --git a/home/hypr/hyprland/rules.nix b/home/hypr/hyprland/rules.nix index d7c8b9b..eccd483 100644 --- a/home/hypr/hyprland/rules.nix +++ b/home/hypr/hyprland/rules.nix @@ -16,9 +16,8 @@ "pin on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$" "keep_aspect_ratio on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$" "immediate on, match:class ^(steam_app).*" - "float off, match:class ^(steam)$, match:title ^Steam$" - "float on, match:class ^(steam)$, match:title ^(?!Steam$).*" - "center on, match:class ^(steam)$, match:title ^(?!Steam$).*" + "float on, match:class ^(steam)$" + "float off, match:class ^(steam)$, match:title ^(Steam)$" ]; }; } \ No newline at end of file diff --git a/nixos/desktop/window-managers/hyprland.nix b/nixos/desktop/window-managers/hyprland.nix index b10c15e..b98d874 100644 --- a/nixos/desktop/window-managers/hyprland.nix +++ b/nixos/desktop/window-managers/hyprland.nix @@ -8,7 +8,7 @@ xdg.portal = { enable = true; - extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; + extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ]; config.common.default = "*"; };