Skip to content

Commit

Permalink
Merge pull request #2352 from Mr-Pine/hyprland-window-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays authored Jul 29, 2023
2 parents 629686f + 05e5a7e commit d352053
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions man/waybar-hyprland-window.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/modules/hyprland/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d352053

Please sign in to comment.