Ei kuvausta

Lucas Stadler 636f93fca6 ~/.bin/warn-if-low.sh: Report battery level. 12 vuotta sitten
..
README.md 7cbd81fd35 ~/.bin/README.md: A Gentle Introduction to Various Utitility Tools. 13 vuotta sitten
events 1fc2d5936b ~/.bin/events: A script that aggregates window-manager events. 13 vuotta sitten
git-ln be3f128b40 ~/.bin/git-ln: A `git log` bealike that reverse numbers the commits. 13 vuotta sitten
l c550cf1b25 ~/.bin/l: A little script that either does ls (dirs) or less (files). 13 vuotta sitten
rt f7a9cd07cc ~/.bin/rt: Support the gh: shortcut (for my own repos). 13 vuotta sitten
update-planet.sh 6ed9bc59af ~/.bin/update-planet.sh: A script that updates the planet. 13 vuotta sitten
warn-if-low.sh 636f93fca6 ~/.bin/warn-if-low.sh: Report battery level. 12 vuotta sitten
xkbswap 558caa48b0 ~/.bin/xkbswap: Swap around the current keymap (de, us). 13 vuotta sitten

README.md

lu's little tools (and unfancy symlinks)

If you have this directory in your PATH then you'll have all of the following at your disposal.

rt

rt (*r*epository *t*ool) is a nice little utility script for [VCS][]s such as git or hg. It detects the type of repository it operates on and chooses the appropriate command. I mostly use it for cloning repositories, but it should be able to do other VCS tasks aswell.

lu ~$ rt
Usage: /home/lu/.bin/rt <cmd> <repo> [<args>]
  executes <cmd> for <repo> (passing <args> through)

lu ~$ rt c hub:anapple/confidence
# Clones a repository from GitHub (see <../.gitconfig> for the `hub` alias)

events

events is a logs window manager events to various services (currently ~/.eventstream and [statsd][]). Someday I might live out my statistical fetish and get carried away by years of weird logs to analyze.

git-ln

git-ln (use as git ln) is a git command that displays a numbered (descending) log of commits in a git repository. Use it as you'd use git log itself.

update-planet.sh

update-planet.sh does what it's name says: It delivers a new planet (usually called "earth") with updated parameters using a template file called ~/t/venus/config.ini.

In a boring parallel universe it updates my planet of RSS/ATOM feeds and creates ~/t/venus/www/planet/index.html in which the titles of the various posts are displayed, waiting for me to click them and enjoy what's behind them.

It gets invoked every two hours by the venerable cron.

warn-if-low.sh

warn-if-low.sh constantly nudges me when my battery runs low. It spawns up windows everytime it is called and thinks that my battery is a little bit neglected. I then get annoyed by it and plug the AC adapter in. Mission accomplished! (No, any other solution that doesn't create a big annoying window right in front of my eyes doesn't work.)

It's called periodically (every minute) by cron.

xkbswap

xkbswap swaps the current keyboard layout (from de to us and the other way around).