i3: Switch to i3status-rs bar
This commit is contained in:
@@ -208,7 +208,8 @@ exec --no-startup-id unclutter
|
|||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
bar {
|
||||||
status_command i3status
|
font pango:DejaVu Sans Mono, FontAwesome 12
|
||||||
|
status_command ~/.cargo/bin/i3status-rs ~/.config/i3/i3status-rs.toml
|
||||||
mode hide
|
mode hide
|
||||||
modifier $mod
|
modifier $mod
|
||||||
tray_padding 0
|
tray_padding 0
|
||||||
|
|||||||
35
.config/i3/i3status-rs.toml
Normal file
35
.config/i3/i3status-rs.toml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
theme = "solarized-dark"
|
||||||
|
icons = "awesome"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "disk_space"
|
||||||
|
path = "/home"
|
||||||
|
alias = "~"
|
||||||
|
info_type = "available"
|
||||||
|
unit = "GB"
|
||||||
|
interval = 20
|
||||||
|
warning = 20.0
|
||||||
|
alert = 10.0
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "memory"
|
||||||
|
display_type = "memory"
|
||||||
|
format_mem = "{mem_total_used_percents}"
|
||||||
|
format_swap = "{swap_used_percents}"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "cpu"
|
||||||
|
interval = 1
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "load"
|
||||||
|
interval = 1
|
||||||
|
format = "{1m}"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "sound"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "time"
|
||||||
|
interval = 60
|
||||||
|
format = "%a %d.%m %R"
|
||||||
Reference in New Issue
Block a user