waybar: update

This commit is contained in:
Konstantin Koslowski 2023-12-19 11:21:40 +01:00
parent b4e0046874
commit 5c1bfb269d
3 changed files with 16 additions and 292 deletions

View file

@ -13,29 +13,26 @@
],
"modules-center": [
"custom/separator#right",
"clock",
"custom/separator#center",
"custom/media",
"custom/separator#center",
"pulseaudio",
// "custom/separator#center",
// "custom/card",
// "custom/separator#center",
// "custom/mail",
"custom/separator#left",
"custom/separator#space"
"custom/separator#left"
],
"modules-right": [
"custom/separator#right",
"network#en0",
"network#wl0",
"custom/separator#right",
"custom/separator#center",
"cpu",
"memory",
"temperature",
"custom/separator#right",
"custom/separator#space",
"custom/separator#center",
// "battery",
// "custom/separator#right",
"custom/calendar",
"clock",
// "custom/separator#center",
"custom/separator#space",
"tray"
],
"custom/separator#left": {
@ -68,36 +65,6 @@
"exec": "$HOME/.config/sway/bin/waybar_khal.py 2> /dev/null",
"on-click": "foot -T float khal interactive"
},
"custom/card": {
"format": "{icon} {}",
"tooltip-format": "{}",
"tooltip": true,
"return-type": "json",
"min-length": 3,
"max-length": 3,
"interval": 10,
"format-icons": {
"available": "",
"missing": ""
},
"escape": true,
"exec": "$HOME/.config/sway/bin/waybar_card.sh 2> /dev/null"
},
"custom/mail": {
"format": "{icon} {}",
"tooltip-format": "{}",
"tooltip": true,
"return-type": "json",
"min-length": 5,
"max-length": 6,
"interval": 30,
"format-icons": {
"unread": "",
"read": ""
},
"escape": true,
"exec": "$HOME/.config/sway/bin/waybar_mail.py 2> /dev/null"
},
"custom/media": {
"format": "{icon} {}",
"tooltip-format": "{}",