mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 16:58:34 -05:00
44 lines
860 B
Nix
44 lines
860 B
Nix
{...}: {
|
|
services.darkman = {
|
|
enable = true;
|
|
settings = {
|
|
usegeoclue = true;
|
|
};
|
|
|
|
lightModeScripts = {
|
|
fish = ''
|
|
fish -c 'yes | fish_config theme save "Rosé Pine Dawn"'
|
|
'';
|
|
|
|
gtk-theme = ''
|
|
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-light"'
|
|
'';
|
|
|
|
noctalia = ''
|
|
noctalia-shell ipc call darkMode setLight
|
|
'';
|
|
|
|
dankshell = ''
|
|
dms ipc call theme light
|
|
'';
|
|
};
|
|
|
|
darkModeScripts = {
|
|
gtk-theme = ''
|
|
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-dark"'
|
|
'';
|
|
|
|
noctalia = ''
|
|
noctalia-shell ipc call darkMode setDark
|
|
'';
|
|
|
|
dankshell = ''
|
|
dms ipc call theme dark
|
|
'';
|
|
|
|
fish = ''
|
|
fish -c 'yes | fish_config theme save "Rosé Pine"'
|
|
'';
|
|
};
|
|
};
|
|
}
|