Skip to content

Instantly share code, notes, and snippets.

{{
"alfredtheme" : {{
"result" : {{
"textSpacing" : 5,
"subtext" : {{
"size" : 12,
"colorSelected" : "#FFFFFFFF",
"font" : "VictorMono Nerd Font",
"color" : "#FFFFFF7E"
}},
@typkrft
typkrft / alfred.json
Created July 18, 2020 06:00
Pywal Template For Alfred
{{
"alfredtheme" : {{
"result" : {{
"textSpacing" : 5,
"subtext" : {{
"size" : 12,
"colorSelected" : "#FFFFFFFF",
"font" : "VictorMono Nerd Font",
"color" : "#FFFFFF7E"
}},
#!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 : $()
@typkrft
typkrft / songNamesToFile.applescript
Created July 3, 2020 20:56
Apple Music Song Names to Text File
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