Created
June 25, 2016 15:19
-
-
Save mnlwldr/ad3002443ef479e691eb67355944b18c to your computer and use it in GitHub Desktop.
Show the current active Window for i3blocks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[window_name] | |
command=xprop -id $(xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}') | awk '/_NET_WM_NAME/{$1=$2="";print}' | cut -d'"' -f2 | |
interval=1 | |
color=#ffffff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment