From c9123e086f74d767d1921ddb0987465747240cbc Mon Sep 17 00:00:00 2001 From: He4eT Date: Thu, 21 Nov 2024 03:41:15 +0100 Subject: [PATCH] zsh: add st command --- fastfetch/st.jsonc | 45 +++++++++++++++++++++++++++++++++++++++++++++ root/.zshrc | 1 + 2 files changed, 46 insertions(+) create mode 100644 fastfetch/st.jsonc diff --git a/fastfetch/st.jsonc b/fastfetch/st.jsonc new file mode 100644 index 0000000..137402f --- /dev/null +++ b/fastfetch/st.jsonc @@ -0,0 +1,45 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": "none", + "display": { + "color": "yellow", + "key": { + "width": 13, + }, + "bar": { + "charElapsed": "▪", + "charTotal": "-", + "width": 12, + }, + "percent": { + "type": 3, + }, + }, + "modules": [ + "title", + "break", + "memory", + "swap", + { + "type": "disk", + "folders": "/", + }, + "break", + { + "type": "battery", + "key": "Battery", + }, + { + "type": "brightness", + "key": "Brightness", + }, + { + "type": "sound", + "format": "{5} ({3}) [{2}]", + }, + { + "type": "wifi", + "format": "{11} ({7}) [{10} - {4}]", + }, + ], +} diff --git a/root/.zshrc b/root/.zshrc index 84b6ef9..91e8640 100644 --- a/root/.zshrc +++ b/root/.zshrc @@ -49,6 +49,7 @@ alias fakemsg='echo "$(curl -s https://whatthecommit.com/index.txt)"' alias ncdu='ncdu --color off' alias lynx='WWW_HOME=https://duckduckgo.com \ lynx -accept_all_cookies -nocolor -nopause -show_cursor:true -tna -vikeys' +alias st='fastfetch -c ~/dotfiles/fastfetch/st.jsonc' alias status='clear && fastfetch -c ~/dotfiles/fastfetch/status.jsonc' # Aliases for nmtui @see https://lemmy.world/post/17689127