dissimulo 0eb605a835 tmux statusline: directly-held WAN/LAN IP, offline ✕, native window-status
- tmux-ip: show the first directly-held public/WAN IP on a non-tunnel interface,
  else the LAN/private IP. No external 'what's my IP' lookup and no DigitalOcean
  special-case (a droplet's eth0 public IP is found by the same interface scan);
  RFC1918/link-local/CGNAT classed as not-WAN, so a NAT'd box shows its LAN IP.
- tmux-net: show ✕ when there's no local IP and no VPN tunnel (offline). VPN ⇡
  overlay unchanged.
- .tmux.conf: window-status icon + path now native tmux formats (no per-redraw
  #() forks); tmux-window-icon kept as fallback.
2026-06-30 16:39:52 -07:00
2026-06-30 16:32:46 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 09:41:46 -07:00
2012-10-20 16:06:52 -07:00
2015-07-26 21:29:28 -05:00
2018-02-05 20:35:19 +00:00
2012-11-16 09:33:13 -06:00
2020-10-25 22:31:54 -03:00
2013-03-14 13:35:55 +01:00
2014-10-17 15:39:23 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2017-09-05 17:00:30 -07:00
2016-03-28 23:36:31 +02:00
2026-04-21 06:16:16 -07:00
2013-12-15 13:49:01 -06:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2026-04-21 06:16:16 -07:00
2020-12-15 16:39:24 -03:00
2026-05-06 10:06:36 +00:00
2019-07-20 20:24:04 -07:00

drunkendotfiles

dissimulo's dotfiles. A fork of skwp/dotfiles (YADR) with personal configs layered on top: a custom tmux setup, irssi, fonts, GTK themes, and assorted ~/.local/bin/ helpers.

Upstream YADR hasn't been updated in a long time; this fork refreshes it and adds machine-wide customizations.

Install

One-liner:

curl -fsSL https://gitea.dlw.la/dissimulo/drunkendotfiles/raw/branch/drunkendotfiles/install.sh | bash

Or clone first:

git clone --recurse-submodules https://gitea.dlw.la/dissimulo/drunkendotfiles.git ~/.yadr
~/.yadr/install.sh

--recurse-submodules matters: Prezto lives in zsh/prezto as a git submodule. Without it, ~/.zshrc fails on startup with a missing ~/.zprezto/runcoms/zshrc. (If you already cloned without it, cd ~/.yadr && git submodule update --init --recursive catches you up.)

The installer:

  1. Clones this repo to ~/.yadr
  2. Runs YADR's native rake install for vim/prezto/plugins
  3. Deploys the personal dotfiles on top of $HOME, moving any collisions to ~/.drunkendotfiles.bak.<timestamp>/
  4. Installs Claude Code (Anthropic's CLI) if it isn't already on the machine — set DRUNKENDOTFILES_SKIP_CLAUDE=1 to skip this step

Requires git, rake (ruby), and curl.

Upgrading

Two things can be refreshed independently.

Pull new drunkendotfiles changes

cd ~/.yadr && git pull --recurse-submodules

That gets you any new config changes, tmux tweaks, helper scripts, etc. pushed to this repo, plus any bumps to the Prezto submodule pointer. Vim plugins are not touched — see below.

Refresh YADR plugins

cd ~/.yadr && rake update

rake update walks through YADR's plugin managers (Vim-plug for vim, the Prezto submodule for zsh) and pulls down the latest versions of each. Run this every so often, or after pulling drunkendotfiles changes that modify the plugin list (vim/.vundles, vim/after/.vundles.after, or the modules list in zsh/prezto-override/zpreztorc).

Redeploy personal dotfiles

If a git pull touched personal dotfiles at the repo root (e.g. a new .tmux.conf or a new .local/bin/ helper) and you want those changes deployed to $HOME:

~/.yadr/install.sh

It's idempotent — any files in $HOME that would be overwritten get moved to ~/.drunkendotfiles.bak.<timestamp>/ first.

Full refresh in one shot

cd ~/.yadr && git pull && rake update && ./install.sh

What's included

On top of stock YADR:

  • .tmux.conf — real file (not the YADR symlink), with internal/public IP in the status bar and 80k-line scrollback
  • .local/bin/tmux-ip — helper used by .tmux.conf; prefers a DigitalOcean reserved/floating IP if the host is a droplet with one attached, falls back to public egress (ipify) and then first local IP
  • .irssi/ — IRC client config (no credentials committed)
  • .fonts/ — Inconsolata, Menlo-Powerline, mensch-Powerline, monof55/56
  • .themes/ — BlackMATE v2 / v2.2 / "The Blues" GNOME metathemes
  • Shell RCs (.bashrc, .profile, .zshenv.backup, .zshrc.backup, etc.)
  • X/WM configs (.xscreensaver, .xmodmap, .xsnowrc, .weatherspect, .fehbg)
  • Misc: .rainbow_config.json (rainbowstream), .nanorc, .selected_editor, .mplayer/config, .jigdo-lite

Rainbow output (lolcat)

zsh/lolcat.zsh wires lolcat (Debian's /usr/games/lolcat, busyloop's Ruby build — 24-bit truecolor) into a few shell helpers. lolcat auto-detects a tty — it colorizes straight to the terminal but passes text through plain when piped onward, so use -f/--force to colorize mid-pipeline.

Opt-in, per command

Prefix any command to rainbow its output:

lol fastfetch
lol git log --oneline
lol ls -C                 # -C keeps columns: a piped ls otherwise goes single-column
lolf git diff | less -R   # force color so it survives down a pipeline

Shortcuts

rcat file.txt             # rainbow cat
rls -la                   # rainbow ls, columns preserved
some-cmd | rless          # rainbow + pager (less -R)

Session toggle

Rainbow all shell stdout until you turn it off:

rainbow_on                # everything is rainbow now
...
rainbow_off               # back to normal

Novelty only: it garbles full-screen/interactive programs (vim, less, htop, fzf, ssh) and the prompt, and buffers streaming output. Doesn't touch stderr.

Upstream

Base is skwp/dotfiles (YADR — Yet Another Dotfiles Repo). All credit for the vim/zsh/tmux/irb foundations goes to Yan Pritzker and YADR contributors. This repo tracks a snapshot of upstream master at 630d39f (the last commit there as of this fork).

To refresh from upstream later:

cd ~/.yadr
git remote add upstream https://github.com/skwp/dotfiles.git
git fetch upstream
# then rebase or merge upstream/master into drunkendotfiles as needed

License

YADR content is under YADR's license (upstream). Personal additions in this fork are released under the same terms.

S
Description
No description provided
Readme BSD-2-Clause 11 MiB
Languages
Ruby 49.9%
Shell 20.1%
Vim Script 16%
Perl 12.7%
Python 0.9%
Other 0.4%