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

Expand fields in terminal command #169

Open
remko opened this issue May 22, 2024 · 0 comments · May be fixed by #206
Open

Expand fields in terminal command #169

remko opened this issue May 22, 2024 · 0 comments · May be fixed by #206

Comments

@remko
Copy link

remko commented May 22, 2024

When an application requires a terminal in drun mode, I want to be able to distinguish the different terminals in my window manager. The solution i'm thinking of is allowing field expansion in the terminal configuration, just as they are expanded in the Exec of the desktop file.

For example, I could set the app_id and title based on the name of the application:

terminal=foot --app-id=%c --title=%c

I could then use this in my Sway configuration to move the terminal to the correct desktop:

[app_id="aerc"] move container to workspace $ws5; workspace $ws5
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 a pull request may close this issue.

1 participant