mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-26 05:01:15 -03:00
5 lines
222 B
Fish
5 lines
222 B
Fish
# localization: skip(private)
|
|
function __fish_print_xwindows --description 'Print X windows'
|
|
xwininfo -root -children | sed '/^\s\+0x/!d; /(has no name)/d; s/^\s*\(\S\+\)\s\+"\(.\+\)":\s\+(\(.*\)).*$/\1\t\2 (\3)/'
|
|
end
|