mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
🎨 Update config
This commit is contained in:
parent
394d56fa69
commit
07805d44aa
28 changed files with 845 additions and 415 deletions
17
scripts/dmenu/dmenu-sysmon.sh
Executable file
17
scripts/dmenu/dmenu-sysmon.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
declare options=("htop
|
||||
bashtop
|
||||
gtop
|
||||
quit")
|
||||
|
||||
choice=$(echo -e "${options[@]}" | dmenu -h 24 -p 'System monitor ')
|
||||
|
||||
case "$choice" in
|
||||
htop) choice="htop" ;;
|
||||
bashtop) choice="bashtop" ;;
|
||||
gtop) choice="gtop" ;;
|
||||
quit) echo "Program terminated." && exit 1 ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
kitty -e "$choice"
|
||||
Loading…
Add table
Add a link
Reference in a new issue