hyprland: add 1password quick access bind

hyprland: add 1password quick access bind
This commit is contained in:
ooks-io 2024-11-13 12:53:54 +11:00
parent 0b671a4752
commit 0d83bc4c2c
3 changed files with 6 additions and 1 deletions

View file

@ -20,6 +20,7 @@ in {
powerMenu = mkBind "No power menu is enabled"; powerMenu = mkBind "No power menu is enabled";
lock = mkBind "No screen locker enabled"; lock = mkBind "No screen locker enabled";
password = mkBind "No password manager enabled"; password = mkBind "No password manager enabled";
quickpass = mkBind "1Password module is not enabled";
zellijMenu = mkBind "Zellij Menu is not enabled"; zellijMenu = mkBind "Zellij Menu is not enabled";
factorio = mkBind "Gaming module is not enabled"; factorio = mkBind "Gaming module is not enabled";
volume = { volume = {

View file

@ -8,6 +8,7 @@ in {
"SUPER, return, exec, ${binds.terminal}" "SUPER, return, exec, ${binds.terminal}"
"SUPER, e, exec, ${binds.terminalLaunch} $EDITOR" "SUPER, e, exec, ${binds.terminalLaunch} $EDITOR"
"SUPERSHIFT, P, exec, ${binds.password}" "SUPERSHIFT, P, exec, ${binds.password}"
"SUPERCTRL, P, exec, ${binds.quickpass}"
"SUPER, d, exec, ${binds.discord}" "SUPER, d, exec, ${binds.discord}"
"SUPERSHIFT, e, exec, ${binds.fileManager}" "SUPERSHIFT, e, exec, ${binds.fileManager}"
"SUPERSHIFT, S, exec, ${binds.steam}" "SUPERSHIFT, S, exec, ${binds.steam}"

View file

@ -7,6 +7,9 @@
cfg = osConfig.programs._1password; cfg = osConfig.programs._1password;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
ooknet.binds.password = "1password"; ooknet.binds = {
password = "1password";
quickpass = "1password --quick-access";
};
}; };
} }