This is a simple battery indicator for system tray
Project description
Batticon is simple system tray widget that show battery status. Written with GTK 3.
To use, just place it where you want and start.
Themes can be placed in:
~/.config/batticon/themes/
/usr/share/batticon/themes/
or in 'themes' directory where program lay.
Also can be placed config file, but it is also can be in:
/etc/batticon
In settings file you can set a theme by theme name and timeout interval to
update indicator.
You can create your own theme. It is very easy to so. You should just remember
about next things:
1. All your icons should be or svg or png format.
2. You should have icon with name 'default.<png|svg>'
3. You should create 2 sets of icons - one set for charging battery and one for
discharging battery. Actually, it can be equal set of icons, but it should have
different names (<battery_percent>-charging.<png|svg> for charging and similar
but with 'discharging' instead 'charging' for discharging battery mode.
Be cautious - program depends on pygobject for GTK3 and this package usually
distributed by OS itself. For example, it just doesn't work if I trying to
install it from pip in my Arch laptop.
To use, just place it where you want and start.
Themes can be placed in:
~/.config/batticon/themes/
/usr/share/batticon/themes/
or in 'themes' directory where program lay.
Also can be placed config file, but it is also can be in:
/etc/batticon
In settings file you can set a theme by theme name and timeout interval to
update indicator.
You can create your own theme. It is very easy to so. You should just remember
about next things:
1. All your icons should be or svg or png format.
2. You should have icon with name 'default.<png|svg>'
3. You should create 2 sets of icons - one set for charging battery and one for
discharging battery. Actually, it can be equal set of icons, but it should have
different names (<battery_percent>-charging.<png|svg> for charging and similar
but with 'discharging' instead 'charging' for discharging battery mode.
Be cautious - program depends on pygobject for GTK3 and this package usually
distributed by OS itself. For example, it just doesn't work if I trying to
install it from pip in my Arch laptop.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
batticon-0.1.2.tar.gz
(141.8 kB
view details)
File details
Details for the file batticon-0.1.2.tar.gz
.
File metadata
- Download URL: batticon-0.1.2.tar.gz
- Upload date:
- Size: 141.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 383bf3ddc4501269bb662521d635c955518fbe26ab5cf9dfbd184e13f0cd95fb |
|
MD5 | dcc73b401ca80f1215d23dacf1ea5ea2 |
|
BLAKE2b-256 | 0e5b4bbe99dbc1eb8105f052687495b4ab97aed0a22319f41d86dd24e6b728e1 |