Add hyprland theming

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-26 13:31:12 +03:00
parent d9a3936d51
commit c1ad1ee640
8 changed files with 88 additions and 45 deletions

View File

@@ -8,16 +8,10 @@ in
home-manager.users."${user.name}" = {
theme.enable = true;
wayland.windowManager.hyprland = {
initExtraConfig = ''
${themeBin} &
'';
settings.bind = [
"CTRL_ALT, r, exec, ${themeBin}"
"CTRL_ALT, t, exec, ${themeBin} toggle"
];
};
wayland.windowManager.hyprland.settings.bind = [
"CTRL_ALT, r, exec, ${themeBin}"
"CTRL_ALT, t, exec, ${themeBin} toggle"
];
home = {
activation.themeInit = inputs.home-manager.lib.hm.dag.entryAfter [ "writeBoundary" ] ''