From 1399e306b5d9f43acd602e1e9b6e77a3bbb0bfc7 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Sun, 10 Apr 2022 11:05:08 +0200 Subject: [PATCH] Fix README --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f45eb89..ecb5216 100644 --- a/README.md +++ b/README.md @@ -563,17 +563,13 @@ tables](https://toml.io/en/v1.0.0#array-of-tables) in TOML where a module's assigned to are `Left`, `Middle`, `Right`, `WheelUp`, `WheelDown`, `WheelLeft`, and `WheelRight`. -The `on_click` table can also be written as: +The `on_click` table can also be written as inline table ```toml -on_click = { - Left = ['swayr', 'switch-to-urgent-or-lru-window'] - Right = ['kill', '{pid}'] -} +on_click = { Left = ['swayr', 'switch-to-urgent-or-lru-window'], Right = ['kill', '{pid}'] } ``` -I think this version is more readable but the version shown in the beginning of -this section is what the [toml crate](https://crates.io/crates/toml) exports. +but then it has to be on one single line. ## Questions & Patches