The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

KeePassX in scratchpad with keybind toggle

asked Dec 23 '14

stibi gravatar image

Hi guys, I want to have keepassx hidden in scratchpad, so it's available on any workspace via keybind. So I did this:

for_window [instance="scratchpad"] move scratchpad
bindsym $mod+k [class="(?i)keepassx" instance="scratchpad"] scratchpad show
exec --no-startup-id keepassx -name scratchpad

Works nice, with one problem. Any dialog window from keepassx is moved to scratchpad when it's opened, for example when editing an entry, setting dialog or something.... So I have to press mod+K to bring it up. That's not comfortable…

Do you have any idea? The keepassx main or dialog window doesn't have the WMWINDOWROLE property, so I can't filter the dialog windows :(

1 answer

Sort by » oldest newest most voted
0

answered Dec 26 '14

Michael gravatar image

I think your best bet is to convince the keepassx devs to set the WM_WINDOW_ROLE hint. Perhaps send a patch? :)

Question Tools

1 follower

Stats

Asked: Dec 23 '14

Seen: 273 times

Last updated: Dec 26 '14