summaryrefslogtreecommitdiff
path: root/i3blocks-title.sh
blob: cce4fc41bfe1f76d8b2b54747c98716dc9fda4cd (plain) (blame)
1
2
3
4
#!/bin/sh

name=$(xdotool getactivewindow getwindowname)
[ -n "$name" ] && printf "%s\n" "$(xdotool getactivewindow getwindowname)"