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