mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
5 lines
194 B
Fish
5 lines
194 B
Fish
|
function __fish_print_xwindows --description 'Print X windows'
|
||
|
xwininfo -root -children | grep '^\s\+0x' | sed '/(has no name)/d; s/^\s*\(\S\+\)\s\+"\(.\+\)":\s\+(\(.*\)).*$/\1\t\2 (\3)/'
|
||
|
|
||
|
end
|