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) "position": "left", // Waybar position (top|bottom|left|right)
"width": 44, // Waybar width "width": 44, // Waybar width
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["pulseaudio", "clock"], "modules-left": ["clock", "pulseaudio"],
"modules-center": ["sway/workspaces"], "modules-center": ["sway/workspaces"],
"modules-right": ["tray", "battery", "custom/power"], "modules-right": ["tray", "battery", "custom/power"],
"sway/workspaces": { "sway/workspaces": {
@@ -41,9 +41,9 @@
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "🔋{capacity}%", "format": "🔋\n{capacity}",
"format-charging": "⚡{capacity}%", "format-charging": "⚡\n{capacity}",
"format-plugged": "🔌{capacity}%", "format-plugged": "🔌\n{capacity}",
"format-alt": "{icon}", "format-alt": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""] "format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
}, },
@@ -60,7 +60,7 @@
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
"format": "{icon}\n{volume}%", "format": "{icon}\n{volume}",
"format-muted": "", "format-muted": "",
"format-icons": { "format-icons": {
"default": ["", "", " "] "default": ["", "", " "]
@@ -73,6 +73,7 @@
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"height": 44, "height": 44,
"modules-right": ["clock"],
"modules-center": ["sway/workspaces"], "modules-center": ["sway/workspaces"],
"sway/workspaces": { "sway/workspaces": {
"persistent-workspaces": { "persistent-workspaces": {
@@ -88,5 +89,10 @@
"default": "<span color=\"#cdd6f4\">●</span>", "default": "<span color=\"#cdd6f4\">●</span>",
"focused": "<span color=\"#fab387\">●</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}"
} }
}] }]