fix(hyprland): custom battery to avoid battery spam

This commit is contained in:
Tibo De Peuter 2026-09-25 11:12:00 +02:00
parent 0fff8294a7
commit c548501d52
No known key found for this signature in database
GPG key ID: 9187B5FA0F4B6F6D
2 changed files with 28 additions and 1 deletions

View file

@ -77,6 +77,12 @@
}
},
"custom/battery": {
"exec": "bash ${SCRIPT_DIR}/battery.sh",
"return-type": "json",
"interval": 60
},
"custom/control-center": {
"format": "\uf085", /* */
"tooltip": false
@ -263,7 +269,7 @@
"orientation": "inherit",
"modules": [
/* Preview */
"battery",
/* "battery", */ "custom/battery",
/* Most-left */
"custom/system-shutdown",
"custom/system-reboot",