Skip to content

Expand fields in terminal command #169

@remko

Description

@remko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions