Commit graph

83 commits

Author SHA1 Message Date
607d53a4a0
Refactor code to use other_track in CmusEvent::StatusChanged 2023-02-21 04:44:46 +02:00
5488404fb3
Process the settings place holders in the template 2023-02-21 04:41:12 +02:00
cb164f962a
Add implementation of TemplateProcessor for Track struct to process template placeholders 2023-02-20 23:53:41 +02:00
2d8fc85ba5
Update notification summary to display title only 2023-02-20 23:38:21 +02:00
d004461209
Improve the artict 2023-02-20 23:04:38 +02:00
9a5a93450a
Iimprove the articet 2023-02-20 06:40:30 +02:00
b8af73ee0f
Update notification implementation to include inline set cover function 2023-02-20 05:42:34 +02:00
4773c1c1cd
Add NoEvents error for CmusQueryResponse 2023-02-20 05:41:01 +02:00
6d62c66b5f
Commit message: Update notification.rs to support new feature and refactor code 2023-02-20 05:35:56 +02:00
19ef64f8ed
Just create the notifications handler 2023-02-20 05:34:03 +02:00
6270ea9717
Commit message: Update cover when track changes, and set a desktop entry and category for notifications 2023-02-20 04:36:32 +02:00
a252a0727d
Just format the code 2023-02-19 12:57:16 +02:00
1bd4f7e034
Update notification image for tracks with covers 2023-02-19 12:55:33 +02:00
9e37b59573
Add clap-markdown dependency, version 0.1.3 2023-02-19 04:10:15 +02:00
f975803fc4
Update notification body to include album in bold 2023-02-18 14:47:06 +02:00
5c7a8fc694
Update notification body to include line break between track and album information 2023-02-18 14:39:15 +02:00
aae9580bce Rename src/bin/main.rs to src/bin/cmus-notify.rs 2023-02-18 12:41:48 +02:00
ce858dff5f
Just create the fucking track change notification 2023-02-17 22:57:20 +02:00
9b629fc238
Fix the search for method 2023-02-17 12:42:03 +02:00
391ca67890
Improve the get cover mecarthim 2023-02-17 10:51:59 +02:00
b75d56485c
Show the first notifiication finaaaaaly :D 2023-02-17 08:09:52 +02:00
e7c080abb6
Just create remove-config task 2023-02-17 07:48:29 +02:00
e7b9bfba9e
Cange the StatusChanged to accsept a track instance 2023-02-17 05:59:45 +02:00
d81eeb8baf
Remove the defualt features 2023-02-17 05:55:49 +02:00
fce9c7241b
Just create show-help task 2023-02-17 05:41:16 +02:00
2c9a7f396c
Just improve the justfile =D 2023-02-17 05:05:17 +02:00
ea59f53869
Create unit test for test the command line arguments are compiled corectory 2023-02-15 18:47:55 +02:00
1953822025
Just create a simple justfile =P 2023-02-15 05:40:42 +02:00
9ffcf036f2
Use thiserror crate 2023-02-15 01:39:07 +02:00
538ad72f2d
Fix if the track changed, and the status or possition changed, we should push the track changed event, not position or status changed. 2023-02-15 01:10:47 +02:00
be2c223a57
Just format the code 2023-02-15 01:03:06 +02:00
59ec23a363
Add the debug feature 2023-02-15 00:56:57 +02:00
fdc1670fdc
Just pre implement the show notification function =| 2023-02-14 19:10:47 +02:00
3c37bcf9fb
Process the position changes event 2023-02-14 19:05:37 +02:00
28a179273d
Just add todo :) 2023-02-14 19:04:36 +02:00
ccfc679499
Add lyrics notification options 2023-02-14 18:47:40 +02:00
00dddace45
Add the new options to the compine method 2023-02-14 01:54:40 +02:00
876d5edd64
Create more notifications arguments (settings) 2023-02-14 01:48:48 +02:00
f476ca21f2
Complete the events system 2023-02-13 20:10:39 +02:00
1ea44b528c
Just reformat the code 2023-02-13 02:09:47 +02:00
25cce99b80
Format the code 2023-02-13 01:59:15 +02:00
339c11253f
Cerate load_config_and_parse_args 2023-02-13 01:58:34 +02:00
302c06d1d8
Implement the Default trait for the Argument struct 2023-02-13 01:11:55 +02:00
bd659cd2d9
Add more options 2023-02-13 00:57:38 +02:00
6910bc5ead
Create get track cover function 2023-02-12 23:40:29 +02:00
09755d4889
Fix typo error 2023-02-12 21:38:18 +02:00
5e281169e0
Create docs for search_for function 2023-02-12 21:37:14 +02:00
af2f270ba0
Remove the unused feature 2023-02-12 21:12:26 +02:00
2650f436a9
Format the code 2023-02-12 21:05:45 +02:00
dd0c2a5d46
Improve the project structhure 2023-02-12 21:03:17 +02:00