Replace i3blocks with i3status-rust
Requires the i3status-rust package You should also install Font Awesome 6 and the Powerline fonts, otherwise you will get a broken looking bar
This commit is contained in:
parent
16eb86a0ed
commit
77b618ce3b
@ -9,7 +9,8 @@ bar {
|
||||
|
||||
font pango:FontAwesome6Free 11, SourceCodeProforPowerline 11
|
||||
|
||||
status_command i3blocks -c $i3_path/i3blocks.conf
|
||||
#status_command i3blocks -c $i3_path/i3blocks.conf
|
||||
status_command i3status-rs $i3_path/i3status-rs.toml
|
||||
|
||||
colors {
|
||||
background #161821
|
||||
|
@ -203,7 +203,8 @@ bar {
|
||||
|
||||
font pango:FontAwesome6Free 11, SourceCodeProforPowerline 11
|
||||
|
||||
status_command i3blocks -c $i3_path/i3blocks.conf
|
||||
#status_command i3blocks -c $i3_path/i3blocks.conf
|
||||
status_command i3status-rs $i3_path/i3status-rs.toml
|
||||
|
||||
colors {
|
||||
background #161821
|
||||
|
69
home/.config/i3/i3status-rs.toml
Normal file
69
home/.config/i3/i3status-rs.toml
Normal file
@ -0,0 +1,69 @@
|
||||
[theme]
|
||||
name = "nord-dark"
|
||||
|
||||
[icons]
|
||||
name = "awesome6"
|
||||
|
||||
[[block]]
|
||||
block = "focused_window"
|
||||
max_width = 35
|
||||
format = "{title}"
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 2
|
||||
format = "{utilization}"
|
||||
|
||||
#[[block]]
|
||||
#block = "load"
|
||||
#format = "{1m}"
|
||||
#interval = 15
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
format_mem = "{mem_used}"
|
||||
icons = true
|
||||
interval = 5
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
interval = 2
|
||||
hide_missing = true
|
||||
hide_inactive = true
|
||||
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
# TODO: Only if I have temp sensors
|
||||
|
||||
#[[block]]
|
||||
#block = "backlight"
|
||||
# TODO: Only if I'm a laptop
|
||||
|
||||
[[block]]
|
||||
block = "pacman"
|
||||
interval = 600
|
||||
format = "{both} updates available"
|
||||
format_singular = "{both} update available"
|
||||
critical_updates_regex = "(linux|linux-lts|linux-zen)"
|
||||
aur_command = "yay -Qua"
|
||||
hide_when_uptodate = true
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 15
|
||||
hide_missing = true
|
||||
format = " {percentage} ({time})"
|
||||
full_threshold = 99
|
||||
full_format = " "
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
format = "{volume}"
|
||||
headphones_indicator = true
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
format = "%h %d %R"
|
||||
interval = 15
|
||||
on_click = "notify-send \"$(cal)\""
|
||||
|
Loading…
Reference in New Issue
Block a user