dmenium

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/dmenium
Log | Files | Refs | LICENSE

commit d5e24e77769bf4500d9e05f7aba3f8f848e2fb46
parent 85aa07c83faf8f9c582b8ad8858ca7c1d3ae7c97
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Tue, 29 Aug 2017 23:52:36 -0700

Add music option to menu

Use surf instead of firefox, rename htop to top

Diffstat:
menu | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/menu b/menu @@ -6,8 +6,8 @@ draw_line () { done } -menu_list="  run\n  term\n  web\n  file\n  edit\n  view\n  todo\n  calc\n  man\n  htop\n$(draw_line)\n  exit\n" -dmenucmd="dmenu -c -i -l 12" +menu_list="  run\n  term\n  web\n  music\n  file\n  edit\n  view\n  todo\n  calc\n  man\n  top\n$(draw_line)\n  exit" +dmenucmd="dmenu -c -i -l 13" cmd=$(echo -e "$menu_list" | eval "$dmenucmd") case $cmd in @@ -16,7 +16,9 @@ case $cmd in *term) tabbed -c st -w ;; *web) - firefox > /dev/null 2>&1 ;; + surf_open ;; + *music) + st -e cmus ;; *file) thunar > /dev/null 2>&1 ;; *edit) # TODO dont open if dmenu returned empty @@ -31,7 +33,7 @@ case $cmd in manprog=$(dmenu_man -c -l 20) manname=$(echo "$manprog" | cut -d " " -f 2) st -t "$manname" -e man $manprog ;; - *htop) + *top) st -g 68x6 -e htop ;; *exit) # dmenu_quit -c ;;