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

add option to print path to .desktop file #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EmmChriss
Copy link

In drun mode, there is currently no way to know which .desktop file was selected. Printing only the Exec= line is useful by default, but not useful for every use-case. For ex. I need this to launch programs with uwsm.

This PR adds a cmdline flag --drun-print-desktop, which, instead of printing the Exec= line, prints the path to the .desktop file.

--drun-launch still takes precedence and no modification was made to how tofi functions by default, so this is unlikely to break anything.

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

Successfully merging this pull request may close these issues.

1 participant