♻️ refactor(bar): Rename Language widget to HyprlandLanguage for clarity
This commit is contained in:
3 files changed
+5
-2
No files matched your search
@@ -19,6 +19,7 @@ else:
|
||||
name="workspace-name",
|
||||
)
|
||||
|
||||
|
||||
def on_workspace(obj, signal):
|
||||
global activeWorkspace
|
||||
activeWorkspace = json.loads(signal.data[0])
|
||||
@@ -27,4 +28,5 @@ def on_workspace(obj, signal):
|
||||
else:
|
||||
workspace.set_label(f"W\no\nr\nk\ns\np\na\nc\ne\n\n{activeWorkspace}")
|
||||
|
||||
|
||||
connection.connect("event::workspace", on_workspace)
|
||||
Reference in new issue
Block a user