aboutsummaryrefslogtreecommitdiff
path: root/scripts/media_status.sh
Commit message (Collapse)AuthorAgeFilesLines
* [media_status] only output mpd status if there is a song in the queueFlorian Fischer2021-04-281-1/+5
|
* use sh instead of bashFlorian Fischer2017-05-121-1/+1
|
* make my dotfiles location independentFlorian Fischer2016-07-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is achieved by storing the absolute path to the dotfile directory in the variable $DOTFILES_LOCATION. And change every hardcoded location into the dotfiles with this var. The Variable $DOTFILES_LOCATION populated with the output of get_dotfiles_location.sh at 3 places: 1) config.fish | zshrc 2) xinitrc (should be allready exported) get_dotfiles_location uses the assumption that it is symlinked into the dotfiles directory. offlineimap: * include patch for offlineimap * change config to the small one * include environment file in systemd unit setup.py: * handle offlineimap situation * print a warning and prompt for proceeding * write the environment file for the systemd unit * add pseudo dependency (get_dotfiles_location) to [fish-config, offlineimap, i3] * print errors on stderr * don't exit if a function fails config.fish: * export $DOTFILES_LOCATION * change hardcoded links * add perl tools to path * export some yaourt specific vars if yaourt is available zshrc: export $DOTFILES_LOCATION xinitrc: export $DOTFILES_LOCATION i3/*: change hardcoded links scripts/* change hardcoded links README.md: mention $DOTFILES_LOCATION
* improve media_statusFlorian Fischer2016-02-231-25/+19
| | | | | | | | | | | + split spotify metadata printing in external script: media_print_spotify_info.sh + fix broken relative paths + new display hierarchy: 1. spotify playing 2. mpd playing 3. spotify paused (running) 4. mpd paused (running)
* rework media_control to work with pulseaudioFlorian Fischer2016-01-111-32/+2
| | | | | | 1) outsource check if spotify is playing in media_is_spotify_playing.sh 2) use media_is_spotify_playing in media_status.sh 3) rework media_control using media_is_spotify_playing.sh
* make i3bar music info work with alsa and paFlorian Fischer2016-01-111-0/+77
1) change conkyrc file to execute new media_status script 2) add media_status script which displayes information for the following programs: + spotify + mpd If none of the programms is running "no music" will be printed. 3) delete unnecessary script