From 77ad97ffa1810f084c8d858035d2efb79b0ca279 Mon Sep 17 00:00:00 2001 From: amnweb <16545063+forumwt@users.noreply.github.com> Date: Thu, 12 Dec 2024 00:39:49 +0100 Subject: [PATCH] style(docs): standardize quotes in widget documentation --- docs/widgets/(Widget)-Clock.md | 10 +++++----- docs/widgets/(Widget)-Media.md | 18 +++++++++--------- docs/widgets/(Widget)-Memory.md | 6 +++--- docs/widgets/(Widget)-Microphone.md | 10 +++++----- docs/widgets/(Widget)-Traffic.md | 4 ++-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/widgets/(Widget)-Clock.md b/docs/widgets/(Widget)-Clock.md index 40624bd..4d8a757 100644 --- a/docs/widgets/(Widget)-Clock.md +++ b/docs/widgets/(Widget)-Clock.md @@ -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 diff --git a/docs/widgets/(Widget)-Media.md b/docs/widgets/(Widget)-Media.md index 1fb24e3..87badca 100644 --- a/docs/widgets/(Widget)-Media.md +++ b/docs/widgets/(Widget)-Media.md @@ -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 @@ -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 diff --git a/docs/widgets/(Widget)-Memory.md b/docs/widgets/(Widget)-Memory.md index 596a42a..8b3da1e 100644 --- a/docs/widgets/(Widget)-Memory.md +++ b/docs/widgets/(Widget)-Memory.md @@ -17,9 +17,9 @@ memory: label_alt: "\uf4bc 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 diff --git a/docs/widgets/(Widget)-Microphone.md b/docs/widgets/(Widget)-Microphone.md index a84a4b0..097c418 100644 --- a/docs/widgets/(Widget)-Microphone.md +++ b/docs/widgets/(Widget)-Microphone.md @@ -16,15 +16,15 @@ microphone: type: "yasb.microphone.MicrophoneWidget" options: - label: '{icon}' - label_alt: '{icon} {level}%' + label: "{icon}" + label_alt: "{icon} {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 diff --git a/docs/widgets/(Widget)-Traffic.md b/docs/widgets/(Widget)-Traffic.md index 61d62b7..2b76d91 100644 --- a/docs/widgets/(Widget)-Traffic.md +++ b/docs/widgets/(Widget)-Traffic.md @@ -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