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
This commit is contained in:
Vitor Gonçalves 2023-12-05 01:21:04 -03:00
parent 4b8982f309
commit 0d8c81fdfb
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
2 changed files with 37 additions and 53 deletions

View File

@ -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"

View File

@ -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"
}