Commit Graph

57 Commits

Author SHA1 Message Date
Djairo Hougee 809e51ae0f Merge branch 'main' of ssh://git.djairo.dev:2222/djairoh/polybar-now-playing 2025-02-08 11:29:00 +01:00
Djairo Hougee 8ae2cefc23 Update README.md 2025-02-06 16:37:37 -06:00
Djairo Hougee c61653aa63 Update README.md 2025-02-06 16:34:03 -06:00
Djairo Hougee f8085bce7c feat: customizable placeholder strings as metadata_field option 2024-06-11 01:59:25 +02:00
Djairo Hougee 6ce280bb9c feat: mangled cfg/data structs so the player_prefixes field now accepts strings as well, allowing for more customization 2024-04-23 23:59:52 +02:00
Djairo Hougee 2ea0e57338 fix: fixed a bug where incorrect characters are replaced from the format string 2024-04-23 20:50:15 +02:00
Djairo Hougee d34e842f3e fix: workaround for a bug where playing players are somtimes incorrectly reported as paused 2024-04-22 17:18:48 +02:00
Djairo Hougee c074b4279e feat: added escape_chars config option 2024-01-21 19:22:22 +01:00
Djairo Hougee c56a59b126 fix: updated readme 2023-11-05 16:27:10 +01:00
Djairo Hougee 137c3b1456 feat: added support for formatting strings 2023-11-05 16:24:49 +01:00
Djairo Hougee 1fbdd2463c readme 2023-07-10 07:24:43 +02:00
Djairo Hougee 723808cf1d small changes to resource allocation, marginally increasing efficiency 2023-05-12 15:33:19 +02:00
Djairo Hougee e3e4953560 tweak to documentation 2023-05-12 14:42:26 +02:00
Djairo Hougee c1bbc9a188 updated player_priorities to use a HashMap over a Vec, for faster priority finding 2023-05-12 14:31:53 +02:00
Djairo Hougee dd7da4533b changed 2 functions to be slightly more efficient (u8 instead of i32) 2023-05-12 14:31:06 +02:00
Djairo Hougee 69bfa65d13 updated logging to be configurable from the CLI. 2023-05-12 12:58:45 +02:00
Djairo Hougee b53dacbe79 changed name of 'debug' var in cli 2023-05-12 12:57:40 +02:00
Djairo Hougee bd9d08414c forgor one line of documentation 2023-05-11 22:45:21 +02:00
Djairo Hougee 9ce630b796 quick fix to documentation 2023-05-11 17:08:29 +02:00
Djairo Hougee c594cd8a6a inline code documentation completed to satisfactory level 2023-05-11 17:00:38 +02:00
Djairo Hougee bc1a1c00a4 started documentation effort 2023-05-11 14:05:59 +02:00
Djairo Hougee 2c433398e0 updated some error output 2023-05-11 08:53:44 +02:00
Djairo Hougee dcb8c04513 updated field names in Data struct 2023-05-11 08:16:14 +02:00
Djairo Hougee 8b4662de7c improved rating_string construction, somewhat 2023-05-11 08:15:39 +02:00
Djairo Hougee 6e1f84c2bd updated cargo file 2023-05-10 17:08:13 +02:00
Djairo Hougee 5a8f4a0c64 small changes to config/cli 2023-05-10 16:30:55 +02:00
Djairo Hougee 5fe9ef131b made rating_icons an optional value in Config 2023-05-10 16:18:03 +02:00
Djairo Hougee bb8f359f6d quick improvement to Field struct 2023-05-10 16:04:19 +02:00
Djairo Hougee 89532da395 various small optimizations to print function 2023-05-10 16:03:59 +02:00
Djairo Hougee c17e11e542 removed unused imports 2023-05-10 14:42:28 +02:00
Djairo Hougee 7c8e57bb09 whitespace 2023-05-10 14:40:42 +02:00
Djairo Hougee 645622a902 switched from Duration struct to u64 2023-05-10 14:39:50 +02:00
Djairo Hougee 01bd29d021 switched from Duration struct to u64 2023-05-10 14:39:36 +02:00
Djairo Hougee 3722cd364d removed extraneous field from config 2023-05-10 14:36:22 +02:00
Djairo Hougee a87e7828ff fixed a bug with non-utf8 characters in output 2023-05-10 14:32:06 +02:00
Djairo Hougee ba587bac48 small change to output 2023-05-10 14:06:49 +02:00
Djairo Hougee a30d2a19ac small change to config 2023-05-10 14:04:25 +02:00
Djairo Hougee 476212675e refactor of config default 2023-05-10 13:59:38 +02:00
Djairo Hougee eb0c46a2e1 fixed rounding bug during rating handling 2023-05-10 13:50:16 +02:00
Djairo Hougee fd3c041e28 added fuzzy cutoff functionality 2023-05-09 19:47:55 +02:00
Djairo Hougee d6438e30f2 slightly more efficient if else structure 2023-05-09 17:58:11 +02:00
Djairo Hougee 3d64405349 big improvements to the way the active player is found 2023-05-09 17:51:44 +02:00
Djairo Hougee f709f23b57 made break_character optional 2023-05-09 17:50:31 +02:00
Djairo Hougee bdfdfa61cd better error handling in main 2023-05-09 17:50:02 +02:00
Djairo Hougee cf69ad0c19 overhaul of print_text functions 2023-05-09 17:49:48 +02:00
Djairo Hougee ecfbe8f147 big overhaul 2023-05-09 13:41:54 +02:00
Djairo Hougee 3be9b6ccea changes to update_message 2023-05-08 19:37:35 +02:00
Djairo Hougee 9874686595 Merge branch 'main' of https://github.com/djairoh/polybar-mpris-playing
Yeah basically i fucked up by not pushing these earlier; whoops
2023-05-08 17:36:44 +02:00
Djairo Hougee 2c56aa0ac2 merge fix 2023-05-08 17:36:42 +02:00
Djairo Hougee 62a81cfaab working on refactoring some functions 2023-05-08 16:41:30 +02:00