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/python3 | |
# Based on https://github.com/cmus/cmus/wiki/cmus_status.py | |
# Switches to python3, and adds back, forward, and pause buttons | |
# Requirements: | |
# * PyGObject - https://pygobject.readthedocs.io/en/latest/getting_started.html | |
# Optional (for image display): | |
# * Pillow - pip install Pillow | |
# * mutagen - pip install mutagen | |
import gi |
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
row 1 (rs): k2, *yo, k3, k2tog, k2, repeat from * to last 10 sts, k2tog, yo, k6, yo, ssk. | |
row 2: p2, *p2tog, p2, yo, p3, repeat from * to last 3 sts, p3. | |
row 3: k3, *yo, k2, ssk, k2tog, k1, yo, repeat from * to last 2 sts, k2. | |
row 4: k2, *yo, k1, ssk, k2tog, k2, yo, repeat from * to last 3 sts, k3. | |
row 5: k3, *k2tog, k1, yo, k1, yo, k1, ssk, repeat from * to last 2 sts, k2. | |
row 7: k2, *yo, k3, k2tog, k2, repeat from * to last 3 sts, k3. | |
repeat rows 3-6. |