Update
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"output": "{{ .out }}",
|
"output": "{{ .out }}",
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
"position": "left", // Waybar position (top|bottom|left|right)
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
"width": 44, // Waybar width
|
"height": 44, // Waybar height
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["clock", "pulseaudio"],
|
"modules-left": ["clock", "pulseaudio"],
|
||||||
"modules-center": ["sway/workspaces"],
|
"modules-center": ["sway/workspaces"],
|
||||||
|
|||||||
@@ -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,7 +5,7 @@
|
|||||||
"clock": {
|
"clock": {
|
||||||
"timezone": "America/Montreal",
|
"timezone": "America/Montreal",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"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": {
|
"backlight": {
|
||||||
"device": "intel_backlight",
|
"device": "intel_backlight",
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
"warning": 30,
|
"warning": 30,
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"format": "🔋\n{capacity}",
|
"format": "🔋 {capacity}",
|
||||||
"format-charging": "⚡\n{capacity}",
|
"format-charging": "⚡ {capacity}",
|
||||||
"format-plugged": "🔌\n{capacity}",
|
"format-plugged": "🔌 {capacity}",
|
||||||
"format-alt": "{icon}",
|
"format-alt": "{icon}",
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
|
||||||
},
|
},
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
// "scroll-step": 1, // %, can be a float
|
||||||
"format": "{icon}\n{volume}",
|
"format": "{icon} {volume}",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": ["", "", " "]
|
"default": ["", "", " "]
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
{{- if eq .chezmoi.hostname "framework13pro" -}}
|
{{- if eq .chezmoi.hostname "framework13pro" -}}
|
||||||
[{{ template "bar-primary" (dict "out" "eDP-1" "ws" (list "1" "2" "3" "4")) }},
|
[{{ template "bar-primary" (dict "out" "eDP-1" "ws" (list "1" "2" "3" "4")) }}]
|
||||||
{{ template "bar-secondary" . }}]
|
|
||||||
{{- else if eq .chezmoi.hostname "flow" -}}
|
{{- else if eq .chezmoi.hostname "flow" -}}
|
||||||
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }},
|
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }}]
|
||||||
{{ template "bar-secondary" . }}]
|
|
||||||
{{- else if eq .chezmoi.hostname "gata" -}}
|
{{- else if eq .chezmoi.hostname "gata" -}}
|
||||||
// TODO: fill in gata's outputs (run: swaymsg -t get_outputs)
|
// TODO: confirm gata's primary output (run: swaymsg -t get_outputs)
|
||||||
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }},
|
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }}]
|
||||||
{{ template "bar-secondary" . }}]
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -80,7 +80,3 @@
|
|||||||
background-color: @red;
|
background-color: @red;
|
||||||
color: @crust;
|
color: @crust;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.left #tray {
|
|
||||||
padding-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user