Commit Graph

344 Commits

Author SHA1 Message Date
ffcaf71f82 tmux: add pressure-based activity tracker
Add heartbeat.sh that tracks session active time using three native
tmux signals: client input (+5), window output (+2), and copy mode
(+2), with -1 decay per tick. Score drives a block bar indicator
and accumulated active time counter. Resets on tmux server restart.

Status bar updates:
- Heartbeat pill with pressure bar right of clock
- Responsive breakpoints: hide network/battery <120 cols, date <80
- Click clock/date to toggle condensed view
- Click heartbeat to instant-lock session
- Static colon in clock (replaces shell-based blinker)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 17:14:30 +00:00
e686b6396d Add spinning donut screensaver with matrix rain
Terminal screensaver written in C, triggered by tmux lock-after-time
(180s idle), bind S, or `donut` alias. Features:

- Spinning torus with precomputed trig tables, randomized rotation
- Matrix rain overlay — donut luminance colors the rain characters
- 64-shade teal foreground palette with gradual dimming over time
- Chunky 7x5 clock with shadow, blinking colon, periodic drift
- Activity time display below clock (read from heartbeat state file)
- Rim lighting and ambient occlusion on donut edges
- RLE escape state machine — only emits SGR on shade transitions
- Row-skip rendering — empty/leading/trailing regions use cursor jumps
- Projection runs at adaptive rate (24fps bright, 6fps dim)
- select()-based frame pacing, deep sleep after 2hr (1fps)
- Resume detection — flushes stale PTY output after sleep/lock
- Mouse click to quit (SGR + X11 protocols, release filtered)
- write_all() retries partial writes, SIGPIPE handled gracefully
- Alternate screen buffer preserves shell scrollback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 16:56:44 +00:00
5578bbd31f Fix tmux bell/selection rendering and mouse issues
Use 256-color codes for bell-style and mode-style to work around
tmux 3.6 hex color parsing bug that broke rendering and click targets.
Fix terminal-overrides accumulating on reload. Exit copy mode after
mouse selection. Update prefix indicator to amber.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 10:15:02 +00:00
8138d44c73 Replace red with amber, unify palette, add fetch/pull aliases
- Add git aliases: f (fetch), p (pull) and shell aliases: gf, gp
- Replace all #F40404 (red) with #F88C14 (amber) across prompt, gitconfig,
  vim, bat theme, and tmux scripts for colourblind-friendly palette
- Standardise hex case to uppercase throughout
- Unify #728cb8 → #7290B8 (fix blue inconsistency)
- Replace unique #8787AF with palette #7290B8 in gitconfig
- Remove unused red colour definition from prompt.zsh
- Update dark diff backgrounds from red-tinted to amber-tinted

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 17:38:47 +00:00
e7a2b3c10e Fix bat install on Debian: symlink batcat to bat
Debian's apt package installs the binary as 'batcat' due to a naming
conflict. Add a symlink to /usr/local/bin/bat after apt install so the
dotfiles can reference 'bat' consistently across all platforms.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 15:14:47 +00:00
dc6b117016 Enhance shell widgets, tmux status, and git colors
- Add frecency scoring + git status boost to ^E edit widget
- Add network latency indicator to tmux status bar (wifi/wired detection, 10s cache)
- Add powerline separators between tmux status sections
- Swap git status colors: modified=bluish grey, untracked=amber (prompt, gitconfig, widget)
- Remove bold from feature branch name in prompt
- Add gw (git show) and gdm (diff against default branch) aliases

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 14:45:21 +00:00
53bd2f49ef bat build and zsh widget perf 2026-02-24 20:26:04 +00:00
faad821c77 terminal tool colours 2026-02-24 20:00:53 +00:00
e8165041d9 fix: codespaces gitconfig override 2026-02-24 19:02:28 +00:00
76f61dc5fe tmux, vim, terminal theming 2026-02-24 18:57:23 +00:00
7d2825f9d1 profile: invalidate PATH cache when base PATH changes
Store the base PATH alongside the cached result so the cache is
only used when the pre-modification PATH still matches.  This
prevents stale entries when the shell inherits a different base
PATH (e.g. inside tmux or after system updates).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-24 16:10:12 +00:00
6fd897b8b5 Merge remote-tracking branch 'origin/master' 2026-02-24 16:08:51 +00:00
2acae0b4f2 vim: add plugins, tmux: status bar, fix Ctrl+A clash
- Add vim-gitgutter, vim-commentary, vim-surround via install
script
- Rebind git log widget from Ctrl+A to Ctrl+T (tmux prefix
clash)
- Add date, time, and battery indicator to tmux status
bar
- Set tmux clock colour to teal

Co-authored-by: Copilot
<223556219+Copilot@users.noreply.github.com>
2026-02-24 16:08:10 +00:00
409bc6fef5 fix: install outputs, mise keyrings, termcolor 2026-02-23 08:49:43 -08:00
b048694363 chore: bump .dockerignore 2026-02-13 15:25:26 +00:00
eb958a36e0 feat: install script re-org 2026-02-13 15:13:12 +00:00
faf3bf2dfc feat: re-organise files dir 2026-02-13 14:59:25 +00:00
6461654bff feat: zsh widgets, tmux session handling 2026-02-13 12:00:02 +00:00
61bf7b366b fix: ^F escape 2026-02-12 23:00:45 +00:00
6b47b82651 feat: prompt and widget 2026-02-12 22:39:55 +00:00
6cb7226273 feat: split zshrc, add mouse scrolling to vim/delta 2026-02-12 18:35:07 +00:00
27a8152c25 fix: codespaces widgets and shortcuts 2026-02-12 18:13:09 +00:00
5efa129577 fix: codespaces widgets 2026-02-12 17:11:08 +00:00
f5ccef0b78 feat: tmux mouse mode 2026-02-12 17:02:08 +00:00
6164746811 feat: logging, remote widget, ci fix 2026-02-12 16:44:11 +00:00
c103e71b07 chore: fix ci 2026-02-12 16:24:27 +00:00
8ef3745516 chore: fix ci 2026-02-12 16:17:28 +00:00
55f70cef49 chore: fix ci 2026-02-12 16:06:22 +00:00
e143580993 chore: fix ci 2026-02-12 16:01:46 +00:00
73a14218a8 feat: tmux and widgets 2026-02-12 15:44:56 +00:00
2486afd158 feat: omz -> direct, z -> zoxide, rg and fzf bindings 2026-02-12 10:35:02 +00:00
41c8b97786 fix: brew no suggestions 2026-02-12 10:14:40 +00:00
640923e477 feat: gh codespaces alias 2026-02-02 18:43:50 +00:00
6e58b3e95d chore: sync mise deps, gh copilot extension 2026-02-02 15:59:55 +00:00
Copilot
d872eda9ee Consolidate mise tool installations and fix PATH activation (#71)
* Initial plan

* Consolidate mise tools installation and fix GitHub Copilot CLI package

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>

* Revert copilot package changes and remove --jobs flag from mise install

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>

* fix: permissions

* Move GitHub CLI (gh) installation to mise

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>
Co-authored-by: Andrejus <git@andrejus.uk>
2026-01-29 18:24:58 +00:00
dependabot[bot]
879ccf7bad build(deps): bump actions/checkout from 6.0.1 to 6.0.2 (#69)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 18:19:54 +00:00
546380ae38 feat: editor env 2026-01-29 18:09:49 +00:00
f84ac17cfd feat: vi alias 2026-01-29 14:38:14 +00:00
39a9558514 fix: termcolor heuristic 2026-01-29 11:58:28 +00:00
56472fbea1 vim colour schemes (#70)
* feat: vim colour schemes

* feat: preview workflow

* fix: ci

* fix: ci

* fix: format
2026-01-29 10:48:32 +00:00
4da959597d fix: run apt for codespace 2025-12-24 03:28:05 +02:00
b51f2e0b09 feat: mise, brew and fastfetch perf 2025-12-24 02:34:10 +02:00
be4a723859 chore: organisation 2025-12-23 22:30:24 +02:00
919d98dd33 feat: git add/restore aliases 2025-12-23 22:22:29 +02:00
ab936390dd perf: codespaces 2025-12-23 22:22:20 +02:00
7b5e4e12d2 fix: brew env 2025-12-23 21:44:10 +02:00
891ae505f8 perf: install env checks 2025-12-23 20:53:55 +02:00
a286817ce3 feat: git 2025-12-23 19:10:02 +02:00
4a2563d34a fix: vi syntax 2025-12-23 16:41:48 +02:00
6de5f36ca5 perf: git 2025-12-23 16:41:03 +02:00