mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-05-29 02:47:34 +02:00
i3status-rs: read the fine manual
This commit is contained in:
parent
520ceda565
commit
395a91f0a8
@ -1,5 +1,6 @@
|
|||||||
# i3status-rs config file
|
# i3status-rs config file
|
||||||
# based heavily on /usr/share/doc/i3status-rs/example_config.toml & https://github.com/greshake/i3status-rust/tree/master/examples
|
# based heavily on /usr/share/doc/i3status-rs/example_config.toml & https://github.com/greshake/i3status-rust/tree/master/examples
|
||||||
|
# and manpage from search engine
|
||||||
# Note: I am not confident that "irstatus-rs" and "i3status-rust" are the same
|
# Note: I am not confident that "irstatus-rs" and "i3status-rust" are the same
|
||||||
# software.
|
# software.
|
||||||
|
|
||||||
@ -29,14 +30,25 @@ name = "awesome"
|
|||||||
#warning = 20.0
|
#warning = 20.0
|
||||||
#alert = 10.0
|
#alert = 10.0
|
||||||
|
|
||||||
|
# Not recognised on Fedora, could have been fun
|
||||||
|
#[[block]]
|
||||||
|
#block = "pomodoro"
|
||||||
|
#length = 25
|
||||||
|
#break_length = 5
|
||||||
|
#message = "Break"
|
||||||
|
#break_message = "Break over"
|
||||||
|
#notifier = "swaynag"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "load"
|
block = "load"
|
||||||
interval = 5
|
interval = 5
|
||||||
format = "{1m}"
|
format = "{1m} {5m} {15m}"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "cpu"
|
block = "cpu"
|
||||||
interval = 5
|
interval = 5
|
||||||
|
# {frequency} can also be used.
|
||||||
|
format = "{barchart} {utilization}%"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
@ -44,13 +56,19 @@ display_type = "memory"
|
|||||||
format_mem = "{Mup}%"
|
format_mem = "{Mup}%"
|
||||||
format_swap = "{SUp}%"
|
format_swap = "{SUp}%"
|
||||||
|
|
||||||
|
# Requires a battery to be present or will error.
|
||||||
|
#[[block]]
|
||||||
|
#block = "battery"
|
||||||
|
#interval = 10
|
||||||
|
#format = "{percentage} {time}"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "sound"
|
block = "sound"
|
||||||
|
|
||||||
[[block]]
|
#[[block]]
|
||||||
block = "custom"
|
#block = "custom"
|
||||||
command = "date -uIs"
|
#command = "date -uIs"
|
||||||
interval = 5
|
#interval = 5
|
||||||
|
|
||||||
# Date format explanations
|
# Date format explanations
|
||||||
# %G = week based year
|
# %G = week based year
|
||||||
@ -65,6 +83,13 @@ interval = 5
|
|||||||
# %M = minute
|
# %M = minute
|
||||||
# %S = seconds
|
# %S = seconds
|
||||||
# %z = timezone offset to UTC, e.g. +0300
|
# %z = timezone offset to UTC, e.g. +0300
|
||||||
|
[[block]]
|
||||||
|
block = "time"
|
||||||
|
interval = 5
|
||||||
|
format = "%F %H.%M.%S %Z"
|
||||||
|
timezone = "UTC"
|
||||||
|
#locale = "en_DK"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "time"
|
block = "time"
|
||||||
interval = 5
|
interval = 5
|
||||||
@ -72,6 +97,13 @@ interval = 5
|
|||||||
format = "%G-W%V-%u (%j/%a/%B) %F %H.%M.%S%z"
|
format = "%G-W%V-%u (%j/%a/%B) %F %H.%M.%S%z"
|
||||||
# default
|
# default
|
||||||
#format = "%a %d/%m %R"
|
#format = "%a %d/%m %R"
|
||||||
|
#locale = "fi_EN"
|
||||||
|
|
||||||
|
#[[block]]
|
||||||
|
#block = "keyboard_layout"
|
||||||
|
# Doesn't recognise "sway" as driver
|
||||||
|
#driver = "sway"
|
||||||
|
#format = "{layout} {variant}"
|
||||||
|
|
||||||
#[[block]]
|
#[[block]]
|
||||||
#block = "custom"
|
#block = "custom"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user