Minor edits.

This commit is contained in:
Derek Taylor 2019-10-10 15:42:25 -05:00
parent c0fb072a8b
commit b33438b824
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,8 @@ declare -nc options=(" awesome
qtile
st
sxhkd
vim
xmobar
xmonad
zsh
quit ")
@ -61,6 +63,12 @@ choice=$(echo -e "${options[@]}" | dmenu -i -p 'Edit a config file: ')
if [ "$choice" == ' sxhkd ' ]; then
exec emacsclient -nc '~/.config/sxhkd/sxhkdrc'
fi
if [ "$choice" == ' vim ' ]; then
exec emacsclient -nc '~/.vimrc'
fi
if [ "$choice" == ' xmobar ' ]; then
exec emacsclient -nc '~/.config/xmobar/xmobarrc2'
fi
if [ "$choice" == ' xmonad ' ]; then
exec emacsclient -nc '~/.xmonad/xmonad.hs'
fi