Skip to content

Instantly share code, notes, and snippets.

@jistr
Created December 18, 2014 10:26

Revisions

  1. jistr created this gist Dec 18, 2014.
    5 changes: 5 additions & 0 deletions rdio-next.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    set -eo pipefail

    xdotool key --window $(xdotool search --name 'Rdio \- Mozilla Firefox') bracketright
    5 changes: 5 additions & 0 deletions rdio-pause.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    set -eo pipefail

    xdotool key --window $(xdotool search --name 'Rdio \- Mozilla Firefox') space
    5 changes: 5 additions & 0 deletions rdio-prev.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    set -eo pipefail

    xdotool key --window $(xdotool search --name 'Rdio \- Mozilla Firefox') bracketleft
    5 changes: 5 additions & 0 deletions rdio.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    set -eo pipefail

    exec firefox -no-remote -P rdio