waybar: update clock format and move it to center
This commit is contained in:
@@ -7,12 +7,14 @@
|
|||||||
"disk",
|
"disk",
|
||||||
"sway/mode"
|
"sway/mode"
|
||||||
],
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"sway/language",
|
"sway/language",
|
||||||
"network",
|
"network"
|
||||||
"clock"
|
|
||||||
],
|
],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"all-output": true,
|
"all-output": true,
|
||||||
@@ -59,7 +61,10 @@
|
|||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"locale": "ru_RU.UTF-8",
|
"locale": "ru_RU.UTF-8",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
|
"mode": "year",
|
||||||
|
"mode-mon-col": 3,
|
||||||
"format": {
|
"format": {
|
||||||
|
"months": "<span color='#ddfc74'><b>{}</b></span>",
|
||||||
"today": "<span color='#ffcc66'><b><u>{}</u></b></span>"
|
"today": "<span color='#ffcc66'><b><u>{}</u></b></span>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user