Skip to content

qterminal --execute ncmpc should change window title #478

Description

@concatime

Using qterminal --execute ncmpc, I've found that the window title is Shell No. 1.
I'm using i3 and I need to be able to run a cli app inside a terminal and assign it a proper workspace.
For this, the window should be identifiable (for example, xterm -name nvlc -e nvlc).

Expected Behavior

Title is ncmpc <directory>

Current Behavior

Title is Shell No. 1

Steps to Reproduce (for bugs)
  1. qterminal --execute nvim
    WM_NAME(STRING) = "ncmpc /home/issam"
Context

Assign nvim to workspace X and ncmpc to workspace Y.

System Information
  • Distribution & Version: Arch
  • Kernel: 4.18.5-arch1-1-ARCH
  • Qt Version: Qt version 5.11.1 in /usr/lib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions