From daf458ff7add0b2b285696b7c56f055bcad1fd20 Mon Sep 17 00:00:00 2001 From: Almarhoon Ibraheem Date: Sun, 16 Jun 2024 07:49:28 +0300 Subject: [PATCH] fix typos and improve code sample in readme --- README.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index d136294..0f0e0ff 100644 --- a/README.org +++ b/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.