From 0f1840ecfe40117bb8b96a4e6d5d5523f0c3d3e1 Mon Sep 17 00:00:00 2001 From: RAprogramm Date: Sun, 19 Nov 2023 12:10:02 +0900 Subject: [PATCH] fix: Reformated date to save space for another modules --- Configs/.config/waybar/config.jsonc | 47 +++++++++---------- Configs/.config/waybar/modules/clock.jsonc | 5 +- .../waybar/modules/idle_inhibitor.jsonc | 4 +- 3 files changed, 25 insertions(+), 31 deletions(-) diff --git a/Configs/.config/waybar/config.jsonc b/Configs/.config/waybar/config.jsonc index e8785781ce..cba8ad9305 100644 --- a/Configs/.config/waybar/config.jsonc +++ b/Configs/.config/waybar/config.jsonc @@ -97,36 +97,33 @@ "idle_inhibitor": { "format": "{icon}", "format-icons": { - "activated": "󰥔 ", - "deactivated": " " + "activated": "󰥔", + "deactivated": "" } }, "clock": { - "format": "{:%R}", - "format-alt": "{:%R,  %A, %d %B %Y}", - "tooltip-format": "{calendar}", - "calendar": { - "mode": "month", - "mode-mon-col": 3, - // "weeks-pos": "left", - "on-scroll": 1, - "on-click-right": "mode", - "format": { - "months": "{}", - // "days": "{}", - // "weeks": "W{}", - "weekdays": "{}", - "today": "{}" + "format": "{:%R}", + "format-alt": "{:%R  %d.%m.%y}", + "tooltip-format": "{calendar}", + "calendar": { + "mode": "month", + "mode-mon-col": 3, + "on-scroll": 1, + "on-click-right": "mode", + "format": { + "months": "{}", + "weekdays": "{}", + "today": "{}" + } + }, + "actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" } - }, - "actions": { - "on-click-right": "mode", - "on-click-forward": "tz_up", - "on-click-backward": "tz_down", - "on-scroll-up": "shift_up", - "on-scroll-down": "shift_down" - } }, "tray": { diff --git a/Configs/.config/waybar/modules/clock.jsonc b/Configs/.config/waybar/modules/clock.jsonc index 605ba1db3a..b057c053a7 100644 --- a/Configs/.config/waybar/modules/clock.jsonc +++ b/Configs/.config/waybar/modules/clock.jsonc @@ -1,17 +1,14 @@ "clock": { "format": "{:%R}", - "format-alt": "{:%R,  %A, %d %B %Y}", + "format-alt": "{:%R  %d.%m.%y}", "tooltip-format": "{calendar}", "calendar": { "mode": "month", "mode-mon-col": 3, - // "weeks-pos": "left", "on-scroll": 1, "on-click-right": "mode", "format": { "months": "{}", - // "days": "{}", - // "weeks": "W{}", "weekdays": "{}", "today": "{}" } diff --git a/Configs/.config/waybar/modules/idle_inhibitor.jsonc b/Configs/.config/waybar/modules/idle_inhibitor.jsonc index 30cae66b49..d1ca6ff2b1 100644 --- a/Configs/.config/waybar/modules/idle_inhibitor.jsonc +++ b/Configs/.config/waybar/modules/idle_inhibitor.jsonc @@ -1,7 +1,7 @@ "idle_inhibitor": { "format": "{icon}", "format-icons": { - "activated": "󰥔 ", - "deactivated": " " + "activated": "󰥔", + "deactivated": "" } },