<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/scripts/media_status.sh, branch main</title>
<subtitle>My personal dotfiles</subtitle>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/'/>
<entry>
<title>[media_status] only output mpd status if there is a song in the queue</title>
<updated>2021-04-28T15:49:19+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2021-04-28T15:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=7e3371321e0fd7d09dd7233c48b62f1878e6b84a'/>
<id>7e3371321e0fd7d09dd7233c48b62f1878e6b84a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use sh instead of bash</title>
<updated>2017-05-12T12:39:33+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2017-05-12T12:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=7d2ab25601a76a5c9568ec7e2c1db66b3b3b2919'/>
<id>7d2ab25601a76a5c9568ec7e2c1db66b3b3b2919</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make my dotfiles location independent</title>
<updated>2016-07-29T19:44:23+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2016-07-29T18:06:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=db211c7f310a5de18c7803a1ebfbb7ab2b1e3f0d'/>
<id>db211c7f310a5de18c7803a1ebfbb7ab2b1e3f0d</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>improve media_status</title>
<updated>2016-02-23T12:09:57+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2016-02-23T12:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=ca409ba71df438f97cc3202751e8e60a0748af78'/>
<id>ca409ba71df438f97cc3202751e8e60a0748af78</id>
<content type='text'>
+ 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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ 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)
</pre>
</div>
</content>
</entry>
<entry>
<title>rework media_control to work with pulseaudio</title>
<updated>2016-01-11T19:54:46+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2016-01-11T19:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=90044a0452c64d599f97a4881678a421f3dd357d'/>
<id>90044a0452c64d599f97a4881678a421f3dd357d</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>make i3bar music info work with alsa and pa</title>
<updated>2016-01-11T18:22:19+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2016-01-11T18:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=667eb047290f24ddd3f90a3034fba917f40c5f12'/>
<id>667eb047290f24ddd3f90a3034fba917f40c5f12</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
