mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 19:32:24 +00:00
8 lines
269 B
Bash
8 lines
269 B
Bash
|
#! /bin/sh
|
||
|
exec xprop -notype \
|
||
|
-f WM_NAME 8s ':\n title =\? $0\n' \
|
||
|
-f WM_CLASS 8s ':\n appName =\? $0\n className =\? $1\n' \
|
||
|
-f WM_WINDOW_ROLE 8s ':\n stringProperty "WM_WINDOW_ROLE" =\? $0\n' \
|
||
|
WM_NAME WM_CLASS WM_WINDOW_ROLE \
|
||
|
${1+"$@"}
|