diff --git a/man/waybar-hyprland-window.5.scd b/man/waybar-hyprland-window.5.scd index 5e7b4d5e..3e1926b7 100644 --- a/man/waybar-hyprland-window.5.scd +++ b/man/waybar-hyprland-window.5.scd @@ -25,6 +25,16 @@ Addressed by *hyprland/window* typeof: bool ++ Show the active window of the monitor the bar belongs to, instead of the focused window. +*icon*: ++ + typeof: bool ++ + default: false ++ + Option to hide the application icon. + +*icon-size*: ++ + typeof: integer ++ + default: 24 ++ + Option to change the size of the application icon. + # FORMAT REPLACEMENTS See the output of "hyprctl clients" for examples diff --git a/src/modules/hyprland/window.cpp b/src/modules/hyprland/window.cpp index 81c864d1..60de074c 100644 --- a/src/modules/hyprland/window.cpp +++ b/src/modules/hyprland/window.cpp @@ -26,6 +26,7 @@ Window::Window(const std::string& id, const Bar& bar, const Json::Value& config) queryActiveWorkspace(); update(); + dp.emit(); // register for hyprland ipc gIPC->registerForIPC("activewindow", this);