Commit Graph

36 Commits

Author SHA1 Message Date
filifa
92c3b48fa7 refactor preset validation 2024-09-07 19:26:26 -05:00
filifa
96e962b56a adjust usage message 2024-09-07 19:22:10 -05:00
filifa
1e87393d07 don't crash when no presets are passed 2024-09-07 19:20:09 -05:00
filifa
6d045ff304 pass presets with args 2024-09-07 19:16:08 -05:00
filifa
d59a2859b6 use projectm_pcm_get_max_samples to set buffer size 2024-09-07 15:54:40 -05:00
filifa
afb198052e remove bufio 2024-09-05 23:16:14 -05:00
filifa
6f5f8b1818 move buffering stuff to root 2024-09-05 22:48:19 -05:00
filifa
3882ffe4f7 get rid of bufSize 2024-09-05 22:21:12 -05:00
filifa
54f1665325 replace panic with log.Fatal 2024-09-04 21:38:23 -05:00
filifa
82e2b05925 refactor stdin check 2024-09-04 21:35:38 -05:00
filifa
9d16b2970c refactor main loop 2024-09-04 21:31:52 -05:00
filifa
6410b5ee6f refactor preset validation 2024-09-04 21:17:29 -05:00
filifa
9e01387460 add comments 2024-09-04 21:10:30 -05:00
filifa
3981512edb remove script flag 2024-09-04 20:28:42 -05:00
filifa
663accda2a allow passing in multiple presets 2024-09-04 20:27:01 -05:00
filifa
2b8eaeee49 add flag for smooth transitions 2024-09-04 20:04:47 -05:00
filifa
a53928ef5e validate presets 2024-09-03 22:38:23 -05:00
filifa
e0c4715cd5 simplify json format 2024-09-03 22:25:40 -05:00
filifa
4a9b17f4ed refactor preset loading 2024-09-02 23:33:35 -05:00
filifa
75ba1e8134 simplify script loading 2024-09-02 23:26:10 -05:00
filifa
86ef3a0e82 move script loading to root 2024-09-02 23:22:56 -05:00
filifa
5c95c5346f handle single presets 2024-09-02 23:10:46 -05:00
filifa
56d3c2c555 make -p and -s mutually exclusive 2024-09-02 22:52:54 -05:00
filifa
ee984f7d72 handle no script being passed 2024-09-02 22:49:29 -05:00
filifa
87394e7263 don't cycle rapidly when held 2024-09-02 22:44:24 -05:00
filifa
dbbbceaa49 make loading script a method of window 2024-09-02 22:42:44 -05:00
filifa
9e8aff813e cycle in reverse with left 2024-09-02 22:31:25 -05:00
filifa
21c0e3f447 cycle through presets with right 2024-09-02 22:17:11 -05:00
filifa
bf6bf28635 add program description 2024-09-02 21:03:17 -05:00
filifa
f0b432614d use different strategy from stackoverflow 2024-08-25 22:00:01 -05:00
filifa
583a50be79 add more details 2024-08-25 21:48:34 -05:00
filifa
f30eb1c678 remove -L directive 2024-08-25 18:16:53 -05:00
filifa
efa8e8b27a remove -I flag 2024-08-25 17:45:48 -05:00
filifa
f2f49013f1 don't import C in root 2024-08-24 22:03:37 -05:00
filifa
bcc683ede7 add copyright header 2024-08-24 21:24:16 -05:00
filifa
32e0e553a0 use cobra 2024-08-24 21:05:15 -05:00