diff options
author | Alan Pearce | 2013-07-29 14:08:04 +0100 |
---|---|---|
committer | Alan Pearce | 2013-07-29 14:08:04 +0100 |
commit | f26545a8cb75a4aeb0773ac309d8145aeb087d1d (patch) | |
tree | 443c6077b581fd55dac8cc464e282367e619a5ec /zsh/zshrc | |
parent | 5905ec6debb6dcf9df9843b8f166305c849f0e61 (diff) | |
download | nixfiles-f26545a8cb75a4aeb0773ac309d8145aeb087d1d.tar.lz nixfiles-f26545a8cb75a4aeb0773ac309d8145aeb087d1d.tar.zst nixfiles-f26545a8cb75a4aeb0773ac309d8145aeb087d1d.zip |
zshrc: add X11 window role to wprop alias
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-x | zsh/zshrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc index 938dcbd9..c017029f 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 ...='../..' |