move i3blocks to automatically be installed

This commit is contained in:
David Todd
2020-03-26 11:10:00 -05:00
parent 599818efcc
commit acf1be884a
12 changed files with 0 additions and 0 deletions

8
bin/i3blocks/window Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
ACTIVE_WINDOW=$(xprop -id $(xprop -root _NET_ACTIVE_WINDOW | cut -d ' ' -f 5) WM_NAME | cut -d '"' -f 2)
if [[ "${ACTIVE_WINDOW}" != "" ]]; then
echo "${ACTIVE_WINDOW}"
echo ""
fi