1. Set the custom keyboard shortcut sh -c 'pgrep -i keepassxc > /dev/null || keepassxc' to Alt+V
  2. Keep KeePassXC’s default autotype prompt keybinding, which is Alt+V

One disables the other. I thought that going the grep route might make the program opener conditionally inactive, but apparently that’s not doing anything. I would really like to avoid using a separate keybinding if possible. Otherwise, I guess I’d just have to have it open on launch.

  • Flagstaff@programming.devOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 hours ago

    Wow, it works; you’re a genius!!! Thanks so much!!! Hmm, Lemmy doesn’t seem to have post flair, but it does allow title-editing, so I’ll just update the post title, haha.

    @HelloRoot@lemy.lol, it is actually failing after all. It only pulls up the auto-type window the first time. Then it only summons the main window from thereafter until it closes…

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      Yeah you probably have to play around with the flags to debug it. I can not look into it right now