added lsp reference to new bat string
Browse files
+1 −1 templates/oxwm.lua
| @@ -267,7 +267,7 @@ function oxwm.bar.block.shell(config) end | ||
| 267 | 267 | function oxwm.bar.block.static(config) end |
| 268 | 268 | |
| 269 | 269 | ---Create a battery status block |
| 270 | ----@param config {format: string, charging: string, discharging: string, full: string, interval: integer, color: string|integer, underline: boolean} Block configuration | |
| 270 | +---@param config {format: string, charging: string, discharging: string, full: string, interval: integer, color: string|integer, underline: boolean, battery_name: string} Block configuration | |
| 271 | 271 | ---@return table Block configuration |
| 272 | 272 | function oxwm.bar.block.battery(config) end |
| 273 | 273 |