This commit is contained in:
2026-08-01 10:03:24 -04:00
parent 504283ca58
commit 55e1a680e4
+11 -5
View File
@@ -4,7 +4,7 @@
"position": "left", // Waybar position (top|bottom|left|right)
"width": 44, // Waybar width
// Choose the order of the modules
"modules-left": ["pulseaudio", "clock"],
"modules-left": ["clock", "pulseaudio"],
"modules-center": ["sway/workspaces"],
"modules-right": ["tray", "battery", "custom/power"],
"sway/workspaces": {
@@ -41,9 +41,9 @@
"warning": 30,
"critical": 15
},
"format": "🔋{capacity}%",
"format-charging": "⚡{capacity}%",
"format-plugged": "🔌{capacity}%",
"format": "🔋\n{capacity}",
"format-charging": "⚡\n{capacity}",
"format-plugged": "🔌\n{capacity}",
"format-alt": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
},
@@ -60,7 +60,7 @@
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon}\n{volume}%",
"format": "{icon}\n{volume}",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
@@ -73,6 +73,7 @@
"layer": "top",
"position": "top",
"height": 44,
"modules-right": ["clock"],
"modules-center": ["sway/workspaces"],
"sway/workspaces": {
"persistent-workspaces": {
@@ -88,5 +89,10 @@
"default": "<span color=\"#cdd6f4\">●</span>",
"focused": "<span color=\"#fab387\">●</span>",
},
},
"clock": {
"timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "🕐 {:%H:%M 📅 %d/%m/%y}"
}
}]