This commit is contained in:
2026-08-27 16:15:31 -04:00
parent 9b4e7b8d0b
commit 248369d0c3
5 changed files with 11 additions and 37 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
{
"output": "{{ .out }}",
"layer": "top", // Waybar at top layer
"position": "left", // Waybar position (top|bottom|left|right)
"width": 44, // Waybar width
"position": "top", // Waybar position (top|bottom|left|right)
"height": 44, // Waybar height
// Choose the order of the modules
"modules-left": ["clock", "pulseaudio"],
"modules-center": ["sway/workspaces"],
-19
View File
@@ -1,19 +0,0 @@
{
"output": "DP-2",
"layer": "top",
"position": "top",
"height": 44,
"modules-left": ["tray"],
"modules-right": ["clock"],
"modules-center": ["sway/workspaces"],
"tray": {
"icon-size": 21,
"spacing": 10
},
{{ template "workspaces" (dict "out" "DP-2" "ws" (list "5" "6" "7" "8")) }}
"clock": {
"timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "🕐 {:%H:%M 📅 %d/%m/%y}"
}
}
+5 -5
View File
@@ -5,7 +5,7 @@
"clock": {
"timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "🕐\n{:%H\n%M\n\n📅\n%d\n%m\n%y} "
"format": "🕐 {:%H:%M 📅 %d/%m/%y}"
},
"backlight": {
"device": "intel_backlight",
@@ -17,9 +17,9 @@
"warning": 30,
"critical": 15
},
"format": "🔋\n{capacity}",
"format-charging": "⚡\n{capacity}",
"format-plugged": "🔌\n{capacity}",
"format": "🔋 {capacity}",
"format-charging": "⚡ {capacity}",
"format-plugged": "🔌 {capacity}",
"format-alt": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
},
@@ -36,7 +36,7 @@
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon}\n{volume}",
"format": "{icon} {volume}",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
+4 -7
View File
@@ -1,11 +1,8 @@
{{- if eq .chezmoi.hostname "framework13pro" -}}
[{{ template "bar-primary" (dict "out" "eDP-1" "ws" (list "1" "2" "3" "4")) }},
{{ template "bar-secondary" . }}]
[{{ template "bar-primary" (dict "out" "eDP-1" "ws" (list "1" "2" "3" "4")) }}]
{{- else if eq .chezmoi.hostname "flow" -}}
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }},
{{ template "bar-secondary" . }}]
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }}]
{{- else if eq .chezmoi.hostname "gata" -}}
// TODO: fill in gata's outputs (run: swaymsg -t get_outputs)
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }},
{{ template "bar-secondary" . }}]
// TODO: confirm gata's primary output (run: swaymsg -t get_outputs)
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }}]
{{- end }}
-4
View File
@@ -80,7 +80,3 @@
background-color: @red;
color: @crust;
}
window#waybar.left #tray {
padding-bottom: 2rem;
}