Skip to content

Instantly share code, notes, and snippets.

@jjrh
Created July 12, 2016 16:22
Show Gist options
  • Save jjrh/7fab7f4aced8d0db6be1c66498e7b730 to your computer and use it in GitHub Desktop.
Save jjrh/7fab7f4aced8d0db6be1c66498e7b730 to your computer and use it in GitHub Desktop.
changes title of window
#!/bin/bash
xterm -geometry 80x4 -bg red -fg white -T "Enter New window title" -e 'printf "Enter new title:"; read title ; printf "click target window....\n"; wmctrl -r :SELECT: -T "$title" -N "$title"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment