maybe fixing GTK/QT themeing?
This commit is contained in:
parent
f68c833638
commit
d0b7fc5853
2 changed files with 40 additions and 33 deletions
|
|
@ -32,7 +32,7 @@
|
||||||
config = {
|
config = {
|
||||||
common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||||
common.default = [ "gtk" "gnome" ];
|
common.default = [ "gtk" "gnome" ];
|
||||||
sway.default = [ "gtk" "gnome" ];
|
#sway.default = [ "gtk" "gnome" ];
|
||||||
hyprland.default = [ "hyprland" "gtk" "gnome" ];
|
hyprland.default = [ "hyprland" "gtk" "gnome" ];
|
||||||
};
|
};
|
||||||
configPackages = with pkgs; [
|
configPackages = with pkgs; [
|
||||||
|
|
@ -122,14 +122,14 @@
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
||||||
pointerCursor = {
|
#pointerCursor = {
|
||||||
gtk.enable = true;
|
#gtk.enable = true;
|
||||||
package = pkgs.bibata-cursors;
|
#package = pkgs.bibata-cursors;
|
||||||
name = "Bibata-Modern-Classic";
|
#name = "Bibata-Modern-Classic";
|
||||||
size = 12;
|
#size = 12;
|
||||||
};
|
#};
|
||||||
|
|
||||||
sessionVariables.GTK_THEME = "Adwaita-dark";
|
#sessionVariables.GTK_THEME = "Adwaita-dark";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
## auth/security
|
## auth/security
|
||||||
|
|
|
||||||
|
|
@ -1,27 +1,27 @@
|
||||||
# GTK & QT theme configuration
|
# GTK & QT theme configuration
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
accent = "#${config.theme.colors.color15}";
|
accent = "${config.theme.colors.color15}";
|
||||||
foreground = "#${config.theme.colors.primary-fg}";
|
foreground = "${config.theme.colors.primary-fg}";
|
||||||
background = "#${config.theme.colors.primary-bg}";
|
background = "${config.theme.colors.primary-bg}";
|
||||||
background-alt = "#${config.theme.colors.alt-bg}";
|
background-alt = "${config.theme.colors.alt-bg}";
|
||||||
|
|
||||||
c0 = "#${config.theme.colors.color0}";
|
c0 = "${config.theme.colors.color0}";
|
||||||
c1 = "#${config.theme.colors.color1}";
|
c1 = "${config.theme.colors.color1}";
|
||||||
c2 = "#${config.theme.colors.color2}";
|
c2 = "${config.theme.colors.color2}";
|
||||||
c3 = "#${config.theme.colors.color3}";
|
c3 = "${config.theme.colors.color3}";
|
||||||
c4 = "#${config.theme.colors.color4}";
|
c4 = "${config.theme.colors.color4}";
|
||||||
c5 = "#${config.theme.colors.color5}";
|
c5 = "${config.theme.colors.color5}";
|
||||||
c6 = "#${config.theme.colors.color6}";
|
c6 = "${config.theme.colors.color6}";
|
||||||
c7 = "#${config.theme.colors.color7}";
|
c7 = "${config.theme.colors.color7}";
|
||||||
c8 = "#${config.theme.colors.color8}";
|
c8 = "${config.theme.colors.color8}";
|
||||||
c9 = "#${config.theme.colors.color9}";
|
c9 = "${config.theme.colors.color9}";
|
||||||
c10 = "#${config.theme.colors.color10}";
|
c10 = "${config.theme.colors.color10}";
|
||||||
c11 = "#${config.theme.colors.color11}";
|
c11 = "${config.theme.colors.color11}";
|
||||||
c12 = "#${config.theme.colors.color12}";
|
c12 = "${config.theme.colors.color12}";
|
||||||
c13 = "#${config.theme.colors.color13}";
|
c13 = "${config.theme.colors.color13}";
|
||||||
c14 = "#${config.theme.colors.color14}";
|
c14 = "${config.theme.colors.color14}";
|
||||||
c15 = "#${config.theme.colors.color15}";
|
c15 = "${config.theme.colors.color15}";
|
||||||
in {
|
in {
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
|
|
@ -36,19 +36,26 @@ in {
|
||||||
theme = lib.mkForce { name = "FlatColor"; };
|
theme = lib.mkForce { name = "FlatColor"; };
|
||||||
|
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
package = pkgs.kora-icon-theme;
|
package = pkgs.flat-remix-icon-theme;
|
||||||
name = "Kora";
|
name = "Flat-Remix-Grey-Darkest";
|
||||||
};
|
};
|
||||||
|
|
||||||
font = {
|
font = { name = "${config.theme.font}"; };
|
||||||
name = "${config.theme.font}";
|
|
||||||
};
|
|
||||||
|
|
||||||
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
|
|
||||||
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sessionVariables.GTK_THEME = "FlatColor";
|
||||||
|
|
||||||
|
home.pointerCursor = {
|
||||||
|
gtk.enable = true;
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
name = "Bibata-Modern-Classic";
|
||||||
|
size = 12;
|
||||||
|
};
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".local/share/themes/FlatColor" = {
|
".local/share/themes/FlatColor" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue