mirror of
https://github.com/ebeem/guile-swayer.git
synced 2025-01-14 08:01:19 +01:00
fix documentation
This commit is contained in:
parent
5a866ddf1c
commit
c5c381ed91
1 changed files with 1 additions and 2 deletions
|
@ -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)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue