1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00

Minor edits.

This commit is contained in:
Derek Taylor 2019-10-10 15:42:25 -05:00
parent c0fb072a8b
commit b33438b824

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