This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ | |
"alfredtheme" : {{ | |
"result" : {{ | |
"textSpacing" : 5, | |
"subtext" : {{ | |
"size" : 12, | |
"colorSelected" : "#FFFFFFFF", | |
"font" : "VictorMono Nerd Font", | |
"color" : "#FFFFFF7E" | |
}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ | |
"alfredtheme" : {{ | |
"result" : {{ | |
"textSpacing" : 5, | |
"subtext" : {{ | |
"size" : 12, | |
"colorSelected" : "#FFFFFFFF", | |
"font" : "VictorMono Nerd Font", | |
"color" : "#FFFFFF7E" | |
}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!usr/bin/env zsh | |
# TODO | |
# Comment | |
# Fix Control Flow | |
# Button Select for Pywal instead of only automatic. maybe a flag for automatic. | |
# See if I can get it centered | |
# Maybe rewrite it in a less useless language | |
# Crashes when no album art. | |
# suppress output of some commands with : $() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on getMusicInfo() | |
set theName to "" | |
set theState to "" | |
try | |
with timeout of 2 seconds | |
tell application "Music" | |
if it is running then | |
set theName to name of current track as text | |
set theState to player state as text |