Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List windows apps #35

Open
ahmed-shariff opened this issue Nov 18, 2024 · 1 comment
Open

List windows apps #35

ahmed-shariff opened this issue Nov 18, 2024 · 1 comment

Comments

@ahmed-shariff
Copy link

Love the package!
I use emacs on Windows a lot. I have the following to be able to use the "Apps" sources on Windows:

  (when (eq system-type 'windows-nt)
    (setq consult-omni-apps-paths (-non-nil
                                   (append (list (file-truename "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs"))
                                           (f-directories (file-truename "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs") nil t)
                                           (-map #'file-truename (s-split ";" (getenv "path")))))
          consult-omni-apps-regexp-pattern "\\(.*\\.exe$\\|.*\\.lnk$\\)"
          consult-omni-apps-open-command-args "start"))

If this is something you'd be interested in adding to the package, I can submit a PR for it.

@ahmed-shariff
Copy link
Author

Well, it doesn't always work.......
I'll keep iterating on this and leave this here for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant