all repos — nixfiles @ f26545a8cb75a4aeb0773ac309d8145aeb087d1d

System and user configuration, managed by nix and home-manager

zshrc: add X11 window role to wprop alias

Alan Pearce
commit

f26545a8cb75a4aeb0773ac309d8145aeb087d1d

parent

5905ec6debb6dcf9df9843b8f166305c849f0e61

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M zsh/zshrczsh/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 ...='../..'