refactor 🔨: Too many
This commit is contained in:
parent
76b3ca98e7
commit
c697c5e352
4 changed files with 134 additions and 105 deletions
|
@ -1,78 +1,98 @@
|
||||||
|
// Inspired by Catnap
|
||||||
{
|
{
|
||||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
"logo": {
|
"logo": {
|
||||||
"type": "small",
|
"type": "small",
|
||||||
"padding": {
|
"padding": {
|
||||||
"top": 1,
|
"top": 2,
|
||||||
"bottom": 1,
|
"right": 2
|
||||||
"left": 5,
|
|
||||||
"right": 5
|
|
||||||
}
|
}
|
||||||
// "source": "~/.config/fastfetch/icons/arch.txt"
|
|
||||||
},
|
},
|
||||||
"display": {
|
"display": {
|
||||||
"separator": " "
|
"separator": " ",
|
||||||
|
"key": {
|
||||||
|
"width": 16
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
{
|
{
|
||||||
"type": "os",
|
"key": "╭───────────╮",
|
||||||
"key": " ",
|
"type": "custom"
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "users",
|
// draw borders first to make colors of left and right border consistant
|
||||||
"key": " ",
|
"key": "│ │\u001b[11D{#31} user",
|
||||||
"keyColor": "blue"
|
"type": "title",
|
||||||
|
"format": "{1}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "kernel",
|
"key": "├───────────┤",
|
||||||
"key": " ",
|
"type": "custom"
|
||||||
"keyColor": "black"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "packages",
|
|
||||||
"key": " ",
|
|
||||||
"keyColor": "cyan"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"key": " ",
|
|
||||||
"keyColor": "dim_"
|
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// "type": "terminal",
|
// "key": "│ │\u001b[11D{#32} hname",
|
||||||
// "key": " ",
|
// "type": "title",
|
||||||
// "keyColor": "green"
|
// "format": "{2}"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// "key": "│ │\u001b[11D{#33} uptime",
|
||||||
|
// "type": "uptime"
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
"type": "wm",
|
"key": "│ │\u001b[11D{#34} distro",
|
||||||
"key": " ",
|
"type": "os"
|
||||||
"keyColor": "red"
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#35} kernel",
|
||||||
|
"type": "kernel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#36} desktop",
|
||||||
|
"type": "de"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#31} term",
|
||||||
|
"type": "terminal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#31} wm",
|
||||||
|
"type": "wm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#32} shell",
|
||||||
|
"type": "shell"
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// "type": "uptime",
|
// "key": "│ │\u001b[11D{#33} cpu",
|
||||||
// "key": " ",
|
// "type": "cpu",
|
||||||
// "keyColor": "cyan"
|
// "showPeCoreCount": true
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
"type": "cpu",
|
"key": "│ │\u001b[11D{#34} disk",
|
||||||
"key": " ",
|
"type": "disk",
|
||||||
"keyColor": "blue"
|
"folders": "/"
|
||||||
},
|
|
||||||
// {
|
|
||||||
// "type": "btrfs",
|
|
||||||
// "key": " ",
|
|
||||||
// "keyColor": "red"
|
|
||||||
// },
|
|
||||||
{
|
|
||||||
"type": "gpu",
|
|
||||||
"key": " ",
|
|
||||||
"keyColor": "green"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "memory",
|
"key": "│ │\u001b[11D{#35} memory",
|
||||||
"key": " ",
|
"type": "memory"
|
||||||
"keyColor": "yellow"
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#36} network",
|
||||||
|
"type": "localip",
|
||||||
|
"format": "{1} ({4})"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "├───────────┤",
|
||||||
|
"type": "custom"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "│ │\u001b[11D{#39} colors",
|
||||||
|
"type": "colors",
|
||||||
|
"symbol": "circle"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "╰───────────╯",
|
||||||
|
"type": "custom"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,28 +31,28 @@
|
||||||
# # }
|
# # }
|
||||||
|
|
||||||
# # TIME
|
# # TIME
|
||||||
# label {
|
label {
|
||||||
# monitor =
|
monitor =
|
||||||
# text = $TIME
|
text = $TIME
|
||||||
# color = $text
|
color = $text
|
||||||
# font_size = 90
|
font_size = 90
|
||||||
# font_family = $font
|
font_family = JetBrainsMono Nerd Font
|
||||||
# position = -30, 0
|
position = -40, 10
|
||||||
# halign = right
|
halign = right
|
||||||
# valign = top
|
valign = top
|
||||||
# }
|
}
|
||||||
|
|
||||||
# # DATE
|
# # DATE
|
||||||
# label {
|
label {
|
||||||
# monitor =
|
monitor =
|
||||||
# text = cmd[update:43200000] date +"%A, %d %B %Y"
|
text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||||
# color = $text
|
color = $text
|
||||||
# font_size = 20
|
font_size = 20
|
||||||
# font_family = $font
|
font_family = JetBrainsMono Nerd Font
|
||||||
# position = -30, -150
|
position = -30, -150
|
||||||
# halign = right
|
halign = right
|
||||||
# valign = top
|
valign = top
|
||||||
# }
|
}
|
||||||
|
|
||||||
# # USER AVATAR
|
# # USER AVATAR
|
||||||
# # image {
|
# # image {
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/arcadian/Pictures/Wallpaper/nw9975ixkyqe1.png
|
path = /home/arcadian/Pictures/Wallpaper/0297.jpg
|
||||||
# only png supported for now
|
# only png supported for now
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,31 +126,31 @@ input-field {
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
# label {
|
||||||
monitor =
|
# monitor =
|
||||||
text = cmd[update:1000] echo "$TIME"
|
# text = cmd[update:1000] echo "$TIME"
|
||||||
color = rgba(a6adc8)
|
# color = rgba(a6adc8)
|
||||||
font_size = 55
|
# font_size = 55
|
||||||
font_family = JetBrainsMono Nerd Font
|
# font_family = JetBrainsMono Nerd Font
|
||||||
position = -100, 40
|
# position = -100, 40
|
||||||
halign = right
|
# halign = right
|
||||||
valign = bottom
|
# valign = bottom
|
||||||
shadow_passes = 5
|
# shadow_passes = 5
|
||||||
shadow_size = 10
|
# shadow_size = 10
|
||||||
}
|
# }
|
||||||
|
|
||||||
label {
|
# label {
|
||||||
monitor =
|
# monitor =
|
||||||
text = Hello
|
# text = Hello
|
||||||
color = rgba(a6adc8)
|
# color = rgba(a6adc8)
|
||||||
font_size = 20
|
# font_size = 20
|
||||||
font_family = JetBrainsMono Nerd Font
|
# font_family = JetBrainsMono Nerd Font
|
||||||
position = -100, 160
|
# position = -100, 160
|
||||||
halign = right
|
# halign = right
|
||||||
valign = bottom
|
# valign = bottom
|
||||||
shadow_passes = 5
|
# shadow_passes = 5
|
||||||
shadow_size = 10
|
# shadow_size = 10
|
||||||
}
|
# }
|
||||||
|
|
||||||
# image {
|
# image {
|
||||||
# monitor =
|
# monitor =
|
||||||
|
|
21
zsh/.zshrc
21
zsh/.zshrc
|
@ -93,19 +93,19 @@ alias vim='nvim'
|
||||||
alias gh-create='gh repo create --private --source=. --remote=origin && git push -u --all && gh browse'
|
alias gh-create='gh repo create --private --source=. --remote=origin && git push -u --all && gh browse'
|
||||||
|
|
||||||
add(){
|
add(){
|
||||||
git add --patch
|
git add --patch
|
||||||
}
|
}
|
||||||
|
|
||||||
commit(){
|
commit(){
|
||||||
bash ~/work/main/dotsh/gh/commit
|
bash ~/work/main/dotsh/gh/commit
|
||||||
}
|
}
|
||||||
|
|
||||||
push(){
|
push(){
|
||||||
git push
|
git push
|
||||||
}
|
}
|
||||||
|
|
||||||
ms(){
|
ms(){
|
||||||
touch "$1" && chmod +x "$1"
|
touch "$1" && chmod +x "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
alias kls='kubectl get all'
|
alias kls='kubectl get all'
|
||||||
|
@ -194,7 +194,7 @@ c() {
|
||||||
}
|
}
|
||||||
|
|
||||||
music() {
|
music() {
|
||||||
xdg-open https://music.youtube.com/
|
xdg-open https://music.youtube.com/
|
||||||
}
|
}
|
||||||
|
|
||||||
autoload -U +X bashcompinit && bashcompinit
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
@ -210,4 +210,13 @@ export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
alias todo='~/.todo/todo_tui.sh'
|
alias todo='~/.todo/todo_tui.sh'
|
||||||
alias todocli='~/.todo/todo_cli.sh'
|
alias todocli='~/.todo/todo_cli.sh'
|
||||||
|
|
||||||
fastfetch
|
# fastfetch
|
||||||
|
|
||||||
|
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||||
|
if tmux has-session -t default 2>/dev/null; then
|
||||||
|
tmux new-window -t default
|
||||||
|
tmux attach-session -t default
|
||||||
|
else
|
||||||
|
tmux new-session -s default
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue