mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge pull request #2352 from Mr-Pine/hyprland-window-fix
This commit is contained in:
commit
d3520536c4
@ -25,6 +25,16 @@ Addressed by *hyprland/window*
|
|||||||
typeof: bool ++
|
typeof: bool ++
|
||||||
Show the active window of the monitor the bar belongs to, instead of the focused window.
|
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
|
# FORMAT REPLACEMENTS
|
||||||
See the output of "hyprctl clients" for examples
|
See the output of "hyprctl clients" for examples
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
|
|||||||
|
|
||||||
queryActiveWorkspace();
|
queryActiveWorkspace();
|
||||||
update();
|
update();
|
||||||
|
dp.emit();
|
||||||
|
|
||||||
// register for hyprland ipc
|
// register for hyprland ipc
|
||||||
gIPC->registerForIPC("activewindow", this);
|
gIPC->registerForIPC("activewindow", this);
|
||||||
|
Loading…
Reference in New Issue
Block a user