Commit Graph

309 Commits

Author SHA1 Message Date
adam ad895dfd4f Fix battery auto-detect on Linux 2026-06-26 15:55:02 -04:00
adam c313a00d65 Merge branch 'master' into sysadmin-master
* master:
  Don't panic if no batteries are found on Linux.
2026-06-26 13:51:14 -04:00
adam adc5d3f6ee Don't panic if no batteries are found on Linux. 2026-06-25 16:47:09 -04:00
adam 98507d229b Merge branch 'master' into sysadmin-master
* master:
  Move battery thresholds to static defs.
  Uncouple the "impossible" branch of changed colors.
2026-06-25 12:34:55 -04:00
adam 6ed9a65651 Merge branch 'pre-master' into sysadmin-master
* pre-master:
  Add debug message to sigil generation.
  Make sgr builder more portable.
  Dynamic prompt colors cacheing loop
  New safe_source logic.
  All the debugging I could find.
  More debug prints converted
  Upgrade some debug printing to debug statements.
  Add `_debug` primitive
  Fix shell level hiding
  Hiding shell level at 1 is the default.
  Convert color script to portable POSIX shell
  Overhaul the installation and detection mechanisms
  No need to hardcode this anymore.

 Conflicts:
	startup_hooks/tcshrc
	tcshrc.prompt.final
2026-06-25 12:34:31 -04:00
adam 16ba1a5897 Move battery thresholds to static defs.
This reduces per-prompt overhead a bit, as these
never change, so it was just useless string bashing
and parsing.
2026-06-24 02:53:39 -04:00
adam 10992c1424 Uncouple the "impossible" branch of changed colors.
This improves startup speed and next-prompt speed by giving them
flatter logic paths.  At the cost of needing to maintain the basic
idea in two places.
2026-06-24 02:45:34 -04:00
adam 429f45d1e8 Add debug message to sigil generation.
This will help indicate how much time is spent on it.
2026-06-24 02:45:08 -04:00
adam 2640c6cb25 Make sgr builder more portable.
I forgot a few BASHisms in the code.
2026-06-24 02:05:21 -04:00
adam 5d12f2dc32 Dynamic prompt colors cacheing loop 2026-06-24 01:05:35 -04:00
adam a75180f622 New safe_source logic. 2026-06-24 00:46:31 -04:00
adam c37ae62f1d All the debugging I could find. 2026-06-24 00:46:26 -04:00
adam ad69be9fe2 More debug prints converted 2026-06-23 23:36:36 -04:00
adam 03b27900ff Upgrade some debug printing to debug statements. 2026-06-23 21:15:21 -04:00
adam 5d135454d9 Add _debug primitive 2026-06-23 21:14:33 -04:00
adam 265ed785db Fix shell level hiding 2026-06-23 21:13:03 -04:00
adam 746b839965 Dynamic prompt colors cacheing loop 2026-06-23 19:10:18 -04:00
adam 9af1431df8 New safe_source logic. 2026-06-23 19:09:28 -04:00
adam 920493abee All the debugging I could find. 2026-06-23 19:09:17 -04:00
adam c1ac83d115 More debug prints converted 2026-06-23 17:00:49 -04:00
adam 222bdc69bc Hiding shell level at 1 is the default. 2026-06-23 15:01:51 -04:00
adam 9ed5dfd09b Convert color script to portable POSIX shell 2026-06-22 19:33:17 -04:00
adam 8db7a5a13e Overhaul the installation and detection mechanisms 2026-06-22 09:48:15 -04:00
adam cab9f98ef9 No need to hardcode this anymore. 2026-06-19 16:41:24 -04:00
adam abb0837ce1 Upgrade some debug printing to debug statements. 2026-06-18 20:33:29 -04:00
adam 121b942543 Add _debug primitive 2026-06-18 20:29:51 -04:00
adam 23c2c0d027 Be a bit more flexible on touchpad matching. 2026-06-18 09:05:38 -04:00
adam 8c50198467 Auto-probe battery on Linux 2026-06-18 09:05:38 -04:00
adam 94ac6c00d3 Add some new sigils for variety 2026-06-18 09:05:38 -04:00
adam 6047b06d59 Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Build a color chart.
  Touchpad helper.
  Document the ssh config hooks, by example.
  Add a local path element.

 Conflicts:
	bin/setup-touch.sh
2026-06-04 03:01:04 -04:00
adam 77bc0caedd Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Build a color chart.
2026-06-03 21:47:44 -04:00
adam dd7e297d87 Build a color chart. 2026-06-03 21:46:49 -04:00
adam 2344bc4b64 Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Touchpad helper.
  Xscreensaver DND script.
2026-04-13 01:01:09 -04:00
adam 0c7ec22e76 Touchpad helper. 2026-04-09 13:55:47 -04:00
adam 1033cf458c Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Xscreensaver DND script.
2026-04-09 12:34:40 -04:00
adam 1fb96a001b Xscreensaver DND script. 2026-04-09 12:31:28 -04:00
adam d2f6375e92 Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Gracefully handle no unicode in printf
  Probe the local printf for unicode
2026-02-26 16:52:05 -05:00
adam 26b3d58155 Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Gracefully handle no unicode in printf
  Probe the local printf for unicode

 Conflicts:
	tcshrc.aliases
2026-02-15 23:00:22 -05:00
adam 91882e7c6d Setting prompt to new should re-enable dynamic 2026-02-15 22:59:18 -05:00
adam 4dafa86f71 Gracefully handle no unicode in printf 2026-02-15 22:51:51 -05:00
adam cb9a422792 Probe the local printf for unicode 2026-02-15 22:45:16 -05:00
adam 098ffd6c34 Added a whole dynamic prompt tuning command 2026-02-15 18:06:07 -05:00
adam da49679bb0 Document the ssh config hooks, by example. 2026-02-12 14:30:34 -05:00
adam ac2de353aa Add a local path element. 2026-02-12 14:30:01 -05:00
adam cd0f9a7d4d Windowmaker helper stuff. 2025-12-18 22:16:42 -05:00
adam 726ab595ae Dirstack with spaces in paths causes issues.
So for now, I'm burning a process on every command, to check for its
size by linecount.
2025-11-18 00:35:23 -05:00
adam eae518ab57 FreeBSD should use gprintf, to get Unicode chars. 2025-11-18 00:35:23 -05:00
adam 7da624a749 Change it to ^G as the tmux key. 2025-11-18 00:35:23 -05:00
adam 687b687220 Switch to AGPL-3.0 2025-08-18 11:43:00 -04:00
adam 50e8a1dfd7 Fix prompt delimiters when some tokens are disabled. 2025-08-08 14:30:09 -04:00