Aylur / ags

A customizable and extensible shell
GNU General Public License v3.0
1.73k stars 94 forks source link

fix: active workspace sync error #465

Open wenjinnn opened 2 weeks ago

wenjinnn commented 2 weeks ago

Related #449 Use hyprland socket2 event to update active workspace now. on my PC it doesn't cause Resource temporarily unavailable issue now.

enk-it commented 2 weeks ago

Just checked it, looks like it still throws warnings sometimes when a new windows created or deleted com.github.Aylur.ags:8192): Gjs-WARNING **: 10:07:36.060: JS ERROR: Gio.IOErrorEnum: Не удалось подключиться к: Ресурс временно недоступен _connection@resource:///com/github/Aylur/ags/service/hyprland.js:127:14 _socketStream@resource:///com/github/Aylur/ags/service/hyprland.js:145:33 messageAsync@resource:///com/github/Aylur/ags/service/hyprland.js:170:43 _syncClients@resource:///com/github/Aylur/ags/service/hyprland.js:228:36 _onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:303:32 async*_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:134:18 _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 But despite this, it works flawlessly right now Thank you!

Scelester commented 1 week ago

thank you. @wenjinnn