fix documentation

This commit is contained in:
Almarhoon Ibraheem 2024-06-15 10:58:52 +03:00
parent 5a866ddf1c
commit c5c381ed91

View file

@ -69,8 +69,7 @@ Certain scenarios necessitate subscribing to events. One example from my =workfl
#+begin_src scheme #+begin_src scheme
(define (workspace-changed workspace-event) (define (workspace-changed workspace-event)
(let* ((current-tree (sway-workspace-event-current workspace-event)) (let* ((current-tree (sway-workspace-event-current workspace-event))
(workspace (sway-tree-name current-tree)) (workspace (sway-tree-name current-tree)))
(focused-workspace (focused-workspace (sway-get-workspaces))))
(display workspace))) (display workspace)))