fish-shell/share/functions/__fish_print_xwindows.fish

4 lines
189 B
Fish
Raw Normal View History

function __fish_print_xwindows --description 'Print X windows'
2018-03-26 17:49:02 +00:00
xwininfo -root -children | sed '/^\s\+0x/!d; /(has no name)/d; s/^\s*\(\S\+\)\s\+"\(.\+\)":\s\+(\(.*\)).*$/\1\t\2 (\3)/'
end