From 43b02143fa2d03f549452e895eb13e8904861f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonia=20P=C3=A9rez-Cerezo?= Date: Mon, 16 Sep 2024 20:49:17 +0200 Subject: [PATCH] Slight Readme improvements --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 844fdf5..cfb40df 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,19 @@ Add the following lines to your waybar config, replacing the path to the script and the travelynx token with the appropriate values, and registering the plugin at the desired position in the bar. - - "custom/travelynx": { - "format": "{}", - "exec": "/path/to/script.py [travelynx_token]", - "interval": 20, - "return-type": "json", - "on-click": "x-www-browser https://travelynx.de", - }, - +```json +"custom/travelynx": { + "format": "{}", + "exec": "/path/to/script.py [travelynx_token]", + "interval": 20, + "return-type": "json", + "on-click": "x-www-browser https://travelynx.de", +}, +``` Optionally, a css class can be set for the script: -``` +```css #custom-travelynx { background-color: #000000; padding: 0 5px;