Add CGM direction arrow to Waybar

This commit is contained in:
2023-05-24 19:07:34 +02:00
parent 87cbce4084
commit bcec83476c
2 changed files with 33 additions and 7 deletions

View File

@@ -80,8 +80,14 @@
"interval": 2
},
"custom/cgm-value": {
"format": "<span foreground='#88C0D0'>󱄦</span> {}",
"format": "<span foreground='#88C0D0'>󱄦</span> {}{icon} ",
"exec": "$HOME/.local/share/scripts/cgm-value",
"interval": 2
"interval": 2,
"return-type":"json",
"format-icons": {
"up": "󰁜",
"down": "󰁃",
"flat": "󰁔",
}
}
}