mirror of
https://github.com/nwg-piotr/nwg-panel.git
synced 2024-11-20 17:56:13 +03:00
refresh workspaces on createworkspace
event #321
This commit is contained in:
parent
4852c8fa5e
commit
d4598c8843
@ -193,7 +193,7 @@ def hypr_watcher():
|
||||
last_client_addr = client_addr
|
||||
continue
|
||||
|
||||
if event_name == "focusedmon":
|
||||
if event_name in ["focusedmon", "createworkspace"]:
|
||||
monitors, workspaces, clients, activewindow, activeworkspace = h_modules_get_all()
|
||||
for item in common.h_workspaces_list:
|
||||
GLib.timeout_add(0, item.refresh, monitors, workspaces, clients, activewindow, activeworkspace)
|
||||
|
Loading…
Reference in New Issue
Block a user