mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Update window.cpp
This commit is contained in:
parent
e50c246601
commit
b7bd06ad8f
@ -15,7 +15,7 @@
|
|||||||
namespace waybar::modules::sway {
|
namespace waybar::modules::sway {
|
||||||
|
|
||||||
Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
|
Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
|
||||||
: AIconLabel(config, "window", id, "{}", 0, true), bar_(bar), windowId_(-1) {
|
: AIconLabel(config, "window", id, "{title}", 0, true), bar_(bar), windowId_(-1) {
|
||||||
// Icon size
|
// Icon size
|
||||||
if (config_["icon-size"].isUInt()) {
|
if (config_["icon-size"].isUInt()) {
|
||||||
app_icon_size_ = config["icon-size"].asUInt();
|
app_icon_size_ = config["icon-size"].asUInt();
|
||||||
|
Loading…
Reference in New Issue
Block a user