Commit graph

32 commits

Author SHA1 Message Date
Shy
34acea979a Rephrased some documentation and help messages. 2024-08-06 19:11:38 +02:00
Shy
23ce17cb70 Bump to version 0.1.3. 2024-08-06 19:03:06 +02:00
Shy
38ccaaec15 Print brightness if -b is called without parameter. 2024-08-06 16:50:21 +02:00
Shy
dd9231f834 Revised exit status generation. 2024-08-06 16:26:54 +02:00
Shy
f3dd1edb12 use for-loop instead of while/shift. 2024-08-06 15:18:51 +02:00
Shy
6f99f677e6 Added --all flag. 2024-08-06 15:10:53 +02:00
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
11aa878e77 Unified formatting of examples. 2024-08-03 22:49:17 +02:00
Shy
4ae855d038 Fixed formatting 2024-08-03 22:47:36 +02:00
Shy
39a7a2b653 Added brightness command. 2024-08-03 22:44:50 +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
1eec99af8e Added usage information 2024-08-02 18:12:17 +02:00
Shy
0e9f6ef7d1 Cleaned up usage message. 2024-08-02 18:11:50 +02:00
Shy
bc484958a3 Added curl dependency 2024-08-02 17:11:01 +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