2022-10-19 13:25:08 +02:00
|
|
|
#pragma once
|
|
|
|
|
#include <json/json.h>
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
namespace waybar::util {
|
2023-03-25 17:33:01 +01:00
|
|
|
std::string rewriteString(const std::string&, const Json::Value&);
|
2023-09-22 19:05:34 -03:00
|
|
|
std::string rewriteStringOnce(const std::string& value, const Json::Value& rules,
|
|
|
|
|
bool& matched_any);
|
|
|
|
|
} // namespace waybar::util
|