Override GTK accent colour

Set scheme polarity to "light"
This commit is contained in:
Evie Litherland-Smith 2024-10-25 14:47:54 +01:00
parent 8fe0391deb
commit 77f4eba566
3 changed files with 23 additions and 18 deletions

View file

@ -210,6 +210,7 @@
enable = true; enable = true;
image = ./home/desktop/wallpapers/default.jpg; image = ./home/desktop/wallpapers/default.jpg;
base16Scheme = "${pkgs.base16-schemes}/share/themes/one-light.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/one-light.yaml";
polarity = "light";
opacity.popups = 0.8; opacity.popups = 0.8;
cursor = { cursor = {
package = pkgs.volantes-cursors; package = pkgs.volantes-cursors;

View file

@ -9,15 +9,18 @@
./browser/default.nix ./browser/default.nix
./zathura/default.nix ./zathura/default.nix
]; ];
home.packages = with pkgs; [ home = {
wl-clipboard packages = with pkgs; [
g4music wl-clipboard
remmina g4music
webcord remmina
signal-desktop webcord
whatsapp-for-linux signal-desktop
nomachine-client whatsapp-for-linux
]; nomachine-client
];
file.${config.gtk.gtk2.configLocation}.force = true;
};
services.syncthing.enable = true; services.syncthing.enable = true;
programs.mpv.enable = true; programs.mpv.enable = true;
gtk = { gtk = {
@ -28,6 +31,10 @@
name = "Papirus-Light"; name = "Papirus-Light";
}; };
}; };
stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''
@define-color accent_color ${base0E-hex};
@define-color accent_bg_color ${base0E-hex};
'';
xdg = { xdg = {
mime.enable = true; mime.enable = true;
mimeApps = mimeApps =

View file

@ -7,15 +7,12 @@
{ {
stylix.targets.kde.enable = false; stylix.targets.kde.enable = false;
imports = [ inputs.plasma-manager.homeManagerModules.plasma-manager ]; imports = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
home = { home.packages = with pkgs; [
packages = with pkgs; [ protonmail-bridge-gui
protonmail-bridge-gui libreoffice-qt-fresh
libreoffice-qt-fresh rc2nix
rc2nix wl-clipboard
wl-clipboard ];
];
file.${config.gtk.gtk2.configLocation}.force = true; # Stop clashing with KDE
};
services.gpg-agent.pinentryPackage = pkgs.pinentry-qt; services.gpg-agent.pinentryPackage = pkgs.pinentry-qt;
programs.plasma = { programs.plasma = {
enable = true; enable = true;