commands.sh

cbatticon

linux

A lightweight and fast battery icon that sits in your system tray.

More info →

Options (6)

-u, --update-intervalboolean

Show the battery icon and set the update interval to 20 seconds

Example: cbatticon {{[-u|--update-interval]}} {{20}}
-t, --list-icon-typesboolean

List available icon types

Example: cbatticon {{[-t|--list-icon-types]}}
-i, --icon-typeboolean

Show the battery icon with a specific icon type

Example: cbatticon {{[-i|--icon-type]}} {{standard|notification|symbolic}}
-p, --list-power-suppliesboolean

List available power supplies

Example: cbatticon {{[-p|--list-power-supplies]}}
-r, --critical-levelboolean

Show the battery icon and which command to execute when the battery level reaches the set critical level

Example: cbatticon {{[-r|--critical-level]}} {{5}} {{[-c|--command-critical-level]}} {{poweroff}}
-c, --command-critical-levelboolean

Show the battery icon and which command to execute when the battery level reaches the set critical level

Example: cbatticon {{[-r|--critical-level]}} {{5}} {{[-c|--command-critical-level]}} {{poweroff}}

Examples (7)

Show the battery icon in the system tray

Show the battery icon and set the update interval to 20 seconds

cbatticon [-u|--update-interval] 20

List available icon types

cbatticon [-t|--list-icon-types]

Show the battery icon with a specific icon type

cbatticon [-i|--icon-type] standard|notification|symbolic

List available power supplies

cbatticon [-p|--list-power-supplies]

Show the battery icon for a specific battery

Show the battery icon and which command to execute when the battery level reaches the set critical level

cbatticon [-r|--critical-level] 5 [-c|--command-critical-level] poweroff
made by @shridhargupta | data from tldr-pages