mirror of
https://github.com/ebeem/guile-swayer.git
synced 2025-01-14 08:01:19 +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
|
#+STARTUP: inlineimages
|
||||||
#+OPTIONS: toc:3 ^:nil
|
#+OPTIONS: toc:3 ^:nil
|
||||||
|
|
||||||
|
@ -56,13 +55,14 @@ You can assign keybindings that execute Guile code! Obviously, running shell com
|
||||||
;; window management
|
;; window management
|
||||||
`(sway-define-keys
|
`(sway-define-keys
|
||||||
#:prefix "w" #:wk "Window"
|
#:prefix "w" #:wk "Window"
|
||||||
("v" (sway-split-container SWAY-SPLIT-VERTICAL))
|
("v" (sway-layout SWAY-LAYOUT-SPLITV))
|
||||||
("h" (sway-split-container SWAY-SPLIT-HORIZONTAL))
|
("h" (sway-layout SWAY-LAYOUT-SPLITH))
|
||||||
("f" (sway-fullscreen SWAY-FULLSCREEN-TOGGLE))
|
("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
|
#+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.
|
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