Commit graph

21 commits

Author SHA1 Message Date
Shy
471e5dae50 Moved --data flag into curl function. 2024-08-06 12:04:17 +02:00
Shy
c66362f87d Removed dependency on curls "--json" flag. 2024-08-06 11:29:44 +02:00
Shy
39323d772a Fixed regex for preset name matching. 2024-08-06 11:00:10 +02:00
Shy
24b3b8c945 Simplified active_preset(). 2024-08-06 10:56:01 +02:00
Shy
d08e07fd72 Revised list pipeline. 2024-08-05 19:48:02 +02:00
Shy
4bdafb7f2e Sort list of presets. 2024-08-05 19:19:30 +02:00
Shy
80d5972f80 Mark active preset when listing. 2024-08-05 18:09:29 +02:00
Shy
6308be7749 Bumped version to 0.1.0. 2024-08-05 15:53:59 +02:00
Shy
4111037d4c Revised regular expressions. 2024-08-05 15:51:46 +02:00
Shy
1f825347ab Rewrote help and description. 2024-08-04 10:11:16 +02:00
Shy
3081b16a22 Made command line options more POSIX-like. 2024-08-04 00:54:54 +02:00
Shy
4ff0369e76 Dropped unnecessary "on" command. 2024-08-04 00:19:34 +02:00
Shy
90933f91a4 Use a function to call curl. 2024-08-03 23:39:46 +02:00
Shy
b3109c859e Simplified check of API response. 2024-08-03 23:24:07 +02:00
Shy
4e91c778ce Added brightness command. 2024-08-03 22:36:05 +02:00
Shy
10c627d2ae Revised sed command line 2024-08-03 20:55:59 +02:00
Shy
bdde1235dc Added some sensible curl flags 2024-08-02 20:47:17 +02:00
Shy
0e9f6ef7d1 Cleaned up usage message. 2024-08-02 18:11:50 +02:00
Shy
1262a24b21 Added "list" command 2024-08-02 17:07:08 +02:00
Shy
edbc155a59 Check curl exit code. 2024-08-02 08:39:05 +02:00
Shy
4fcb815c14 Initial commit 2024-08-02 08:18:32 +02:00