Compare commits

...

3 commits

Author SHA1 Message Date
4af8bc8944
Add i3status config. 2024-12-14 03:44:36 +01:00
21c9af1336
Add nix. 2024-12-13 18:11:11 +01:00
df03100a99
Move nvm to .zshrc. 2024-12-13 18:10:30 +01:00
4 changed files with 59 additions and 5 deletions

51
.config/i3status/config Normal file
View file

@ -0,0 +1,51 @@
general {
colors = true
interval = 5
}
order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "disk /"
order += "load"
order += "memory"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
last_full_capacity = true
format_down = "No battery"
status_chr = "⚡ CHR"
status_bat = "🔋 BAT"
status_unk = "? UNK"
status_full = "☻ FULL"
}
disk "/" {
format = "%avail"
}
load {
format = "%1min"
}
memory {
format = "%used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}

View file

@ -6,8 +6,3 @@ if [ -d "$ASDF_GO" ]; then
ASDF_GOBIN="$ASDF_GO/packages/bin/"
PATH="$ASDF_GOBIN:$PATH"
fi
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]; then
\. "$NVM_DIR/nvm.sh" # This loads nvm
fi

View file

@ -47,3 +47,5 @@ export PATH="$PATH:/home/kaholaz/.cache/scalacli/local-repo/bin/scala-cli"
# >>> coursier install directory >>>
export PATH="$PATH:/home/kaholaz/.local/share/coursier/bin"
# <<< coursier install directory <<<
if [ -e /home/kaholaz/.nix-profile/etc/profile.d/nix.sh ]; then . /home/kaholaz/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer

6
.zshrc
View file

@ -50,6 +50,12 @@ if [ -d "$HOME/.asdf" ]; then
\. "$HOME/.asdf/asdf.sh"
fi
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]; then
[ -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
fi
source ~/.aliases
fpath+=~/.zfunc
autoload -U compinit; compinit