(i3status) add config

This commit is contained in:
jc 2024-08-17 18:33:49 -04:00
commit 4c2b562c04
2 changed files with 54 additions and 0 deletions

View file

@ -26,6 +26,7 @@ echo "Setup symlink configurations"
ln -s ~/ghq/juancwu/dotfiles/nvim ~/.config/nvim ln -s ~/ghq/juancwu/dotfiles/nvim ~/.config/nvim
ln -s ~/ghq/juancwu/dotfiles/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml ln -s ~/ghq/juancwu/dotfiles/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
ln -s ~/ghq/juancwu/dotfiles/i3 ~/.config/i3 ln -s ~/ghq/juancwu/dotfiles/i3 ~/.config/i3
ln -s ~/ghq/juancwu/dotfiles/i3status ~/.config/i3status
ln -s ~/ghq/juancwu/dotfiles/bash/.bashrc.arch ~/.bashrc.arch ln -s ~/ghq/juancwu/dotfiles/bash/.bashrc.arch ~/.bashrc.arch
# setup git # setup git

53
i3status/config Normal file
View file

@ -0,0 +1,53 @@
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 1
}
# 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"
# }
disk "/" {
format = "%avail"
}
load {
format = "%1min"
}
memory {
format = "%used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
format = "%A %Y-%m-%d %H:%M:%S"
}