summaryrefslogtreecommitdiff
path: root/.old/settitle
diff options
context:
space:
mode:
Diffstat (limited to '.old/settitle')
-rwxr-xr-x.old/settitle4
1 files changed, 4 insertions, 0 deletions
diff --git a/.old/settitle b/.old/settitle
new file mode 100755
index 0000000..7cdd7d1
--- /dev/null
+++ b/.old/settitle
@@ -0,0 +1,4 @@
+#!/bin/sh
+xdotool set_window --class "$2" $(xdotool search --pid $1) # command chaining doesnt work for some reason
+#xdotool getactivewindow set_window --class "$1"
+#[ -z "$2" ] && echo -n "\e]0;$2\a"