From 6903697587b4decb4cf1989ce095dede5ab18346 Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Thu, 23 Oct 2025 17:24:46 +0800 Subject: [PATCH] update - user installation of nodejs - shorten waybar player module to slice long long video title. --- .config/waybar/config.jsonc | 2 +- .zshrc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 5754a4c..dfaed5a 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -41,9 +41,9 @@ } }, "mpris": { - // video plays is often with no {artist}. "format": "{status_icon} {title}", "format-stopped": "", + "max-length": 40, "status-icons": { "paused": "", "playing": "󰐊" diff --git a/.zshrc b/.zshrc index 1d78dde..de70eee 100644 --- a/.zshrc +++ b/.zshrc @@ -151,3 +151,7 @@ alias ykexit='systemctl --user stop YukiLauncher.slice' alias susp="systemctl --user freeze" alias cont="systemctl --user thaw" + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion