waybar: update

This commit is contained in:
Konstantin Koslowski 2024-12-08 11:33:48 +01:00
parent a8c2ab9399
commit 715ab80b1e

View file

@ -28,11 +28,10 @@
"custom/separator#center", "custom/separator#center",
"memory", "memory",
"custom/separator#center", "custom/separator#center",
"custom/separator#space",
"temperature", "temperature",
"custom/separator#space", "custom/separator#space",
"custom/separator#center", "custom/separator#center",
"battery",
"custom/separator#center",
"custom/separator#space", "custom/separator#space",
"tray" "tray"
], ],
@ -48,25 +47,8 @@
"custom/separator#right": { "custom/separator#right": {
"format": "<span foreground='#268bd2'></span>" "format": "<span foreground='#268bd2'></span>"
}, },
"custom/calendar": {
"format": "{icon} {}",
"tooltip-format": "{}",
"tooltip": true,
"return-type": "json",
"min-length": 25,
"max-length": 40,
"interval": 300,
"format-icons": {
"now": "<span foreground='#fb4934'></span>",
"today": "<span foreground='#b8bb26'></span>",
"idle": ""
},
"escape": false,
"exec": "$HOME/.config/sway/bin/waybar_khal.py 2> /dev/null",
"on-click": "foot -T float khal interactive"
},
"custom/media": { "custom/media": {
"format": "{icon} {}", "format": "{0} {1}",
"tooltip-format": "{}", "tooltip-format": "{}",
"tooltip": true, "tooltip": true,
"return-type": "json", "return-type": "json",
@ -139,7 +121,7 @@
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"temperature": { "temperature": {
"thermal-zone": 2, "thermal-zone": 0,
"critical-threshold": 60, "critical-threshold": 60,
"format-icons": ["", ""], "format-icons": ["", ""],
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C" "format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C"