added mpd

This commit is contained in:
Enrico Fasoli 2015-08-26 00:19:47 +00:00
parent b2b1e13976
commit 1bb873a7bd
4 changed files with 30 additions and 1 deletions

View File

@ -1,13 +1,20 @@
#!/bin/sh
# Set keyboard layout to it just in case
setxkbmap it
# Dont show ugly X shaped cursor
xsetroot -cursor_name left_ptr
# Start lemonbar
sh ~/.config/bspwm/lemonbar.sh &
# Start mpd
mpd
# Set up desktops on monitors
bspc monitor DVI-I-0 -d 1 2
bspc monitor HDMI-0 -d 3 4
# Set up bspwm theme
bspc config border_width 2
bspc window_gap 24
bspc config -m DVI-I-0 top_padding 36
@ -18,4 +25,5 @@ bspc config borderless_monocle true
bspc config gapless monocle true
bspc config focus_follows_pointer true
# Show desktop background
feh --no--fehbg --bg-center ~/Pictures/background.png

View File

@ -34,4 +34,10 @@ cp .tmux.conf ~/
cp .gitconfig ~/
# MPD
mkdir -p ~/.config/mpd/playlists/
mkdir -p ~/Music/
cp mpd.conf ~/.config/mpd/
echo "Run install-prezto with ZSH to install prezto"

View File

@ -1,5 +1,5 @@
buildClock() {
echo -n $(date "+%A, %e %B | %k:%M:%S")
echo -n $(date "+%A, %e %B, %k:%M:%S")
}
getVolume() {

15
mpd.conf Normal file
View File

@ -0,0 +1,15 @@
music_directory "/home/fazo/Music"
playlist_directory "/home/fazo/.config/mpd/playlists/"
db_file "/home/fazo/.config/mpd/db"
log_file "/home/fazo/.config/mpd/mpd.log"
pid_file "/home/fazo/.config/mpd/mpd.pid"
state_file "/home/fazo/.config/mpd/state"
bind_to_address "127.0.0.1"
port "6600"
audio_output {
type "alsa"
name "Fazo-PC"
mixer_type "software"
}