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 2014-12-23 23:07:20 +0000

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 :(

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-12-26 17:50:27 +0000

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? :)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-12-23 23:07:20 +0000

Seen: 273 times

Last updated: Dec 26 '14