dotfiles

Cross platform dotfiles for linux, mac and windows

1 
2 
3 
4 
5 
6 
7 
8 
9 
#!/bin/sh

#TODO figure out how th this is working in the first place
status=$(mpc)

song_status="$(mpc | sed 2q | tac | head -n1)"
song_title="$(printf $status | head -n2 | tac | head -n1)"

printf "%s - %s\n" "${song_status}" "${song_title}"