Merge pull request #1730 from herlev/hyprland-window-rewrite

This commit is contained in:
Alex
2022-10-20 10:48:57 +02:00
committed by GitHub
7 changed files with 72 additions and 34 deletions

View File

@ -24,7 +24,6 @@ class Window : public AIconLabel, public sigc::trackable {
std::tuple<std::size_t, int, std::string, std::string, std::string, std::string> getFocusedNode(
const Json::Value& nodes, std::string& output);
void getTree();
std::string rewriteTitle(const std::string& title);
void updateAppIconName();
void updateAppIcon();

View File

@ -0,0 +1,8 @@
#pragma once
#include <json/json.h>
#include <string>
namespace waybar::util {
std::string rewriteTitle(const std::string&, const Json::Value&);
}