Feature: sway/window can show 'shell' parameter

This commit is contained in:
TheRealLorenz
2022-08-10 10:34:51 +02:00
parent 77bea7c182
commit 99ed2bb7fa
2 changed files with 17 additions and 11 deletions

View File

@ -21,7 +21,7 @@ class Window : public AIconLabel, public sigc::trackable {
private:
void onEvent(const struct Ipc::ipc_response&);
void onCmd(const struct Ipc::ipc_response&);
std::tuple<std::size_t, int, std::string, std::string, std::string> getFocusedNode(
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);
@ -35,6 +35,7 @@ class Window : public AIconLabel, public sigc::trackable {
std::string app_class_;
std::string old_app_id_;
std::size_t app_nb_;
std::string shell_;
unsigned app_icon_size_{24};
bool update_app_icon_{true};
std::string app_icon_name_;