diff --git a/.aliases b/.aliases index b215c26..6c1daca 100755 --- a/.aliases +++ b/.aliases @@ -103,3 +103,7 @@ alias rsmv="rs --remove-source-files" alias jc="jira-set" # write selected story id to ~/.jira_story alias jcr="jira-risk" # ensure the mandatory fields are set for ~/.jira_story alias jcc="jira-clean" # delete ~/.jira_story + +# quick sys overview via fastfetch +alias neosys="fastfetch -c ~/.config/fastfetch/cluxsys.jsonc" +alias neohw="fastfetch -c ~/.config/fastfetch/cluxhw.jsonc" diff --git a/.functions b/.functions index 69cd86c..6437dc3 100755 --- a/.functions +++ b/.functions @@ -442,7 +442,8 @@ jira-clean() { } # ----------------------------------------------------------------------------- -# system statistics/usage (linux only) +# system statistics/usage - linux only - for my own memory +# better ways of displaying this via fastfetch configs herein mem() { free -t | grep Mem | awk '{ printf("%3.1f%%\n", $3*100/$2)}' diff --git a/config/fastfetch/cluxhw.jsonc b/config/fastfetch/cluxhw.jsonc new file mode 100644 index 0000000..c8e56d8 --- /dev/null +++ b/config/fastfetch/cluxhw.jsonc @@ -0,0 +1,78 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "small", + //"source": "arch_small", + "color": { + "1": "green", + "2": "blue" + } + }, + "display": { + "separator": " ", + "size": { + "ndigits": 0 + }, + "percent": { + "ndigits": 0 + }, + "temp": { + "ndigits": 0 + } + }, + "modules": [ + // DBG: "format": "1:{1}, 2:{2}, 3:{3}, 4:{4}, 5:{5}, 6:{6}, 7:{7}, 8:{8}, 9:{9}, 10:{10}, 11:{11}, 12:{12}, 13:{13}, 14:{14}, 15:{15}, 16:{16}", + //{ + // "type": "title", + // "key": "", + // "format": "{user-name-colored}@{host-name}", + // "keyColor": "yellow" + //}, + { + "type": "cpu", + "key": "󰻠", + "format": "{name} ({cores-online}) @ {freq-base} GHz ({8})", + "keyColor": "yellow", + "temp": true + }, + { + "type": "gpu", + "key": "󰍛", + "format": "{name} ({temperature})", + "hideType": "integrated", + "temp": true, + "keyColor": "yellow" + }, + { + "type": "display", + "key": "󰍹", + "format": "{name} {width}x{height} ({#;33}{refresh-rate}Hz{#})", + "keyColor": "yellow" + }, + { + "type": "disk", + "key": "", + "format": "{size-used} / {size-total} ({size-percentage})", + "keyColor": "yellow" + }, + // https://github.com/fastfetch-cli/fastfetch/blob/dev/src/modules/netio/netio.c + { + "type": "netio", + "key": "󰓡", + "format": "{tx-size}{#}⇡ / {rx-size}⇣", + "detectTotal": true, + "defaultRouteOnly": true, + "keyColor": "yellow" + }, + //{ + // "type": "wifi", + // "key": "W", + // "keyColor": "yellow" + //}, + { + "type": "memory", + "key": "󰑭", + "keyColor": "yellow" + } + ] +} diff --git a/config/fastfetch/cluxsys.jsonc b/config/fastfetch/cluxsys.jsonc new file mode 100644 index 0000000..74de553 --- /dev/null +++ b/config/fastfetch/cluxsys.jsonc @@ -0,0 +1,69 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "small", + "color": { + "1": "green", + "2": "blue" + } + }, + "display": { + "separator": " " + }, + "modules": [ + // DBG: "format": "1:{1}, 2:{2}, 3:{3}, 4:{4}, 5:{5}, 6:{6}, 7:{7}, 8:{8}, 9:{9}, 10:{10}, 11:{11}, 12:{12}, 13:{13}, 14:{14}, 15:{15}, 16:{16}", + { + "type": "title", + "key": "", + "format": "{user-name-colored}@{host-name}", + "keyColor": "blue" + }, + { + "type": "os", + "key": "", + "format": "{1} {2}", + "keyColor": "blue" + }, + { + "type": "kernel", + "key": "", + "format": "{sysname} {release}", + "keyColor": "blue" + }, + { + "type": "shell", + "key": "", + "keyColor": "blue" + }, + { + "type": "terminal", + "key": "", + "keyColor": "blue" + }, + { + "type": "editor", + "key": "", + "keyColor": "blue" + }, + { + "type": "terminalfont", + "key": "", + "keyColor": "blue" + }, + //{ + // "type": "lm", + // "key": "󰧨", + // "keyColor": "blue" + //}, + //{ + // "type": "de", + // "key": "", + // "keyColor": "blue" + //}, + { + "type": "wm", + "key": "", + "keyColor": "blue" + }, + ] +}