Skip to content

Commit

Permalink
Happy now
Browse files Browse the repository at this point in the history
  • Loading branch information
hilli committed May 21, 2023
1 parent 1597813 commit 2ced743
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ version: '3'
# This is a Taskfile. See https://taskfile.dev

tasks:
setup:
cmds:
- brew install vhs

build:
cmds:
- go build -o bin/kefw2 cmd/kefw2/kefw2.go
Expand Down
18 changes: 10 additions & 8 deletions docs/kefw2.tape
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Set Shell zsh
Output kefw2.gif
Output docs/kefw2.gif
Output docs/kefw2.mp4
Require kefw2
Require osascript
Set FontSize 14

#Type "kefw2 completion zsh > /tmp/cmpzsh && source /tmp/cmpzsh"
Expand All @@ -17,23 +19,23 @@ Enter
Sleep 500ms
Type "kefw2 config speaker list"
Enter
Sleep 500ms
Type "kefw2 --help"
Enter
Sleep 500ms
Sleep 3ms
Type "kefw2 status"
Enter
Sleep 500ms
Sleep 2s
Type "kefw2 source usb"
Enter
Sleep 500ms
Type "kefw2 source"
Enter
Sleep 500ms
Sleep 2s
Type" kefw2 source wifi"
Enter
Sleep 500ms
Type "echo Playing some music from somewhere else..."
Type "echo Playing some music from Apple Music via AirPlay..."
Enter
Sleep 10ms
Type "./docs/airplay-music.jxa"
Enter
Sleep 2s
Type "kefw2 status"
Expand Down

0 comments on commit 2ced743

Please sign in to comment.