-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f4e4f8
commit 68f5ddb
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# cbatticon | ||
|
||
> A lightweight and fast battery icon that sits in your system tray. | ||
> More information: <https://github.com/valr/cbatticon>. | ||
- Show the battery icon in the system tray: | ||
|
||
`cbatticon` | ||
|
||
- Show the battery icon and set the update interval to 20 seconds: | ||
|
||
`cbatticon --update-interval {{20}}` | ||
|
||
- List available icon types: | ||
|
||
`cbatticon --list-icon-types` | ||
|
||
- Show the battery icon with a specific icon type: | ||
|
||
`cbatticon --icon-type {{standard|notification|symbolic}}` | ||
|
||
- List available power supplies: | ||
|
||
`cbatticon --list-power-supplies` | ||
|
||
- Show the battery icon for a specific battery: | ||
|
||
`cbatticon {{BAT0}}` | ||
|
||
- 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}}` |