LinuxCommandLibrary

cbatticon

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

TLDR

Show the battery icon in the system tray

$ cbatticon
copy


Show the battery icon and set the update interval to 20 seconds
$ cbatticon --update-interval [20]
copy


List available icon types
$ cbatticon --list-icon-types
copy


Show the battery icon with a specific icon type
$ cbatticon --icon-type [standard|notification|symbolic]
copy


List available power supplies
$ cbatticon --list-power-supplies
copy


Show the battery icon for a specific battery
$ cbatticon [BAT0]
copy


Show the battery icon and which command to execute when the battery level reaches the set critical level
$ cbatticon --critical-level [5] --command-critical-level [poweroff]
copy

Copied to clipboard