This commit is contained in:
nm1 2026-11-04 00:33:23 +05:30
commit 74ae93a96e

View file

@ -0,0 +1,17 @@
Terminal instances
- To launch terminal with command cmus and window title as cmus
`xfce4-terminal --title="cmus" --command="cmus"`
Now this can be saved in .sh file and then executed as desktop entry [Desktop Entry]
- For konsole terminal emulator
`konsole --hold -e bash -c "sleep 1 && echo -ne '\033]30;cmus\007' && cmus"`
- For tmux
```bash
# Start a new tmux session named "my-cli-session"
tmux new-session -d -s cmus "cmus"
# Run your CLI tool command in the new tmux session
tmux send-keys -t cmus "cmus" Enter
```