Lowfi In tmux
If you like background music while coding, this repo includes a small helper that runs lowfi inside a tmux session.
Preconditions
tmuxis installed and running.lowfiis installed.- Tracklists exist under
~/Library/Application Support/lowfi.
Command
,tmux-lowfi
Source:
Steps
Play/pause:
,tmux-lowfi p
Skip:
,tmux-lowfi s
Next tracklist:
,tmux-lowfi nt
Quit (kills the tmux session):
,tmux-lowfi q
Verification
tmux has-session -t lowfi
Expected:
- Exit
0when the session is running. - Exit non-zero after
,tmux-lowfi q.
Rollback / Undo
- Stop and remove session:
,tmux-lowfi q
- Remove current tracklist state file if needed:
rm -f /tmp/tmux-lowfi-current-tracklist
Where Tracklists Come From
Tracklists live under:
~/Library/Application Support/lowfi
They are pulled via chezmoi externals: