diff --git a/bashrc b/bashrc index 7c593a8..9cc2ecf 100644 --- a/bashrc +++ b/bashrc @@ -128,8 +128,8 @@ alias mkae='make' alias amek='make' alias BSI2='cd ~/Documents/Studies/BSI2*/' -BSI3_PATH='/home/frank/Documents/Studies/BSI3 - 2013-2014/' -alias BSI3='cd "$BSI3_PATH"' +UNI_STUDY_PATH='/home/frank/Documents/Studies/MUSE1/' +alias BSI3='cd "$UNI_STUDY_PATH"' OCTOPUS=~/.my_utils/octopus.sh alias dual='$OCTOPUS monitor dual' @@ -287,14 +287,14 @@ function study #{{{ if [ -z $1 ]; then STUDY_PATH='' else - if [ -d "$BSI3_PATH$1" ]; then + if [ -d "$UNI_STUDY_PATH$1" ]; then STUDY_PATH="$1" else STUDY_PATH='' fi fi - builtin cd "$BSI3_PATH$STUDY_PATH" + builtin cd "$UNI_STUDY_PATH$STUDY_PATH" if [ -e calendar ]; then echo -e "$RED WORK TO DO SOON:$BLUE" calendar -A10 @@ -311,7 +311,7 @@ _StudyCompletion() cur=${COMP_WORDS[COMP_CWORD]} _STUDY_ACTUAL_DIR=`pwd` - builtin cd "$BSI3_PATH" + builtin cd "$UNI_STUDY_PATH" ALL_POSSIBLE_WORDS=(*) builtin cd "$_STUDY_ACTUAL_DIR" diff --git a/dwm/config.h b/dwm/config.h index 49136a6..08cb064 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -90,6 +90,7 @@ static const char *volup[] = {"octopus.sh", "vol", "up", NULL}; static const char *voldown[] = {"octopus.sh", "vol", "down", NULL}; static const char *volmute[] = {"octopus.sh", "vol", "mute", NULL}; static const char *lockcmd[] = {"octopus.sh", "lock", NULL}; +static const char *monoff[] = {"octopus.sh", "monitor", "off", NULL}; static const char *audioplay[] = {"octopus.sh", "audio", "toggle", NULL}; static const char *audionext[] = {"octopus.sh", "audio", "next", NULL}; static const char *audioprev[] = {"octopus.sh", "audio", "prev", NULL}; @@ -104,6 +105,7 @@ static Key keys[] = { // { MODKEY|ShiftMask, XK_t, spawn, {.v = mailcmd } }, { MODKEY|ShiftMask, XK_m, spawn, {.v = muttcmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } }, + { MODKEY|ShiftMask, XK_o, spawn, {.v = monoff } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, /* change window focus */ { MODKEY, XK_k, focusstack, {.i = -1 } }, /* idem */