aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/waybar/modules.json
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-05-05 02:41:21 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-05-05 02:41:21 +0300
commitc17163ea468fd368a2548893ecba088e1cf467e6 (patch)
treeeaf3595c8e61ee183ed049133ff91acf30814790 /dotfiles/.config/waybar/modules.json
parent6e1e1197e02e9582ca68b2bca415d2b3f834afba (diff)
downloadswayrice-c17163ea468fd368a2548893ecba088e1cf467e6.tar.gz
swayrice-c17163ea468fd368a2548893ecba088e1cf467e6.zip
waybar: calendar style changes
Use japanese locale for the calendar. I just like having those as the days of the week ¯\_(ツ)_/¯. Also fixed css a bit.
Diffstat (limited to 'dotfiles/.config/waybar/modules.json')
-rw-r--r--dotfiles/.config/waybar/modules.json17
1 files changed, 14 insertions, 3 deletions
diff --git a/dotfiles/.config/waybar/modules.json b/dotfiles/.config/waybar/modules.json
index ed3dff1..0d3cb9f 100644
--- a/dotfiles/.config/waybar/modules.json
+++ b/dotfiles/.config/waybar/modules.json
@@ -18,11 +18,22 @@
"spacing": 10
},
"clock": {
- "format": "{:%Y年%m月%d日 %H:%M:%S}",
+ "locale": "ja_JP.UTF-8",
+ "format": "{:L%Y年%m月%d日(%a)%H:%M:%S}",
+ "format-alt": "{:%H:%M:%S}",
"tooltip-format": "{calendar}",
"calendar": {
- "mode": "year",
- "mode-mon-col": 3
+ "mode" : "month",
+ "on-scroll" : 1,
+ "format": {
+ "months": "<span size='13pt'><b>{}</b></span>",
+ "weekdays": "<span size='14pt'>{}</span>",
+ "today": "<span color=\"#b73030\"><b>{}</b></span>"
+ }
+ },
+ "actions": {
+ "on-scroll-up": "shift_up",
+ "on-scroll-down": "shift_down"
},
"interval": 1
},