Merge pull request #1413 from snehrbass/patch-1

Fix typo in example for sway/mode man page
This commit is contained in:
Alex 2022-02-02 12:55:34 +01:00 committed by GitHub
commit 26ea6fae32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

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
}