fish-shell/share/functions/__fish_print_xrandr_outputs.fish

4 lines
169 B
Fish
Raw Normal View History

function __fish_print_xrandr_outputs --description 'Print xrandr outputs'
xrandr | string replace -r --filter '^(\S+)\s+(.*)$' '$1\t$2' | string match -v -e Screen
end