dotfiles/.config/fish/functions/dmenu_fish.fish

7 lines
296 B
Fish

function dmenu_fish --description 'Open fish agnostic dmenu'
set fns "$(string replace -a ', ' \n $(functions))"
set commands $(string join \n $fns $(dmenu_path) | sort | dmenu -i -fn "$(get-font)" -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2")
eval $command_to_run &
end