mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
parent
9724ff975f
commit
b66be3a580
1 changed files with 62 additions and 63 deletions
|
|
@ -162,7 +162,6 @@ function itunes() {
|
|||
opt="set sound volume to $1" #$1 Due to the shift
|
||||
;;
|
||||
status|nowplaying)
|
||||
# Inspired by: http://hints.macworld.com/article.php?story=20011108211802830
|
||||
local state=`osascript -e 'tell application "iTunes" to player state as string'`
|
||||
echo "iTunes is currently $state"
|
||||
if [ "$state" = "playing" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue