Merge branch 'master' into feat/image-module

This commit is contained in:
Jake Stanger
2022-02-22 23:40:59 +00:00
committed by GitHub
15 changed files with 55 additions and 22 deletions

View File

@ -86,6 +86,11 @@ The *clock* module displays the current date and time.
typeof: double ++
Threshold to be used when scrolling.
*tooltip*: ++
typeof: bool ++
default: true ++
Option to disable tooltip on hover.
View all valid format options in *strftime(3)*.
# FORMAT REPLACEMENTS

View File

@ -151,7 +151,8 @@ $text\\n$tooltip\\n$class*
"max-length": 40,
"interval": 30, // Remove this if your script is endless and write in loop
"exec": "$HOME/.config/waybar/mediaplayer.sh 2> /dev/null", // Script in resources folder
"exec-if": "pgrep spotify"
"exec-if": "pgrep spotify",
"return-type": "json"
}
```

View File

@ -69,7 +69,7 @@ Addressed by *sway/mode*
# EXAMPLES
```
"sway/window": {
"sway/mode": {
"format": " {}",
"max-length": 50
}

View File

@ -29,6 +29,10 @@ Addressed by *tray*
typeof: integer ++
Defines the spacing between the tray icons.
*reverse-direction*: ++
typeof: bool ++
Defines if new app icons should be added in a reverse order
*on-update*: ++
typeof: string ++
Command to execute when the module is updated.