mirror of
https://github.com/powerline/powerline.git
synced 2025-07-25 23:05:32 +02:00
Merge pull request #1817 from arslan2012/fix_mac_to_use_apple_script
change spotify to use applescript on OS X
This commit is contained in:
commit
5d6aa0e07a
@ -380,7 +380,7 @@ Requires ``osascript`` available in $PATH.
|
|||||||
''').format(_common_args.format('spotify_apple_script')))
|
''').format(_common_args.format('spotify_apple_script')))
|
||||||
|
|
||||||
|
|
||||||
if 'dbus' in globals() or not sys.platform.startswith('darwin'):
|
if not sys.platform.startswith('darwin'):
|
||||||
spotify = spotify_dbus
|
spotify = spotify_dbus
|
||||||
_old_name = 'spotify_dbus'
|
_old_name = 'spotify_dbus'
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user