Rice fastfetch
This commit is contained in:
280
.config/fastfetch/config.jsonc
Normal file
280
.config/fastfetch/config.jsonc
Normal file
@@ -0,0 +1,280 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
|
||||
"logo": {
|
||||
"source": "/home/kyren/Pictures/Creations/pfp/pfp.png",
|
||||
"type": "kitty-icat",
|
||||
"width": 33,
|
||||
// "height": 17,
|
||||
"padding": {
|
||||
"top": 2,
|
||||
// "left": 2,
|
||||
// "right": 5
|
||||
"left": 10,
|
||||
"right": 13
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " "
|
||||
},
|
||||
// ┃ ├ └
|
||||
"modules": [
|
||||
|
||||
// {
|
||||
// "type": "colors",
|
||||
// "symbol": "circle",
|
||||
// // "key": "\u001b[A",
|
||||
// },
|
||||
"break",
|
||||
"break",
|
||||
{
|
||||
"type": "command",
|
||||
"key": " ",
|
||||
"text": "echo -e \" \\033[1;38;2;141;222;224m$(whoami)\\033[1;38;2;20;99;157m@\\033[1;38;2;54;215;169m$(hostname)\"",
|
||||
// "keyIcon": "{user-name}@{host-name}"
|
||||
},
|
||||
|
||||
"break",
|
||||
// {
|
||||
// "type": "colors",
|
||||
// "symbol": "circle",
|
||||
// "paddingLeft": 17,
|
||||
// },
|
||||
{
|
||||
"type": "colors",
|
||||
"symbol": "circle",
|
||||
// "key": "\u001b[A",
|
||||
},
|
||||
"break",
|
||||
// {
|
||||
// "type": "custom",
|
||||
// "key": " System",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
{
|
||||
"type": "os",
|
||||
"key": "┌ OS",
|
||||
"keyColor": "yellow",
|
||||
"format": "{name} {version-id}"
|
||||
},
|
||||
{
|
||||
"type": "de",
|
||||
"key": "├ DE",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": "├ Kernel",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": "├ Packages",
|
||||
"keyColor": "yellow",
|
||||
"format": "{rpm} (rpm)"
|
||||
},
|
||||
{
|
||||
"type": "localIP",
|
||||
"key": "├ Local IP",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": "└ Uptime",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
|
||||
"break",
|
||||
|
||||
{
|
||||
"type": "memory",
|
||||
"key": "┌ RAM",
|
||||
"keyColor": "blue",
|
||||
// "outputColor": "#808080"
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"key": "├ CPU",
|
||||
"keyColor": "blue",
|
||||
// "outputColor": "#f77678"
|
||||
// "outputColor": "red"
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"key": "├ GPU",
|
||||
"keyColor": "blue",
|
||||
// "outputColor": "#f77678"
|
||||
// "outputColor": "red"
|
||||
},
|
||||
{
|
||||
"type": "display",
|
||||
"key": "├ Display ({name})",
|
||||
// "outputColor": "yellow",
|
||||
// "format": "{name} ({width}x{height}) @ {refresh-rate}Hz",
|
||||
"format": "{width}x{height} @ {refresh-rate}Hz",
|
||||
// "outputColor": "#808080"
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": "├ Disk ({mountpoint})",
|
||||
"folders": "/:/home",
|
||||
// "outputColor": "#808080"
|
||||
// "outputColor": "#cc9999"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "└ Disk (/iron-wolf)",
|
||||
"keyColor": "blue",
|
||||
// "text": "zfs list -H -o used,available iron-wolf | awk '{print $1 \"iB / \" $1+$2 \"iB (\" $1/($1+$2)*100 \"%) - zfs\"}'",
|
||||
"text": "read -r used avail < <(zfs list -H -p -o used,available iron-wolf); total=$((used + avail)); pct=$(( used * 100 / total )); if [ \"$pct\" -lt 75 ]; then col='\\033[32m'; elif [ \"$pct\" -lt 90 ]; then col='\\033[33m'; else col='\\033[31m'; fi; used_t=$(awk \"BEGIN {printf \\\"%.2f\\\", $used/1024/1024/1024/1024}\"); total_t=$(awk \"BEGIN {printf \\\"%.2f\\\", $total/1024/1024/1024/1024}\"); echo -e \"${used_t}TiB / ${total_t}TiB (${col}${pct}%\\033[0m) - zfs\"",
|
||||
// "outputColor": "#cc9999"
|
||||
},
|
||||
|
||||
"break",
|
||||
|
||||
// {
|
||||
// "type": "custom",
|
||||
// "key": " Hardware",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "memory",
|
||||
// "key": "│ RAM",
|
||||
// "outputColor": "yellow"
|
||||
// },
|
||||
// {
|
||||
// "type": "cpu",
|
||||
// "key": "│ CPU",
|
||||
// "keyColor": "blue",
|
||||
// "outputColor": "red"
|
||||
// },
|
||||
// {
|
||||
// "type": "gpu",
|
||||
// "key": "│ GPU",
|
||||
// "keyColor": "bold_blue",
|
||||
// "outputColor": "red"
|
||||
// },
|
||||
// {
|
||||
// "type": "display",
|
||||
// "key": "│ Display",
|
||||
// "outputColor": "yellow",
|
||||
// "format": "{name} ({width}x{height}) @ {refresh-rate}Hz"
|
||||
// },
|
||||
// {
|
||||
// "type": "disk",
|
||||
// "key": "│ Disk ({mountpoint})",
|
||||
// "folders": "/:/home",
|
||||
// "outputColor": "#cc9999"
|
||||
// },
|
||||
// {
|
||||
// "type": "command",
|
||||
// "key": "│ Disk (/iron-wolf)",
|
||||
// "keyColor": "blue",
|
||||
// "shell": "bash",
|
||||
// // "text": "zfs list -H -o used,available iron-wolf | awk '{print $1 \"iB / \" $1+$2 \"iB (\" $1/($1+$2)*100 \"%) - zfs\"}'",
|
||||
// "text": "read -r used avail < <(zfs list -H -p -o used,available iron-wolf); total=$((used + avail)); pct=$(( used * 100 / total )); if [ \"$pct\" -lt 75 ]; then col='\\033[32m'; elif [ \"$pct\" -lt 90 ]; then col='\\033[33m'; else col='\\033[31m'; fi; used_t=$(awk \"BEGIN {printf \\\"%.2f\\\", $used/1024/1024/1024/1024}\"); total_t=$(awk \"BEGIN {printf \\\"%.2f\\\", $total/1024/1024/1024/1024}\"); echo -e \"${used_t}TiB / ${total_t}TiB (${col}${pct}%\\033[0m) - zfs\"",
|
||||
// "outputColor": "#cc9999"
|
||||
// }
|
||||
// "separator",
|
||||
// "os",
|
||||
// "host",
|
||||
// "kernel",
|
||||
// "uptime",
|
||||
// "packages",
|
||||
// "shell",
|
||||
// "display",
|
||||
// "de",
|
||||
// "wm",
|
||||
// "wmtheme",
|
||||
// "theme",
|
||||
// "icons",
|
||||
// "font",
|
||||
// "cursor",
|
||||
// "terminal",
|
||||
// "terminalfont",
|
||||
// "cpu",
|
||||
// "gpu",
|
||||
// "memory",
|
||||
// "swap",
|
||||
// "disk",
|
||||
// "localip",
|
||||
// "battery",
|
||||
// "poweradapter",
|
||||
// "locale",
|
||||
"break",
|
||||
// {
|
||||
// "type": "title",
|
||||
// "keyWidth": 10
|
||||
// },
|
||||
// {
|
||||
// "type": "os",
|
||||
// "key": " OS",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
// {
|
||||
// "type": "kernel",
|
||||
// "key": "├ Kernel",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
// {
|
||||
// "type": "packages",
|
||||
// "key": "├ Packages",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
// {
|
||||
// "type": "shell",
|
||||
// "key": "├ Shell",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
// {
|
||||
// "type": "localIP",
|
||||
// "key": "├ Local IP",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
// {
|
||||
// "type": "uptime",
|
||||
// "key": "└ Start Time",
|
||||
// "keyColor": "yellow"
|
||||
// },
|
||||
// "break",
|
||||
// {
|
||||
// "type": "de",
|
||||
// "key": " DE",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "wm",
|
||||
// "key": "├ Window Manager",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "lm",
|
||||
// "key": "├ Login Manager",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "wmtheme",
|
||||
// "key": "├ WM Theme",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "theme",
|
||||
// "key": "├ Color Themes",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "icons",
|
||||
// "key": "├ System Icons",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "font",
|
||||
// "key": "├ System Fonts",
|
||||
// "keyColor": "blue"
|
||||
// },
|
||||
// {
|
||||
// "type": "terminal",
|
||||
// "key": "└ Terminal",
|
||||
// "keyColor": "blue"
|
||||
// }
|
||||
]
|
||||
}
|
||||
@@ -4,6 +4,7 @@ enable_rebuild_indicator = true
|
||||
|
||||
[workspace]
|
||||
paths = ["$HOME/projects", "$HOME/personal", "$HOME/Documents", "$HOME/"]
|
||||
terminal = { width = 284, height = 86 }
|
||||
|
||||
[memories]
|
||||
path = "$HOME/personal/grimoire/memories/"
|
||||
@@ -85,6 +86,10 @@ PureRef-2.1.3_x64.rpm
|
||||
podman-compose
|
||||
jellyfin
|
||||
nss-tools
|
||||
entr
|
||||
chafa
|
||||
kitten # Fix fastfetch not rendering images properly inside tmux
|
||||
tectonic # For rendering latex (math) in markdown files via kitty image protocol + snacks
|
||||
|
||||
# Gaming
|
||||
steam lutris Heroic-2.22.0-linux-x86_64.rpm
|
||||
|
||||
@@ -9,9 +9,9 @@ vim.opt.updatetime = 200 -- save swap file and trigger CursorHold
|
||||
|
||||
-- Tab
|
||||
vim.opt.expandtab = true -- convert tabs to spaces
|
||||
vim.opt.tabstop = 4 -- number of visual spaces per TAB
|
||||
vim.opt.softtabstop = 4 -- number of idfk tab when editing
|
||||
vim.opt.shiftwidth = 4 -- number of spaces to insert on tab
|
||||
vim.opt.tabstop = 2 -- number of visual spaces per TAB
|
||||
vim.opt.softtabstop = 2 -- number of idfk tab when editing
|
||||
vim.opt.shiftwidth = 2 -- number of spaces to insert on tab
|
||||
|
||||
-- UI
|
||||
vim.opt.number = true
|
||||
|
||||
@@ -16,6 +16,7 @@ return {
|
||||
['markdown'] = { 'prettierd', 'prettier', stop_after_first = true },
|
||||
['yaml'] = { 'prettierd' },
|
||||
['json'] = { 'jq' },
|
||||
['jsonc'] = { 'jq' },
|
||||
['html'] = { 'prettierd', 'prettier', stop_after_first = true },
|
||||
['css'] = { 'prettierd', 'prettier', stop_after_first = true },
|
||||
['javascript'] = { 'prettierd', 'prettier', stop_after_first = true },
|
||||
|
||||
@@ -51,6 +51,9 @@ set -g status-left-length 100
|
||||
set -g status-left " "
|
||||
set -g status-right "#{E:@catppuccin_status_session}"
|
||||
|
||||
# Fix issue where ghostty images wouldn't render within tmux
|
||||
set-option -g allow-passthrough on
|
||||
|
||||
# Load TPM, must be the last line
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
@@ -12,10 +12,24 @@ if [ "$dir" = "$HOME" ]; then
|
||||
tmux new-window -t $sess -n dotfiles -c $HOME/dotfiles
|
||||
tmux send-keys -t $sess:dotfiles.1 "vim" C-m
|
||||
|
||||
# sleep 1
|
||||
tmux new-window -t $sess -n main -c $HOME
|
||||
tmux send-keys -t $sess:main.1 "fastfetch" C-m
|
||||
tmux split-window -h -b -t $sess:main.1 -l 120 -c $HOME
|
||||
tmux split-window -v -b -t $sess:main.1 -l 27 -c $HOME
|
||||
tmux split-window -v -b -t $sess:main.3 -l 42 -c $HOME
|
||||
tmux select-pane -t $sess:main.4
|
||||
|
||||
tmux select-window -t $sess:grimoire
|
||||
tmux send-keys -t $sess:main.3 "btop" C-m
|
||||
tmux send-keys -t $sess:main.2 "vim ." C-m
|
||||
tmux send-keys -t $sess:main.4 "cd $HOME/Desktop && clear" C-m
|
||||
# tmux send-keys -t $sess:main.1 "watch -n 5 --color fastfetch -c ~/.config/fastfetch/config.jsonc" C-m
|
||||
# tmux send-keys -t $sess:main.1 "while true; do fastfetch; sleep 5; done &" C-m
|
||||
(
|
||||
sleep 0.1
|
||||
tmux send-keys -t $sess:main.1 "fastfetch" C-m
|
||||
sleep 0.2
|
||||
tmux select-window -t $sess:grimoire
|
||||
) &
|
||||
elif [[ "$sess" == "ratry" || "$sess" == "kiwen-prototype" || "$sess" == "cpu-vs-ai" ]]; then
|
||||
tmux rename-window -t $sess:1 editor
|
||||
tmux send-keys -t $sess:editor.1 "nix develop" C-m
|
||||
|
||||
Reference in New Issue
Block a user