Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niksingh710/basic-battery-stat
Simple script utility that shows the battery state in linux. if kde connect then mobile battery too
https://github.com/niksingh710/basic-battery-stat
Last synced: about 1 month ago
JSON representation
Simple script utility that shows the battery state in linux. if kde connect then mobile battery too
- Host: GitHub
- URL: https://github.com/niksingh710/basic-battery-stat
- Owner: niksingh710
- License: wtfpl
- Created: 2023-02-17T11:25:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-11T17:19:39.000Z (3 months ago)
- Last Synced: 2024-08-11T18:51:42.969Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic Battery Stat
![preview](./assets/demo.gif)
This is a simple script utility that shows the basic stats of battery to the user.
If `qdbus` an optional dependency is installed it will fetch data from mobile devices connected to the system via kde connect.# Installation
```bash
sudo make install
```## Arch (AUR)
```
yay -S basic-battery-stat
```## Nix
##### To run
```
nix run github:niksingh710/basic-battery-stat
```##### Install
```
# flake input
bstat = {
url = "github:niksingh710/basic-battery-stat";
inputs.nixpkgs.follows = "nixpkgs";
};environment.systemPackages = [
inputs.bstat.packages.${pkgs.system}.default
];
```# Uninstallation
```bash
sudo make uninstall
```# Tip
Install `qdbus` and setup kdeconnect to get mobile device data too.
`qt5-tools` are for `qdbus` on Arch Linux.
# LICENSE
```DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004Copyright (C) 2004 Sam Hocevar
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION0. You just DO WHAT THE FUCK YOU WANT TO.
```