i3status-rs

This commit is contained in:
Magic_RB 2020-07-09 20:39:30 +02:00
parent df8a17d627
commit c45d183a4f
2 changed files with 48 additions and 1 deletions

View file

@ -201,5 +201,16 @@ bindsym $mod+r mode "resize"
# 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 10
position bottom
status_command /usr/bin/i3status-rs /home/main/.config/i3/status.toml
colors {
separator #666666
background #222222
statusline #dddddd
focused_workspace #555555 #555555 #ffffff
active_workspace #222222 #222222 #ffffff
inactive_workspace #222222 #222222 #888888
urgent_workspace #2f343a #900000 #ffffff
}
} }

36
dot_config/i3/status.toml Normal file
View file

@ -0,0 +1,36 @@
theme = "space-villain"
icons = "awesome5"
[[block]]
block = "battery"
interval = 30
format = "{percentage}% {time} {power}W"
[[block]]
block = "networkmanager"
on_click = "nm-connection-editor"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_swap = "{SUp}%"
[[block]]
block = "nvidia_gpu"
label = "GTX 1050"
show_memory = true
show_clocks = true
interval = 1
[[block]]
block = "cpu"
interval = 1
[[block]]
block = "sound"
[[block]]
block = "time"
interval = 60
format = "%a %d/%m %R"