commit 998ca586e5bd2f3b0cee2b5679264ba421cb3640 parent a608dd92e89d2bf52c462fa4ae93681d00c9c1e6 Author: mtmn <miro@haravara.org> Date: Sun, 21 Jun 2026 16:32:01 +0200 monofetch: fix monolith panics by trimming :port from url Diffstat:
| M | hosts/void/overlays/config/shell/rc/void | | | 0 | |
| M | modules/mixins/dotfiles/bin/monofetch | | | 5 | ++++- |
| M | modules/mixins/dotfiles/config/newsraft/feeds | | | 1 | + |
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/hosts/void/overlays/config/shell/rc/void b/hosts/void/overlays/config/shell/rc/void Binary files differ. diff --git a/modules/mixins/dotfiles/bin/monofetch b/modules/mixins/dotfiles/bin/monofetch @@ -36,10 +36,13 @@ else full_rel_path="$path_part" fi +full_rel_path="${full_rel_path//:/_}" +domain="${domain//:/_}" + target_file_path="$HOME/misc/www/$full_rel_path" target_dir=$(dirname "$target_file_path") -md_slug=$(echo "$path_part" | tr '/' '-' | sed 's/^-//;s/-$//') +md_slug=$(echo "$path_part" | tr ':/' '--' | sed 's/^-//;s/-$//') if [[ -z "$md_slug" ]] || [[ "$md_slug" == "index.html" ]]; then md_slug="index" fi diff --git a/modules/mixins/dotfiles/config/newsraft/feeds b/modules/mixins/dotfiles/config/newsraft/feeds @@ -237,3 +237,4 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCUv35okF8MSo2dFQx5LrNmA Cha https://www.youtube.com/feeds/videos.xml?channel_id=UCSWMraguMlNanVQgseTTr_Q f4mi https://www.youtube.com/feeds/videos.xml?channel_id=UCfzlCWGWYyIQ0aLC5w48gBQ sentdex https://www.youtube.com/feeds/videos.xml?channel_id=UC4a9LfdavRlVMaSSWFdIciA RobWords +https://www.youtube.com/feeds/videos.xml?channel_id=UCDetdM5XDZD1xrQHDPgEg5w Dictionary of Obscure Sorrows