Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new modules for battery status, makefile, foreground jobs, made modules reorderable, plus other fixes and upgrades #36

Open
wants to merge 118 commits into
base: master
Choose a base branch
from

Conversation

pjuhasz
Copy link

@pjuhasz pjuhasz commented Sep 22, 2013

Hello,

I've been using your git-prompt for a while, adding new modules and features from time to time.
A few days ago I found your github, so I decided to fork and add my changes so that they can be merged back to the main repo.

Rationale for the new features:

  • when I'm on a laptop, I want to know how much battery life still remains - this information is displayed by Unicode bar-chart drawing characters to save space.
  • I usually have several tabs open in gnome-terminal, and some of the shells run programs in the background (like editors or number-crunching scripts). I like to be reminded not to close these tabs because I'd lose the background processes with them.
  • If a project has a makefile (as most software projects do), I like to be able to tell with a glance whether the executables are up-to-date or I have to remake them.

Apart from these, I made the order of modules configurable and fixed a few minor things.

Juhász Péter added 30 commits September 21, 2013 21:34
Juhász Péter and others added 30 commits October 20, 2013 13:43
…empty (e.g. when an ssh connection is started from within a screen session)
…empty (those responsible for the previous fix were fixed)
…only if not inside a screen/tmux on the remote system
…utput is unreliable if there are more than one batteries in the system, use the /sys/class/power_supply/BAT0 filesystem directly instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants