Skip to content

Commit

Permalink
Merge pull request #525 from RAprogramm/clock_calendar
Browse files Browse the repository at this point in the history
fix: Reformated date to save space for another modules
  • Loading branch information
prasanthrangan authored Nov 19, 2023
2 parents 9db633e + 032f651 commit 19fe399
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
9 changes: 3 additions & 6 deletions Configs/.config/waybar/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -99,24 +99,21 @@
"format": "{icon}",
"format-icons": {
"activated": "󰥔",
"deactivated": ""
"deactivated": ""
}
},

"clock": {
"format": "{:%I:%M %p}",
"format-alt": "{:%R 󰃭 %a %d %b'%y}",
"format": "{:%R}",
"format-alt": "{:%R %d.%m.%y}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
// "weeks-pos": "left",
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
// "days": "<span color='#ecc6d9'><b>{}</b></span>",
// "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b>{}</b></span>"
}
Expand Down
10 changes: 3 additions & 7 deletions Configs/.config/waybar/modules/clock.jsonc
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
"clock": {
"format": "{:%I:%M %p}",
"format-alt": "{:%R 󰃭 %a %d %b'%y}",
"format": "{:%R}",
"format-alt": "{:%R %d.%m.%y}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
// "weeks-pos": "left",
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
// "days": "<span color='#ecc6d9'><b>{}</b></span>",
// "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b>{}</b></span>"
}
Expand All @@ -23,5 +20,4 @@
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},

},
2 changes: 1 addition & 1 deletion Configs/.config/waybar/modules/idle_inhibitor.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"format": "{icon}",
"format-icons": {
"activated": "󰥔",
"deactivated": ""
"deactivated": ""
}
},

0 comments on commit 19fe399

Please sign in to comment.