From f26545a8cb75a4aeb0773ac309d8145aeb087d1d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 29 Jul 2013 14:08:04 +0100 Subject: zshrc: add X11 window role to wprop alias --- zsh/zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/zshrc b/zsh/zshrc index 938dcbd..c017029 100755 --- a/zsh/zshrc +++ b/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 ...='../..' -- cgit 1.4.1