From 0b1924359ebbfeb5fc096a77f01f87a484d6fc40 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sat, 6 Dec 2025 03:36:58 +0530 Subject: [PATCH] feat(gtk): force dark color scheme for ryu device --- home/services/gtk.nix | 3 +++ home/services/gui.nix | 2 +- home/services/xdg.nix | 6 ++++-- nixos/ryu/configuration.nix | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/home/services/gtk.nix b/home/services/gtk.nix index 4f010584..96e53209 100644 --- a/home/services/gtk.nix +++ b/home/services/gtk.nix @@ -7,6 +7,7 @@ lib.optionalAttrs (device.is "ryu") { gtk = { enable = device.is "ryu"; + colorScheme = lib.mkForce "dark"; theme = { name = "catppuccin-mocha-mauve-standard+normal"; package = pkgs.catppuccinThemes.gtk; @@ -38,5 +39,7 @@ lib.optionalAttrs (device.is "ryu") { # pkgs.catppuccinThemes.gtk pkgs.catppuccinThemes.papirus-folders ]; + # stylix.targets.gtk.enable = false; stylix.targets.gtk.enable = false; + stylix.targets.gnome.enable = false; } diff --git a/home/services/gui.nix b/home/services/gui.nix index ce445deb..22af95e8 100644 --- a/home/services/gui.nix +++ b/home/services/gui.nix @@ -25,7 +25,7 @@ nautilus totem ffmpegthumbnailer - polkit_gnome + # polkit_gnome seahorse signal-desktop # sony-headphones-client diff --git a/home/services/xdg.nix b/home/services/xdg.nix index 2eb53d86..17b7051a 100644 --- a/home/services/xdg.nix +++ b/home/services/xdg.nix @@ -8,11 +8,13 @@ lib.optionalAttrs (device.is "ryu") { xdg.portal = { enable = pkgs.stdenv.isLinux; config = { - hyprland.default = ["hyprland" "kde"]; + hyprland.default = ["kde" "hyprland"]; + common.default = ["*" "hyprland"]; }; extraPortals = with pkgs; [ - xdg-desktop-portal-hyprland kdePackages.xdg-desktop-portal-kde + xdg-desktop-portal-hyprland + xdg-desktop-portal-gtk ]; }; } diff --git a/nixos/ryu/configuration.nix b/nixos/ryu/configuration.nix index 4d8a6a55..b6056915 100644 --- a/nixos/ryu/configuration.nix +++ b/nixos/ryu/configuration.nix @@ -22,7 +22,7 @@ programs = { hyprland = { enable = true; - # withUWSM = true; + withUWSM = true; xwayland.enable = true; }; };