added mpd
This commit is contained in:
parent
b2b1e13976
commit
1bb873a7bd
8
bspwmrc
8
bspwmrc
@ -1,13 +1,20 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Set keyboard layout to it just in case
|
||||||
setxkbmap it
|
setxkbmap it
|
||||||
|
# Dont show ugly X shaped cursor
|
||||||
xsetroot -cursor_name left_ptr
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
|
# Start lemonbar
|
||||||
sh ~/.config/bspwm/lemonbar.sh &
|
sh ~/.config/bspwm/lemonbar.sh &
|
||||||
|
# Start mpd
|
||||||
|
mpd
|
||||||
|
|
||||||
|
# Set up desktops on monitors
|
||||||
bspc monitor DVI-I-0 -d 1 2
|
bspc monitor DVI-I-0 -d 1 2
|
||||||
bspc monitor HDMI-0 -d 3 4
|
bspc monitor HDMI-0 -d 3 4
|
||||||
|
|
||||||
|
# Set up bspwm theme
|
||||||
bspc config border_width 2
|
bspc config border_width 2
|
||||||
bspc window_gap 24
|
bspc window_gap 24
|
||||||
bspc config -m DVI-I-0 top_padding 36
|
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 gapless monocle true
|
||||||
bspc config focus_follows_pointer true
|
bspc config focus_follows_pointer true
|
||||||
|
|
||||||
|
# Show desktop background
|
||||||
feh --no--fehbg --bg-center ~/Pictures/background.png
|
feh --no--fehbg --bg-center ~/Pictures/background.png
|
||||||
|
6
install
6
install
@ -34,4 +34,10 @@ cp .tmux.conf ~/
|
|||||||
|
|
||||||
cp .gitconfig ~/
|
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"
|
echo "Run install-prezto with ZSH to install prezto"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
buildClock() {
|
buildClock() {
|
||||||
echo -n $(date "+%A, %e %B | %k:%M:%S")
|
echo -n $(date "+%A, %e %B, %k:%M:%S")
|
||||||
}
|
}
|
||||||
|
|
||||||
getVolume() {
|
getVolume() {
|
||||||
|
15
mpd.conf
Normal file
15
mpd.conf
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user