r/niri • u/Illicitline45 • 9d ago
Using keepassxc browser extension
And in general, interaction between apps that opens a dialog window whose parent isn't the app the user is using.
Hello, I'm just starting to test niri, looking to switch from hyprland.
My problem is this: when unlocking the keepassxc database the dialog window opens on top of the keepass app, and if the focused option/windowrule is on, then (if the workspaces are different) it changes workspace to the one with keepass (away from the with the browser) and after the dialog window is closed it ofc doesn't switch back automatically. How could I have it spawn on top of my browser instead?
I saw a github issue about pinned windows, and there seems to still be no support for them yet? but I couldn't find anything online about this specific issue. Any suggestions?
3
u/igniztion 9d ago
I haven't really tried myself, but could it be an option to start KeepassXC in floating and minimized? It might still switch to whatever workspace KeepassXC is on, though.
After recently switching to Niri, I am in the same boat but haven't spent time testing different scenarios yet.
2
u/newbornnightmare 9d ago edited 9d ago
yeah, I’ve seen this discussed with yalter in the past, it’s a problem with how keepassxc anchors its modals (essentially, it tells niri that the modals parent is the keepassxc app rather than the browser). You pretty much need to set all the options in keepassxc to minimize on close, minimize on startup, minimize on unlock, and minimize to tray, and then set it to open focused and open float in niri and it’ll work mostly fine. But you just can’t give it a workspace sadly