waybar/include/util
Aleksei Bavshin 67efe1af89
refactor(clock): remove struct waybar_time
The structure was used to pass the locale instance to the date
formatter. All the supported versions of `fmt` are passing the locale
parameter via `FormatContext.locale()` so we can remove the struct and
simplify the code.

While we at it, drop `date::make_zoned` in favor of CTAD on a
`date::zoned_time` constructor.
2023-01-20 22:50:01 -08:00
..
clara.hpp refactor: lint 2022-04-06 08:37:19 +02:00
command.hpp refactor: lint 2022-04-06 08:37:19 +02:00
date.hpp refactor(clock): remove struct waybar_time 2023-01-20 22:50:01 -08:00
format.hpp fix: lint 2022-10-17 09:19:00 +02:00
json.hpp fix: adapt to fmt 9.0.0 breaking changes 2022-07-13 22:36:32 -07:00
rewrite_title.hpp Refactor rewriteTitle 2022-10-19 13:25:08 +02:00
rfkill.hpp refactor: lint 2022-04-06 08:37:19 +02:00
SafeSignal.hpp refactor: lint 2022-04-06 08:37:19 +02:00
sanitize_str.hpp utils: add sanitize_str to encode '&' etc. 2022-10-17 00:31:19 +02:00
sleeper_thread.hpp refactor: lint 2022-04-06 08:37:19 +02:00
string.hpp ltrim and rtrim take argument by const-ref 2022-02-05 21:02:58 +01:00
ustring_clen.hpp Use g_unichar_iswide to properly align calendar on CJK locales 2021-01-31 11:53:53 -08:00