From b184782970853b3c479f6c4ad833a36a3aea7afa Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sun, 10 May 2020 21:13:46 -0400 Subject: mega update --- i3blocks-title.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 i3blocks-title.sh (limited to 'i3blocks-title.sh') diff --git a/i3blocks-title.sh b/i3blocks-title.sh new file mode 100755 index 0000000..cce4fc4 --- /dev/null +++ b/i3blocks-title.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +name=$(xdotool getactivewindow getwindowname) +[ -n "$name" ] && printf "%s\n" "$(xdotool getactivewindow getwindowname)" -- cgit v1.2.3