← 返回命令列表

Linux command

cbatticon 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

cbatticon

Example

cbatticon -u [10]

Example

cbatticon -t

Example

cbatticon -i [standard|notification|symbolic]

Example

cbatticon -p

Example

cbatticon [BAT0]

Example

cbatticon -r [5] -c [poweroff]

说明

cbatticon is a lightweight battery indicator for the system tray. It displays battery status with configurable icons and can execute commands when battery reaches critical levels. The tool is designed for minimal window managers and desktop environments that don't include battery monitoring.

参数

-u, --update-interval _seconds_
Update interval in seconds (default: 5).
-i, --icon-type _type_
Icon style: standard, notification, or symbolic.
-t, --list-icon-types
List available icon types.
-p, --list-power-supplies
List available power supplies.
-r, --critical-level _percent_
Set critical battery level percentage (default: 5%).
-c, --command-critical-level _cmd_
Command to execute when critical level is reached.
-o, --command-low-level _cmd_
Command to execute when low level is reached.
-l, --low-level _percent_
Set low battery level percentage.
-x, --command-left-click _cmd_
Command to execute when left clicking on the tray icon.
-d, --debug
Display debug information.

FAQ

What is the cbatticon command used for?

cbatticon is a lightweight battery indicator for the system tray. It displays battery status with configurable icons and can execute commands when battery reaches critical levels. The tool is designed for minimal window managers and desktop environments that don't include battery monitoring.

How do I run a basic cbatticon example?

Run `cbatticon` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u, --update-interval _seconds_ do in cbatticon?

Update interval in seconds (default: 5).