<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/scripts/media_control.sh, branch main</title>
<subtitle>My personal dotfiles</subtitle>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/'/>
<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>rework media_control to remember the last player</title>
<updated>2016-06-06T11:03:36+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2016-06-02T16:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=6b69e1bd4030a997e811e46ae791e028b964d1da'/>
<id>6b69e1bd4030a997e811e46ae791e028b964d1da</id>
<content type='text'>
README.md:              mention that some scripts uses hardcoded locations

scripts/media_is_spotify_playing.sh:    use dbus to get spotify PlaybackStatus

scripts/media_control:  1) introduce a new file: /tmp/media_control_last
                        2) use this file to store the last active player
                        3) send the command to the last active player if no
                            player is running
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
README.md:              mention that some scripts uses hardcoded locations

scripts/media_is_spotify_playing.sh:    use dbus to get spotify PlaybackStatus

scripts/media_control:  1) introduce a new file: /tmp/media_control_last
                        2) use this file to store the last active player
                        3) send the command to the last active player if no
                            player is 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>let scripts deciede on its own which shell they use</title>
<updated>2016-01-11T18:35:22+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2016-01-11T18:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=6d2a88231a0257e8f21b29022f0b69c8a8f2231b'/>
<id>6d2a88231a0257e8f21b29022f0b69c8a8f2231b</id>
<content type='text'>
1) make all scripts executable
2) remove shells in exec calls
3) add toggle_touchpad script to repo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1) make all scripts executable
2) remove shells in exec calls
3) add toggle_touchpad script to repo
</pre>
</div>
</content>
</entry>
<entry>
<title>rework media buttons control to function with spotify</title>
<updated>2015-11-27T01:44:53+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2015-11-25T19:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/dotfiles/commit/?id=e02542fca8dfe25bc22346b55b35d2a6cbc0c35c'/>
<id>e02542fca8dfe25bc22346b55b35d2a6cbc0c35c</id>
<content type='text'>
also remove bash wrapper for fish scripts and just use bash scripts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also remove bash wrapper for fish scripts and just use bash scripts
</pre>
</div>
</content>
</entry>
</feed>
