From 8cf73de3a20f3b8e7d6169fb26a02c819dbe8e42 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 7 Feb 2021 22:05:20 -0500 Subject: Add simple battery status and clock to xsession I love how simple this is. --- home/.local/bin/clock | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 home/.local/bin/clock (limited to 'home/.local/bin') diff --git a/home/.local/bin/clock b/home/.local/bin/clock new file mode 100755 index 00000000..4f5c8561 --- /dev/null +++ b/home/.local/bin/clock @@ -0,0 +1,8 @@ +#!/bin/sh +set -eu + +tput civis +while :; do + printf '%3s%% %s' "$(apm -l)" "$(date +'%a %H:%M')" + sleep 10 +done -- cgit 1.4.1 ();'> dontfiles
summary refs log tree commit diff
path: root/home/.local/bin/nasd (unfollow)
Commit message (Collapse)Author
2021-01-20Fix tests for diff spansJune McEnroe
2021-01-20Avoid matching ':' in make tagsJune McEnroe
Otherwise a :: rule includes one of the ':'s in the tag name.
2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe
Otherwise the "id" in "void" matches for "void id".
2021-01-19Escape \ and / in mtags search patternsJune McEnroe
2021-01-20Use mtags in source-filterJune McEnroe
2021-01-19Add mtags to generate tags for make and mdocJune McEnroe
2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe
2021-01-19Don't use a pager if reading standard inputJune McEnroe
2021-01-19Support BSD make syntax and match *.amJune McEnroe
These don't really go together, but...
2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe
Otherwise it ends up going into Shell state.
2021-01-18Allow matching lexers using first input lineJune McEnroe