Add mpd systemd service files, mpv config and minor weechat colouring

This commit is contained in:
George Rawlinson 2016-11-07 15:35:26 +13:00
parent a0f4ffbbc3
commit 0a4de04c6c
6 changed files with 55 additions and 1 deletions

View file

@ -6,6 +6,7 @@ git > global git config & aliases
lftp > sftp management
mail > mail config - mutt/mbsync
mpd > music player daemon config
mpv > who needs vlc? minimal video player
ncmpcpp > ncurses mpc++ ui/colour settings & playlists
npm > npm configuration (ha ha)
nvim > neovim config & plugins

View file

@ -0,0 +1,13 @@
[Unit]
Description=Music Player Daemon
After=network.target sound.target
[Service]
ExecStart=/usr/bin/mpd --no-daemon
# allow MPD to use real-time priority 50
LimitRTPRIO=50
LimitRTTIME=infinity
[Install]
WantedBy=default.target

View file

@ -0,0 +1,9 @@
[Unit]
Description=AudoScrobbler client for MPD
After=mpd.service
[Service]
ExecStart=/usr/bin/mpdas
[Install]
WantedBy=default.target

View file

@ -0,0 +1,4 @@
layout=bottombar
deadzonesize=0
minmousemove=3
seekbarstyle=bar

27
mpv/.config/mpv/mpv.conf Normal file
View file

@ -0,0 +1,27 @@
# language
# display english subtitles if available
slang=eng,en,enUS,en-US
# play english audio if available
alang=eng,en,enUS,en-US
# display
# font for on-screen display (OSD)
osd-font='Source Code Pro for Powerline'
# font to use for subtitles
sub-font='Source Code Pro for Powerline'
# force starting with centered window
geometry=50%:50%
# don't allow a new window to have a size larger than 90% of screen
autofit-larger=90%x90%
# keep player window on top of all other windows
ontop=yes
# good quality screenshots
screenshot-format=png
screenshot-png-compression=8
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes

View file

@ -7,7 +7,7 @@ current_bg = 240
current_fg = 4
default_bg = default
default_fg = default
hotlist_highlight_bg = default
hotlist_highlight_bg = 1
hotlist_highlight_fg = magenta
hotlist_low_bg = default
hotlist_low_fg = white