shell-things/conf/i3status-rs/config.toml

113 lines
2.4 KiB
TOML
Raw Permalink Normal View History

2022-04-26 21:21:28 +02:00
# i3status-rs config file
# based heavily on /usr/share/doc/i3status-rs/example_config.toml & https://github.com/greshake/i3status-rust/tree/master/examples
2022-04-27 09:05:58 +02:00
# and manpage from search engine
2022-04-26 21:21:28 +02:00
# Note: I am not confident that "irstatus-rs" and "i3status-rust" are the same
2023-02-21 18:08:54 +01:00
# software.
2022-04-26 21:21:28 +02:00
# WIP: migration from i3status
# contains: (disk /, disk/home,) load, ipv6, wireless, ethernet, battery, volume, (utc) time, (local time)
2022-04-26 21:21:28 +02:00
2022-04-27 08:37:27 +02:00
[theme]
name = "solarized-dark"
2022-04-26 21:21:28 +02:00
# Doesn't exist :(
2022-04-27 08:37:27 +02:00
#name = "selenized-dark"
[theme.overrides]
# Selezined Dark
idle_bg = "#103c48"
idle_fg = "#adbcbc"
[icons]
name = "awesome"
# fontawesome5-fonts-all in Fedora? doesn't work
#name = "awesome5"
2022-04-26 21:21:28 +02:00
#[[block]]
#block = "disk_space"
#path = "/"
#alias = "/"
#info_type = "available"
#unit = "GB"
#interval = 20
#warning = 20.0
#alert = 10.0
2022-04-27 09:05:58 +02:00
# Not recognised on Fedora, could have been fun
#[[block]]
#block = "pomodoro"
#length = 25
#break_length = 5
#message = "Break"
#break_message = "Break over"
#notifier = "swaynag"
2022-04-26 21:21:28 +02:00
[[block]]
block = "load"
interval = 5
2022-04-27 09:05:58 +02:00
format = "{1m} {5m} {15m}"
2022-04-26 21:21:28 +02:00
[[block]]
block = "cpu"
interval = 5
2022-04-27 09:05:58 +02:00
# {frequency} can also be used.
format = "{barchart} {utilization}%"
2022-04-26 21:21:28 +02:00
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_swap = "{SUp}%"
2022-04-27 09:05:58 +02:00
# Requires a battery to be present or will error.
#[[block]]
#block = "battery"
#interval = 10
#format = "{percentage} {time}"
2022-04-26 21:21:28 +02:00
[[block]]
block = "sound"
2022-04-27 09:05:58 +02:00
#[[block]]
#block = "custom"
#command = "date -uIs"
#interval = 5
2022-04-26 21:21:28 +02:00
# Date format explanations
# %G = week based year
# %V = week number counted from first week with 4 days
# %u = week-day-number (1 = mon, 7 = sun)
# %a = week day abbreviation (e.g. ma for maanantai (FI))
# %B = unabbreviated month name (e.g. heinäkuu (FI))
# %Y = actual year
# %j = ordinal day of the year, from 000 to 366 (e.g. 201)
# %F = year-month-day e.g. 2020-07-19
# %H = 24H hour
# %M = minute
# %S = seconds
# %z = timezone offset to UTC, e.g. +0300
2022-04-27 09:05:58 +02:00
[[block]]
block = "time"
interval = 5
format = "%F %H.%M.%S %Z"
timezone = "UTC"
#locale = "en_DK"
2022-04-26 21:21:28 +02:00
[[block]]
block = "time"
interval = 5
# i3status: 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
#format = "%a %d/%m %R"
2022-04-27 09:05:58 +02:00
#locale = "fi_EN"
#[[block]]
#block = "keyboard_layout"
# Doesn't recognise "sway" as driver
#driver = "sway"
#format = "{layout} {variant}"
2022-04-26 21:21:28 +02:00
#[[block]]
#block = "custom"
#command = "cat /etc/hostname"
# Fedora 36 version doesn't recognise "once" (2022-04-06)
#interval = 3600