From 0d83bc4c2c3ffe4927eed8aec7be6fb006accaa8 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Wed, 13 Nov 2024 12:53:54 +1100 Subject: [PATCH] hyprland: add 1password quick access bind hyprland: add 1password quick access bind --- modules/home/workstation/binds.nix | 1 + modules/home/workstation/hyprland/settings/binds.nix | 1 + modules/home/workstation/tools/1password.nix | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/home/workstation/binds.nix b/modules/home/workstation/binds.nix index 589ff86..5e906a7 100644 --- a/modules/home/workstation/binds.nix +++ b/modules/home/workstation/binds.nix @@ -20,6 +20,7 @@ in { powerMenu = mkBind "No power menu is enabled"; lock = mkBind "No screen locker enabled"; password = mkBind "No password manager enabled"; + quickpass = mkBind "1Password module is not enabled"; zellijMenu = mkBind "Zellij Menu is not enabled"; factorio = mkBind "Gaming module is not enabled"; volume = { diff --git a/modules/home/workstation/hyprland/settings/binds.nix b/modules/home/workstation/hyprland/settings/binds.nix index f579687..4040286 100644 --- a/modules/home/workstation/hyprland/settings/binds.nix +++ b/modules/home/workstation/hyprland/settings/binds.nix @@ -8,6 +8,7 @@ in { "SUPER, return, exec, ${binds.terminal}" "SUPER, e, exec, ${binds.terminalLaunch} $EDITOR" "SUPERSHIFT, P, exec, ${binds.password}" + "SUPERCTRL, P, exec, ${binds.quickpass}" "SUPER, d, exec, ${binds.discord}" "SUPERSHIFT, e, exec, ${binds.fileManager}" "SUPERSHIFT, S, exec, ${binds.steam}" diff --git a/modules/home/workstation/tools/1password.nix b/modules/home/workstation/tools/1password.nix index 735a67e..4b8a57d 100644 --- a/modules/home/workstation/tools/1password.nix +++ b/modules/home/workstation/tools/1password.nix @@ -7,6 +7,9 @@ cfg = osConfig.programs._1password; in { config = mkIf cfg.enable { - ooknet.binds.password = "1password"; + ooknet.binds = { + password = "1password"; + quickpass = "1password --quick-access"; + }; }; }