Update
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"output": "DP-2",
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"height": 44,
|
||||||
|
"modules-left": ["clock"],
|
||||||
|
"modules-right": ["tray"],
|
||||||
|
"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}"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,8 +1,11 @@
|
|||||||
{{- 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: confirm gata's primary output (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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user