Skip to content

Commit

Permalink
style(docs): standardize quotes in widget documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
amnweb committed Dec 11, 2024
1 parent bd9e362 commit 77ad97f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
10 changes: 5 additions & 5 deletions docs/widgets/(Widget)-Clock.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
clock:
type: "yasb.clock.ClockWidget"
options:
label: '\uf017 {%H:%M:%S}'
label_alt: '\uf017 {%d-%m-%y %H:%M:%S}'
label: "uf017 {%H:%M:%S}"
label_alt: "\uf017 {%d-%m-%y %H:%M:%S}"
locale: ""
update_interval: 1000
timezones: []
callbacks:
on_left: 'toggle_label'
on_middle: 'do_nothing'
on_right: 'next_timezone'
on_left: "toggle_label"
on_middle: "do_nothing"
on_right: "next_timezone"
```
## Description of Options
Expand Down
18 changes: 9 additions & 9 deletions docs/widgets/(Widget)-Media.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
media:
type: "yasb.media.MediaWidget"
options:
label: '{title} - {artist}'
label_alt: '{title}'
label: "{title} - {artist}"
label_alt: "{title}"
hide_empty: true
callbacks:
on_left: 'toggle_label'
on_middle: 'do_nothing'
on_right: 'do_nothing'
on_left: "toggle_label"
on_middle: "do_nothing"
on_right: "do_nothing"
max_field_size:
label: 20
label_alt: 30
Expand All @@ -43,10 +43,10 @@ media:
thumbnail_padding: 8
thumbnail_corner_radius: 16
icons:
prev_track: '\ue892'
next_track: '\ue893'
play: '\ue768'
pause: '\ue769'
prev_track: "\ue892"
next_track: "\ue893"
play: "\ue768"
pause: "\ue769"
```
## Description of Options
Expand Down
6 changes: 3 additions & 3 deletions docs/widgets/(Widget)-Memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ memory:
label_alt: "<span>\uf4bc</span> VIRT: {virtual_mem_percent}% SWAP: {swap_mem_percent}%"
update_interval: 5000
callbacks:
on_left: 'toggle_label'
on_middle: 'do_nothing'
on_right: 'do_nothing'
on_left: "toggle_label"
on_middle: "do_nothing"
on_right: "do_nothing"
memory_thresholds:
low: 25
medium: 50
Expand Down
10 changes: 5 additions & 5 deletions docs/widgets/(Widget)-Microphone.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
microphone:
type: "yasb.microphone.MicrophoneWidget"
options:
label: '<span>{icon}</span>'
label_alt: '<span>{icon}</span> {level}%'
label: "<span>{icon}</span>"
label_alt: "<span>{icon}</span> {level}%"
icons:
normal: "\uf130"
muted: "\uf131"
callbacks:
on_left: 'toggle_mute'
on_middle: 'toggle_label'
on_right: 'exec cmd.exe /c start ms-settings:sound'
on_left: "toggle_mute"
on_middle: "toggle_label"
on_right: "exec cmd.exe /c start ms-settings:sound"
```
## Description of Options
Expand Down
4 changes: 2 additions & 2 deletions docs/widgets/(Widget)-Traffic.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ traffic:
label_alt: "Download {download_speed} | Upload {upload_speed}"
update_interval: 1000
callbacks:
on_left: 'toggle_label'
on_right: 'exec cmd /c Taskmgr'
on_left: "toggle_label"
on_right: "exec cmd /c Taskmgr"
```
## Description of Options
Expand Down

0 comments on commit 77ad97f

Please sign in to comment.