Slight Readme improvements

This commit is contained in:
Antonia 2024-09-16 20:49:17 +02:00
parent 94fa49fe87
commit 43b02143fa

View file

@ -13,7 +13,7 @@ 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.
```json
"custom/travelynx": {
"format": "{}",
"exec": "/path/to/script.py [travelynx_token]",
@ -21,11 +21,11 @@ registering the plugin at the desired position in the bar.
"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;