GithubHelp home page GithubHelp logo

batteryland's Introduction

BatteryLand

Yet another battery icon for your system tray This is my very first Linux-only, GTK+ and Vala app. Please don't be too harsh ;(

How it works

This app relies on UPower and DBus in order to function. It listens for the PropertiesChanged signal on the Device found in the org.freedesktop.UPower bus.

Features

  • Indicates battery percentage
  • Indicates battery status (Charging/Discharging)
  • Supports custom icon themes (see down below)

Dependencies

libayatana-appindicator3-1
libgio-2_0-0
libglib-2_0-0
libgobject-2_0-0
libgtk-3-0
libsoup-2_4-1

and related development libraries

Installation

No packages (for the time being), manual installation only.

1. Clone the repo

git clone https://github.com/Ciavi/batteryland && cd batteryland

2. Configure the project

chmod +x configure && ./configure

3. Compile and install

cd builddir/ && ninja && ninja install

4. Enjoy!

batteryland

Usage

Run with default theme

batteryland

Run with the light theme

batteryland --theme default_light

Custom themes

Just have a look at the default themes, at how they're structured and then create a folder in the /usr/local/share/it.lichtzeit.batteryland/resources/{YOUR_THEME}. Then run it like this: batteryland --theme {YOUR_THEME}

batteryland's People

Contributors

ciavi avatar

Watchers

 avatar

batteryland's Issues

Application seems unresponsive without internet connection

Currently the application fetches synchronously the change-log from GitHub thru libsoup.
Unfortunately this approach will take way too long to even throw an unrecoverable error thus the about_window needs to be redesigned to use a different approach, preferably asynchronous.

Update README.md

It may be useful, in the near future and possibly before any production-ready release, to update the README.md file to include the following info:

  • Dependencies
  • Build instructions
  • Installation instructions
  • Customization instructions (for custom battery icons)

A new issue may be created to request or point out the absence of possibly useful data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.