desktop/gnome: better theming
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
osConfig,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
@ -40,6 +41,30 @@ in {
|
|||||||
{package = pkgs.gnomeExtensions.pano;}
|
{package = pkgs.gnomeExtensions.pano;}
|
||||||
{package = pkgs.gnomeExtensions.window-is-ready-remover;}
|
{package = pkgs.gnomeExtensions.window-is-ready-remover;}
|
||||||
];
|
];
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
iconTheme = let
|
||||||
|
name =
|
||||||
|
if (lib.strings.hasPrefix "gruvbox" osConfig.module.stylix.theme)
|
||||||
|
then "Gruvbox-Plus-Dark"
|
||||||
|
else if config.stylix.polarity == "dark"
|
||||||
|
then "Papirus-Dark"
|
||||||
|
else "Papirus-Light";
|
||||||
|
package =
|
||||||
|
if (lib.strings.hasPrefix "gruvbox" osConfig.module.stylix.theme)
|
||||||
|
then pkgs.gruvbox-plus-icons
|
||||||
|
else if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme)
|
||||||
|
then pkgs.papirus-icon-theme.override {color = "indigo";}
|
||||||
|
else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme)
|
||||||
|
then pkgs.papirus-icon-theme.override {color = "nordic";}
|
||||||
|
else pkgs.papirus-icon-theme;
|
||||||
|
in {inherit name package;};
|
||||||
|
};
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme.name = lib.mkForce "adwaita";
|
||||||
|
};
|
||||||
|
|
||||||
dconf.settings = with lib.hm.gvariant; {
|
dconf.settings = with lib.hm.gvariant; {
|
||||||
"org/gnome/desktop/a11y/applications" = {
|
"org/gnome/desktop/a11y/applications" = {
|
||||||
screen-reader-enabled = false;
|
screen-reader-enabled = false;
|
||||||
@ -59,7 +84,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
accent-color = "slate";
|
# accent-color = "slate";
|
||||||
clock-show-seconds = true;
|
clock-show-seconds = true;
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
enable-animations = true;
|
enable-animations = true;
|
||||||
|
Reference in New Issue
Block a user