dotfiles/.config/fish/functions/layout.fish

4 lines
243 B
Fish
Raw Normal View History

function layout --wraps=xkblayout-state\ print\ \"\%s\(\%v\)\"\ \&\&\ echo\ -n\ \"\\n\" --description alias\ layout=xkblayout-state\ print\ \"\%s\(\%v\)\"\ \&\&\ echo\ -n\ \"\\n\"
xkblayout-state print "%s(%v)" && echo -n "\n" $argv;
end