distrubute ncmpcpp script to audio clients
This commit is contained in:
parent
14eecc3b71
commit
23d04c50ca
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ `hostname -f` = nullsleep.csclub.uwaterloo.ca ]]; then
|
||||
MPD_HOST="/var/run/mpd/socket" /usr/bin/ncmpcpp "$@"
|
||||
else
|
||||
ssh nullsleep.csclub.uwaterloo.ca -t ncmpcpp "$@"
|
||||
fi
|
||||
|
|
@ -4,3 +4,8 @@
|
|||
copy: src={{ item.src }} dest={{ item.dest }}
|
||||
with_items:
|
||||
- { src: 'default.pa', dest: '/etc/pulse/default.pa' }
|
||||
|
||||
- name: Copy ncmpcpp client script
|
||||
copy: src={{ item.src }} dest={{ item.dest }} backup=no mode=0755
|
||||
with_items:
|
||||
- { src: 'ncmpcpp', dest: '/usr/local/bin/ncmpcpp' }
|
Loading…
Reference in New Issue