diff --git a/bash/setup.sh b/bash/setup.sh index 2c45db5..8094c9f 100755 --- a/bash/setup.sh +++ b/bash/setup.sh @@ -26,6 +26,7 @@ echo "Setup symlink configurations" 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/i3 ~/.config/i3 +ln -s ~/ghq/juancwu/dotfiles/i3status ~/.config/i3status ln -s ~/ghq/juancwu/dotfiles/bash/.bashrc.arch ~/.bashrc.arch # setup git diff --git a/i3status/config b/i3status/config new file mode 100644 index 0000000..375a5cc --- /dev/null +++ b/i3status/config @@ -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" +}