Skip to content

add option to print path to .desktop file#214

Open
EmmChriss wants to merge 1 commit intophilj56:masterfrom
EmmChriss:master
Open

add option to print path to .desktop file#214
EmmChriss wants to merge 1 commit intophilj56:masterfrom
EmmChriss:master

Conversation

@EmmChriss
Copy link
Copy Markdown

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