feat(gtk): force dark color scheme for ryu device

This commit is contained in:
uttarayan21
2025-12-06 03:36:58 +05:30
parent 7dcb0df9b8
commit 0b1924359e
4 changed files with 9 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
lib.optionalAttrs (device.is "ryu") { lib.optionalAttrs (device.is "ryu") {
gtk = { gtk = {
enable = device.is "ryu"; enable = device.is "ryu";
colorScheme = lib.mkForce "dark";
theme = { theme = {
name = "catppuccin-mocha-mauve-standard+normal"; name = "catppuccin-mocha-mauve-standard+normal";
package = pkgs.catppuccinThemes.gtk; package = pkgs.catppuccinThemes.gtk;
@@ -38,5 +39,7 @@ lib.optionalAttrs (device.is "ryu") {
# pkgs.catppuccinThemes.gtk # pkgs.catppuccinThemes.gtk
pkgs.catppuccinThemes.papirus-folders pkgs.catppuccinThemes.papirus-folders
]; ];
# stylix.targets.gtk.enable = false;
stylix.targets.gtk.enable = false; stylix.targets.gtk.enable = false;
stylix.targets.gnome.enable = false;
} }

View File

@@ -25,7 +25,7 @@
nautilus nautilus
totem totem
ffmpegthumbnailer ffmpegthumbnailer
polkit_gnome # polkit_gnome
seahorse seahorse
signal-desktop signal-desktop
# sony-headphones-client # sony-headphones-client

View File

@@ -8,11 +8,13 @@ lib.optionalAttrs (device.is "ryu") {
xdg.portal = { xdg.portal = {
enable = pkgs.stdenv.isLinux; enable = pkgs.stdenv.isLinux;
config = { config = {
hyprland.default = ["hyprland" "kde"]; hyprland.default = ["kde" "hyprland"];
common.default = ["*" "hyprland"];
}; };
extraPortals = with pkgs; [ extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
kdePackages.xdg-desktop-portal-kde kdePackages.xdg-desktop-portal-kde
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
]; ];
}; };
} }

View File

@@ -22,7 +22,7 @@
programs = { programs = {
hyprland = { hyprland = {
enable = true; enable = true;
# withUWSM = true; withUWSM = true;
xwayland.enable = true; xwayland.enable = true;
}; };
}; };