nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit bc05ea97d37cc23e2ead0b8f154d3bcf86eb9841
parent 138eec1c5f815cb08ef418524442b6b79cde3de4
Author: mtmn <miro@haravara.org>
Date:   Fri, 19 Jun 2026 17:05:37 +0200

init chawan, colors, etc.

Diffstat:
Mhosts/bbox/overlays/config/magdalena/config.json.nix | 2+-
Mhosts/void/default.nix | 1-
Ahosts/void/overlays/config/chawan/config.toml | 19+++++++++++++++++++
Mhosts/work/overlays/config/magdalena/config.json.nix | 0
Mmodules/mixins/dotfiles/bin/wrd | 4++--
Mmodules/mixins/dotfiles/config/shell/rc/aliased-short-names | 1-
Mmodules/mixins/dotfiles/home/tmux.conf | 26+++++++++++++-------------
7 files changed, 35 insertions(+), 18 deletions(-)

diff --git a/hosts/bbox/overlays/config/magdalena/config.json.nix b/hosts/bbox/overlays/config/magdalena/config.json.nix @@ -66,7 +66,7 @@ { "extensions": ["html"], "action": "web_browser", - "command": "offpunk" + "command": "cha" } ] } diff --git a/hosts/void/default.nix b/hosts/void/default.nix @@ -13,7 +13,6 @@ home.packages = lib.concatLists (lib.attrValues (with pkgs; { web = [ aerc - offpunk monolith newsraft vdirsyncer diff --git a/hosts/void/overlays/config/chawan/config.toml b/hosts/void/overlays/config/chawan/config.toml @@ -0,0 +1,19 @@ +[start] +visual-home = "about:chawan" + +[buffer] +images = true +history = true + +[external] +editor = "nvim" +copy-cmd = "wl-copy" +paste-cmd = "wl-copy" + +[display] +default-background-color = "#000000" +default-foreground-color = "#ffffff" + +[[siteconf]] +styling = false +host = '(.*\.)?lobste\.rs' diff --git a/hosts/work/overlays/config/magdalena/config.json.nix b/hosts/work/overlays/config/magdalena/config.json.nix Binary files differ. diff --git a/modules/mixins/dotfiles/bin/wrd b/modules/mixins/dotfiles/bin/wrd @@ -13,7 +13,7 @@ while true; do done | fzf --reverse --with-nth=1 \ --preview='case {2} in - *.html) offpunk --dump {2} 2>/dev/null || bat {2};; + *.html) cha -d {2} 2>/dev/null || bat {2};; *.md) lowdown -Tterm {2} 2>/dev/null || bat {2};; esac') @@ -21,7 +21,7 @@ while true; do full=$(printf '%s' "$picked" | cut -f2) case "$full" in - *.html) offpunk "$full" ;; + *.html) cha "$full" ;; *.md) lowdown -Tterm "$full" | awk -v w="$(tput cols)" 'BEGIN{p=sprintf("%*s",w>80?(w-80)/2:0,"")} {print p $0}' \ diff --git a/modules/mixins/dotfiles/config/shell/rc/aliased-short-names b/modules/mixins/dotfiles/config/shell/rc/aliased-short-names @@ -122,7 +122,6 @@ alias amsp='mpva https://radio.stereoscenic.com/asp-s --no-resume-playback' alias nts1='mpva https://stream-relay-geo.ntslive.net/stream --no-resume-playback' alias nts2='mpva https://stream-relay-geo.ntslive.net/stream2 --no-resume-playback' -alias op='offpunk' alias mf='monofetch' alias sr='speedread -w 400' diff --git a/modules/mixins/dotfiles/home/tmux.conf b/modules/mixins/dotfiles/home/tmux.conf @@ -13,25 +13,25 @@ set -g status-interval 30 set -g status-left '' set -g status-right '#(test -f /tmp/pracomer.log && cat /tmp/pracomer.log) #(plants) %a %h-%d %H:%M #(cat /sys/class/power_supply/BAT*/capacity 2>/dev/null)%% ' -set -g status-style "fg=#ebebeb,bg=default" -set -g message-style "fg=#ebebeb,bg=#373737" -set -g message-command-style "fg=#ebebeb,bg=#373737" -set -g mode-style "fg=#ebebeb,bg=#373737" - -set -g menu-style "fg=#ebebeb,bg=default" -set -g menu-selected-style "fg=#101010,bg=#ebebeb" -set -g menu-border-style "fg=default,bg=default" +set -g status-style "fg=#ebebeb" +set -g message-style "fg=#ebebeb" +set -g message-command-style "fg=#ebebeb" +set -g mode-style "fg=#ebebeb" + +set -g menu-style "fg=#ebebeb" +set -g menu-selected-style "fg=#101010" +set -g menu-border-style "fg=default" set -g menu-border-lines "none" set -g pane-border-style "fg=#373737" set -g pane-active-border-style "fg=#808080" -set -g window-status-style "fg=#808080,bg=default" -set -g window-status-current-style "fg=#ebebeb,bg=default,bold" -set -g window-status-bell-style "fg=#ebebeb,bg=default,bold" +set -g window-status-style "fg=#808080" +set -g window-status-current-style "fg=#ebebeb,bold" +set -g window-status-bell-style "fg=#ebebeb,bold" -set -g status-left-style "fg=#ebebeb,bg=default" -set -g status-right-style "fg=#ebebeb,bg=default" +set -g status-left-style "fg=#ebebeb" +set -g status-right-style "fg=#ebebeb" setw -g xterm-keys on set -ga terminal-overrides ',xterm*:XT'