zshrc: add X11 window role to wprop alias
Alan Pearce alan@alanpearce.co.uk
Mon, 29 Jul 2013 14:08:04 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M zsh/zshrc → zsh/zshrc
@@ -275,7 +275,8 @@ alias E="SUDO_EDITOR=\emacsclient -c -a emacs\" sudoedit" alias aticonfig="DISPLAY=:0 \aticonfig" alias wprop='xprop |awk '\'' /^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print} - /^WM_NAME/{sub(/.* =/, "title:"); print}'\''' + /^WM_NAME/{sub(/.* =/, "title:"); print} + /^WM_WINDOW_ROLE/{sub(/.* =/, "role:"); print}'\''' alias -g ...='../..'