Moved clock to top

This commit is contained in:
Tibo De Peuter 2022-05-25 10:49:26 +02:00
parent 6295d6d98f
commit ccdd28178e

View file

@ -3,12 +3,12 @@
//
[{
"position": "bottom", // Waybar position (top|bottom|left|right)
"position": "bottom",
"height": 30,
"spacing": 4,
"modules-left": ["sway/workspaces", "custom/media"],
"modules-right": ["idle_inhibitor", "cpu", "memory", "disk", "temperature", "pulseaudio", "battery", "clock", "tray"],
"modules-right": ["idle_inhibitor", "cpu", "memory", "disk", "temperature", "pulseaudio", "battery", "tray"],
"ipc": true,
@ -92,12 +92,6 @@
// "format-full": "",
"format-icons": ["", "", "", "", ""],
},
"clock": {
"timezone": "Europe/Brussels",
"format": "<big>{:%H:%M %d/%m/%Y}</big>", //"<big>{:%H:%M}</big>\n21-03-2022", //\n{:%d/%m/%Y}",
"format-alt": "{:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
},
"tray": {
// "icon-size": 21,
"spacing": 10,
@ -108,6 +102,14 @@
"position": "top",
"height": 20,
"modules-left": ["sway/mode"],
"modules-center": ["sway/window"]
"modules-center": ["sway/window"],
"modules-right": ["clock"],
"clock": {
"timezone": "Europe/Brussels",
"format": "{:%H:%M}",
"format-alt": "{:%H:%M %d/%m/%Y}", //"<big>{:%H:%M}</big>\n21-03-2022", //\n{:%d/%m/%Y}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
},
}]