summaryrefslogtreecommitdiff
path: root/plugins/osx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/osx')
-rw-r--r--plugins/osx/osx.plugin.zsh2
-rw-r--r--plugins/osx/spotify2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index b7d6aca72..d99cf0b1e 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/plugins/osx/osx.plugin.zsh
@@ -241,7 +241,7 @@ if [[ ! -z "$playlist" ]]; then
case "$state" in
on|off)
- # Inspired by: http://stackoverflow.com/a/14675583
+ # Inspired by: https://stackoverflow.com/a/14675583
osascript 1>/dev/null 2>&1 <<-EOF
tell application "System Events" to perform action "AXPress" of (menu item "${state}" of menu "Shuffle" of menu item "Shuffle" of menu "Controls" of menu bar item "Controls" of menu bar 1 of application process "iTunes" )
EOF
diff --git a/plugins/osx/spotify b/plugins/osx/spotify
index 69f6c5419..2ab98d3a0 100644
--- a/plugins/osx/spotify
+++ b/plugins/osx/spotify
@@ -408,7 +408,7 @@ while [ $# -gt 0 ]; do
uri=`osascript -e 'tell application "Spotify" to spotify url of current track'`;
remove='spotify:track:'
url=${uri#$remove}
- url="http://open.spotify.com/track/$url"
+ url="https://open.spotify.com/track/$url"
if [ "$2" = "" ]; then
cecho "Spotify URL: $url"