diff options
author | Vitor Gonçalves <vitorg@tilde.team> | 2023-12-05 01:21:04 -0300 |
---|---|---|
committer | Vitor Gonçalves <vitorg@tilde.team> | 2023-12-05 01:21:04 -0300 |
commit | 0d8c81fdfbfee8b957f4640507002703b8897f4a (patch) | |
tree | 24791cbeee8a9881c2f018f6218ed03669f3ec88 | |
parent | 4b8982f309759d2558d0b7ca7db005cefeeef681 (diff) | |
download | dots-0d8c81fdfbfee8b957f4640507002703b8897f4a.tar.gz |
maj: switched from i3status to i3status-rust
toml is nicer than "i invented a markup language!" also i3status-rust looks nicer and is overall cooler ig
-rw-r--r-- | .config/i3status-rust/config.toml | 37 | ||||
-rw-r--r-- | .config/i3status/config | 53 |
2 files changed, 37 insertions, 53 deletions
diff --git a/.config/i3status-rust/config.toml b/.config/i3status-rust/config.toml new file mode 100644 index 0000000..e2a3aa3 --- /dev/null +++ b/.config/i3status-rust/config.toml @@ -0,0 +1,37 @@ +[theme] +name = "gruvbox-dark" +[theme.overrides] +idle_bg = "#55393d" +idle_fg = "#edebee" + +[icons] +name = "awesome" + +[[block]] +block = "focused_window" +max_width = 64 +[block.theme_overrides] +idle_bg = "#354157" +idle_fg = "#edebee" + +[[block]] +block = "custom" +command = ''' curl https://wttr.in/$(cat "$XDG_DATA_HOME"/cityname)?format=%t%20%c%l%20%p ''' + +[[block]] +block = "memory" +[block.theme_overrides] +idle_bg = "#354157" +idle_fg = "#edebee" + +[[block]] +block = "uptime" + +[[block]] +block = "time" +format = "%Y-%m-%d %H:%M" +interval = 30 +[block.theme_overrides] +idle_bg = "#354157" +idle_fg = "#edebee" + diff --git a/.config/i3status/config b/.config/i3status/config deleted file mode 100644 index d16bc93..0000000 --- a/.config/i3status/config +++ /dev/null @@ -1,53 +0,0 @@ -# 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 = 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 = "%quality @ %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 used of %total" - threshold_degraded = "1G" - format_degraded = "MEMORY < %available" -} - -tztime local { - format = "%Y-%m-%d %H:%M:%S" -} |