nix/stylix/themes/gruvbox/home-manager/plasma6.nix
2024-09-24 21:58:47 +09:00

20 lines
560 B
Nix

{ lib, ... }: {
programs.bash.sessionVariables = {
GTK_THEME = lib.mkForce "Gruvbox-Dark"; # To set the firefox theme
};
programs.fish.shellInit = lib.mkForce ''
set GTK_THEME "Gruvbox-Dark"
'';
services.darkman = {
darkModeScripts = {
apply-colorscheme-dark = lib.mkForce ''
/run/current-system/sw/bin/plasma-apply-colorscheme Gruvbox
'';
};
lightModeScripts = {
apply-colorscheme-light = lib.mkForce ''
/run/current-system/sw/bin/plasma-apply-colorscheme BreezeLight
'';
};
};
}