dotfiles/script/dmenu/dmenu-sysmon.sh
Smirnov Olexandr 0d2b7d6ba3 🎨 Update
2020-11-25 20:53:55 +02:00

15 lines
266 B
Bash
Executable file

#!/bin/sh
declare options=("htop
bashtop
gtop")
choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'System monitor ')
case "$choice" in
htop) choice="htop" ;;
bashtop) choice="bashtop" ;;
gtop) choice="gtop" ;;
*) exit 1 ;;
esac
kitty -e "$choice"