Slight Readme improvements
This commit is contained in:
parent
94fa49fe87
commit
43b02143fa
1 changed files with 10 additions and 10 deletions
20
README.md
20
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
|
the script and the travelynx token with the appropriate values, and
|
||||||
registering the plugin at the desired position in the bar.
|
registering the plugin at the desired position in the bar.
|
||||||
|
|
||||||
|
```json
|
||||||
"custom/travelynx": {
|
"custom/travelynx": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"exec": "/path/to/script.py [travelynx_token]",
|
"exec": "/path/to/script.py [travelynx_token]",
|
||||||
"interval": 20,
|
"interval": 20,
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"on-click": "x-www-browser https://travelynx.de",
|
"on-click": "x-www-browser https://travelynx.de",
|
||||||
},
|
},
|
||||||
|
```
|
||||||
|
|
||||||
Optionally, a css class can be set for the script:
|
Optionally, a css class can be set for the script:
|
||||||
|
|
||||||
```
|
```css
|
||||||
#custom-travelynx {
|
#custom-travelynx {
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
|
Loading…
Reference in a new issue