mirror of
https://github.com/ebeem/guile-swayer.git
synced 2025-01-13 08:01:57 +01:00
fix typos and improve code sample in readme
This commit is contained in:
parent
2ffcd7f8fe
commit
daf458ff7a
1 changed files with 5 additions and 5 deletions
10
README.org
10
README.org
|
@ -1,4 +1,3 @@
|
|||
#+title: Readme
|
||||
#+STARTUP: inlineimages
|
||||
#+OPTIONS: toc:3 ^:nil
|
||||
|
||||
|
@ -56,13 +55,14 @@ You can assign keybindings that execute Guile code! Obviously, running shell com
|
|||
;; window management
|
||||
`(sway-define-keys
|
||||
#:prefix "w" #:wk "Window"
|
||||
("v" (sway-split-container SWAY-SPLIT-VERTICAL))
|
||||
("h" (sway-split-container SWAY-SPLIT-HORIZONTAL))
|
||||
("v" (sway-layout SWAY-LAYOUT-SPLITV))
|
||||
("h" (sway-layout SWAY-LAYOUT-SPLITH))
|
||||
("f" (sway-fullscreen SWAY-FULLSCREEN-TOGGLE))
|
||||
("d" (sway-fullscreen SWAY-FULLSCREEN-TOGGLE))))
|
||||
("d" (sway-layout SWAY-LAYOUT-DEFAULT))
|
||||
("t" (sway-layout SWAY-LAYOUT-TABBED))))
|
||||
#+end_src
|
||||
|
||||
*** Subscribe for Events
|
||||
*** Subscribe to Events
|
||||
|
||||
Certain scenarios necessitate subscribing to events. One example from my =workflow= described below requires this capability. With =swayipc=, you have the ability to listen for events and execute actions in response.
|
||||
|
||||
|
|
Loading…
Reference in a new issue