Git Product home page Git Product logo

tstat's Introduction

tstat

Linux utility to get the status of some devices.

Currently, tstat can display the following information:

  • Date and time
  • Battery status and percentage
  • Volume status and percentage
  • Wifi status
  • Bluetooth status

Configuration

tstat is configured via the config.h and config.mk files. tstat must be re-compiled and re-installed when a new configuration is set.

config.h

This file is where customisation of the status text and devices takes place.

config.mk

This file is where the compilation and installation options are specified. By default, gcc is used to compile and installation is done under /usr/local.

Requirements

In order to build tstat, libX11, alsa-lib and libpulse are required.

Installation

git clone https://github.com/icanalesm/tstat.git
cd tstat

Set the configuration in config.h and config.mk.

Compile and install

make
sudo make install

Execution

To get the status, simple execute

tstat

For window managers that use the WM_NAME X11 property of the root window to set the status bar (e.g. dwm), tstat can be executed with the set command

tstat set

Acknowledgements

tstat is based on slstatus.

tstat's People

Contributors

icanalesm avatar

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.