From 0a765ae78162a9c7bbcc7f7936c0878717d925c8 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Thu, 11 Sep 2025 07:49:47 -0400 Subject: [PATCH] rework 1password bindings and window rules --- dot_config/hypr/bindings.conf | 5 +++-- dot_config/hypr/windows.conf | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dot_config/hypr/bindings.conf b/dot_config/hypr/bindings.conf index ced88fd..3d5bd11 100644 --- a/dot_config/hypr/bindings.conf +++ b/dot_config/hypr/bindings.conf @@ -36,9 +36,10 @@ bindd = CTRL, PRINT, Screenshot of display, exec, ~/.local/bin/freezeshot output # create a new workspace bindd = SUPER, grave, Create a mew workspace, exec, ~/.local/bin/new-workspace -# keybinds for special workspaces +# keybinds for background apps bindd = SUPER, S, Show/hide Slack, togglespecialworkspace, slack -bindd = SUPER, period, Show/hide 1Password, togglespecialworkspace, 1password +bindd = SUPER, period, 1Password quick access, exec, 1password --quick-access +bindd = SUPER CTRL, period, Show/hide 1Password, togglespecialworkspace, 1password bindd = SUPER, Z, Show Creddy, exec, creddy shortcut show-window # I'm used to super+L to lock screen diff --git a/dot_config/hypr/windows.conf b/dot_config/hypr/windows.conf index 726125e..2e37714 100644 --- a/dot_config/hypr/windows.conf +++ b/dot_config/hypr/windows.conf @@ -10,5 +10,9 @@ windowrule = monitor 2, class:creddy windowrule = workspace special:slack, class:Slack -windowrule = workspace special:1password, class:1Password +# excluding floating windows allows the unlock and quick-access popups to show in any workspace +windowrule = workspace special:1password, class:1Password, floating:0 +# quick-access popup doesn't resize automatically when its content changes +# windowrule = size 550 404, class:1Password, title:Quick.* +windowrule = persistentsize, class:1Password, title:Quick.*