Extract mpd/ncmpcpp config from os/arch to shell/mpd
This commit is contained in:
parent
c0c628823c
commit
143741c261
|
@ -78,8 +78,6 @@ EOL
|
|||
$pacaur -S bspwm sxhkd compton
|
||||
# Taskbar
|
||||
$pacaur -S lemonbar-xft-git siji-git xtitle sutils-git dunst libnotify
|
||||
# Music player
|
||||
$pacaur -S mpd mpc ncmpcpp
|
||||
# Utilities
|
||||
$pacaur -S rofi feh sxiv maim slop-opengl neofetch-git pass youtube-dl xdotool
|
||||
# Apps
|
||||
|
@ -91,7 +89,6 @@ EOL
|
|||
|
||||
systemctl enable --user redshift.service
|
||||
systemctl enable --user rslsync.service
|
||||
systemctl enable --user mpd.service
|
||||
|
||||
# FIXME Install pacman hooks
|
||||
hookdest=/etc/pacman.d/hooks
|
||||
|
|
16
shell/mpd/install
Executable file
16
shell/mpd/install
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
brew install mpd mpc
|
||||
brew install ncmpcpp --with-clock --with-visualizer
|
||||
brew services start mpd
|
||||
;;
|
||||
linux*)
|
||||
if [[ -f /etc/arch-version ]]; then
|
||||
sudo pacman --needed --noconfirm -S mpd mpc ncmpcpp
|
||||
systemctl enable --user mpd.service
|
||||
systemctl start --user mpd.service
|
||||
fi
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue