Waybar/include/util/rewrite_string.hpp

11 lines
309 B
C++
Raw Normal View History

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&);
std::string rewriteStringOnce(const std::string& value, const Json::Value& rules,
bool& matched_any);
} // namespace waybar::util