feat(hyprland): migrate session feature bindings

This commit was merged in pull request #158.
This commit is contained in:
2026-10-11 16:52:29 -04:00
parent 4360f4863b
commit 6b7201e6fa
3 changed files with 44 additions and 25 deletions

View File

@@ -14,6 +14,14 @@ in
options.modules.desktop.session.mako.enable = lib.mkEnableOption "the mako notification daemon";
config = lib.mkIf config.modules.desktop.session.mako.enable {
registry.keybind.${config.networking.hostName}.mako-history = {
keys = "SUPER + N";
action = {
kind = "exec";
command = "${makoctl} restore";
};
};
home-manager.users.${user} = {
# Colors and the popup font come from Stylix's mako target, so only
# behaviour is set here.
@@ -32,14 +40,6 @@ in
};
};
# Recall the last notification from history, keyboard-only like the rest
# of the session.
# $mod is defined by the compositor config these binds share.
/*
wayland.windowManager.hyprland.settings.bind = [
"$mod, N, exec, ${makoctl} restore"
];
*/
};
};
}