Skip to content

Commit

Permalink
add mpd/mpc conf and remove spf13
Browse files Browse the repository at this point in the history
  • Loading branch information
techgaun committed Apr 29, 2017
1 parent 422a128 commit e0c689f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
alias swatch="watch ss -stplu"
alias nmrs="sudo /etc/init.d/network-manager restart"
alias pipall="pip list --outdated | cut -d' ' -f1 | xargs pip install --upgrade"
alias mympd="mpd -v --no-daemon --stderr ~/.mpd.conf"

# node/npm
alias ni="npm install"
Expand Down
7 changes: 7 additions & 0 deletions .mpd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bind_to_address "127.0.0.1"
music_directory "/home/techgaun/audio"
db_file "/home/techgaun/.mpd.db"
audio_output {
name "MPD PulseAudio Output"
type "pulse"
}
7 changes: 1 addition & 6 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
SRC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
NVIM_DIR="${HOME}/.config/nvim"

# setup spf13-vim if not installed already or FORCE_VIMINSTALL is set
# if [[ ! -d "${HOME}/.spf13-vim-3" || "x${FORCE_VIMINSTALL}" != "x" ]]; then
# curl -L -o - https://github.com/techgaun/spf13-vim/raw/3.0/bootstrap.sh | \
# REPO_URI="https://github.com/techgaun/spf13-vim.git" REPO_BRANCH="tg-custom" sh
# fi

if [[ ! -d "${HOME}/.SpaceVim" || "x${FORCE_SPACEVIMINSTALL}" != "x" ]]; then
curl -sLf https://spacevim.org/install.sh | bash
fi
Expand All @@ -33,6 +27,7 @@ ln -sf "${SRC_DIR}/.gitignore" "${HOME}/.gitignore"
ln -sf "${SRC_DIR}/httpie/config.json" "${HOME}/.httpie/config.json"
ln -sf "${SRC_DIR}/.iex.exs" "${HOME}/.iex.exs"
ln -sf "${SRC_DIR}/.iftoprc" "${HOME}/.iftoprc"
ln -sf "${SRC_DIR}/.mpd.conf" "${HOME}/.mpd.conf"
# ln -sf "${SRC_DIR}/nvim/init.vim" "${HOME}/.config/nvim/init.vim"
ln -sf "${SRC_DIR}/nvim/init.vim" "${HOME}/.SpaceVim.d/init.vim"
ln -sf "${SRC_DIR}/.psqlrc" "${HOME}/.psqlrc"
Expand Down

0 comments on commit e0c689f

Please sign in to comment.