Add date to waybar

This commit is contained in:
Thomas Avé 2024-01-07 14:56:12 +01:00
parent 948b03fad9
commit fd144648a9
1 changed files with 10 additions and 4 deletions

View File

@ -2,14 +2,15 @@
"layer": "top", // Waybar at top layer
"height": 30, // Waybar height (to be removed for auto height)
"spacing": 4, // Gaps between modules (4px)
"output": "eDP-1",
"output": "DP-1",
"modules-left": ["wlr/taskbar"],
"modules-center": ["hyprland/workspaces"],
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock"],
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock#clock2", "clock"],
"wlr/taskbar": {
"on-click": "activate",
"on-click-right": "close",
"format": "{icon} {title:.15}"
"format": "{icon} {title:.30}",
"all-outputs": true
},
"wireplumber": {
"format": "{icon} {volume}%",
@ -34,7 +35,12 @@
"timezone": "Europe/Brussels",
"format": "{:%H:%M:%S}",
"interval": 1,
"format-alt": "{:%Y-%m-%d %H:%M:%S}"
},
"clock#clock2": {
"timezone": "Europe/Brussels",
"format": "{:%Y-%m-%d}",
"interval": 3600,
},
"cpu": {