Giter VIP home page Giter VIP logo

obhud's Introduction

Openbox HUD

This script is intended to simplify assigning laptop-specific keys and events to actions and display slightly gnomish graphical messages in Openbox window manager. This way one can, for instance, change volume level or screen brightness, or switch primary / secondary display and see a graphical confirmation by just binding a key to a single command. Furthermore - assigning a command in Tint2 preferences allows to see alerts concerning the AC and battery state, and also suspend on critical battery level.

v0.2.3-1

Temporary file name changed: ~/tmp -> ~/obhud-tmp to avoid possible name conflict. Bug reported by entr0py - thanks!

New in 0.2.1 version

Optional use of the light package. Listed as an optional dependency. Install if brightness keys don't work for you (e.g. with Radeon graphics). See Wiki (scroll to the very bottom) for more info.

New in 0.1.9 version

Timer/Stopwatch icon. Please check "Show icons" checkbox in the relevant Tint2 executor. Or you can set execp_has_icon to 1 in the tnt2rc file. If the executor has not yet been added, running obhud --autoconfig tint2 will do the job.

New in 0.1.8 version

Timer/Stopwatch added. Please run obhud --autoconfig tint2 to add the executor.

New in 0.1.7 version

Sound added to the battery low notification. Launch obhuh --autoconfig tint2 or just replace obhud --battery low with obhud --battery LOW in Tint2 / Battery alert, to hear sound before the notification and suspending the system.

preview

Installation

Arch Linux: search the obhud package in AUR.

Quick start

Type obhud in terminal to access the menu, which allows to add default keybindings to rc.xml and commands to tint2rc file automatically. You'll also find syntax of each command here.

Alternatively you can use the obhud --autoconfig all command.

Terminal

CAUTION: I did my best to test the script and make sure it's safe. However, the --autoconfig options make changes to essential system configuration files. Making backups of ~/.config/openbox/rc.xml and ~/.config/tint2/tint2rc files is recommendable.

For more info check Wiki.

Credits

I used icons from numix-gtk-theme by Numix Project as the base of the icon set. Thanks!

obhud's People

Contributors

nwg-piotr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

obhud's Issues

Hardcoded path

Thank you for this awesome package.
Today I build obhud on my new setup.

It seems that obhud is installed to /usr/lib/python3.8/site-packages/obhud instead of /usr/lib/python3.7/site-packages/obhud

/usr/bin/obhud: line 2: cd: /usr/lib/python3.7/site-packages/obhud: No such file or directory
python: can't open file 'obhud.py': [Errno 2] No such file or directory

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.