Move i3-status-rs config and update

This commit is contained in:
finga 2022-04-11 18:21:32 +02:00
parent 457b967592
commit 049f75ca5c
4 changed files with 17 additions and 21 deletions

View file

@ -206,7 +206,7 @@ set $screen1 "HDMI-2"
# Start i3bar to display a workspace bar (plus the system information # Start i3bar to display a workspace bar (plus the system information
# i3status-rust finds out, if available) # i3status-rust finds out, if available)
bar { bar {
status_command i3status-rs ~/.config/i3/status-rs.toml status_command i3status-rs
font pango:DejaVu Sans Mono, forkawesome 8 font pango:DejaVu Sans Mono, forkawesome 8
position top position top
tray_output primary tray_output primary
@ -223,7 +223,7 @@ bar {
} }
} }
bar { bar {
status_command i3status-rs ~/.config/i3/status-rs_sec.toml status_command i3status-rs ~/.config/i3status-rust/secondary.toml
font pango:DejaVu Sans Mono, forkawesome 8 font pango:DejaVu Sans Mono, forkawesome 8
position top position top
tray_output primary tray_output primary

View file

@ -13,12 +13,12 @@ separator_bg = "#222222"
[[block]] [[block]]
block = "maildir" block = "maildir"
interval = 15 interval = 15
inboxes = ["/home/finga/mail/onders.org/Inbox"] inboxes = ["/home/finga/mail/onders.org/Inbox", "/home/finga/mail/chaostreff.at/Inbox"]
display_type = "new" display_type = "new"
[[block]] [[block]]
block = "weather" block = "weather"
format = "{weather} {temp}°, {humidity}%, {wind}m/s {direction}" format = "{weather} {temp}, {humidity}%, {wind}m/s {direction}"
service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" } service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
[[block]] [[block]]
@ -26,9 +26,10 @@ block = "sound"
[[block]] [[block]]
block = "music" block = "music"
marquee_interval = 0 marquee_interval = 1
marquee_speed = 0.3 marquee_speed = 0.3
max_width = 35 max_width = 35
player = "mpd"
buttons = ["play"] buttons = ["play"]
[[block]] [[block]]
@ -64,24 +65,24 @@ format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" display_type = "memory"
format_mem = "{Mup}%" format_mem = "{mem_total_used_percents}"
clickable = false clickable = false
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "swap" display_type = "swap"
format_swap = "{SUp}%" format_swap = "{swap_used_percents}"
clickable = false clickable = false
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
format = "{barchart} {utilization}% {frequency}GHz" format = "{barchart} {utilization} {frequency}"
[[block]] [[block]]
block = "temperature" block = "temperature"
collapsed = false collapsed = false
format = "{min}° min, {max}° max, {average}° avg" format = "{min} min, {max} max, {average} avg"
chip = "*-isa-*" chip = "*-isa-*"
[[block]] [[block]]

View file

@ -19,25 +19,25 @@ block = "uptime"
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" display_type = "memory"
format_mem = "{Mup}%" format_mem = "{mem_total_used_percents}"
clickable = false clickable = false
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "swap" display_type = "swap"
format_swap = "{SUp}%" format_swap = "{swap_used_percents}"
clickable = false clickable = false
[[block]] [[block]]
block = "cpu" block = "cpu"
frequency = true
interval = 1 interval = 1
format = "{frequency}"
[[block]] [[block]]
block = "temperature" block = "temperature"
collapsed = false collapsed = false
interval = 10 interval = 10
format = "{min}° min, {max}° max, {average}° avg" format = "{min} min, {max} max, {average} avg"
chip = "*-isa-*" chip = "*-isa-*"
[[block]] [[block]]

View file

@ -1,12 +1,7 @@
* *
!/.config !/.config/i3/config
!/.config/i3 !/.config/i3status-rust/config.toml
!/.config/i3/* !/.config/i3status-rust/secondary.toml
!/.config/i3status
!/.config/i3status/*
!/.gitignore.d
!/.gitignore.d/i3 !/.gitignore.d/i3
!/.local
!/.local/bin
!/.local/bin/fuzzy-i3lock !/.local/bin/fuzzy-i3lock
!/.local/bin/i3-run !/.local/bin/i3-run