dotfiles/sway/status-rust.toml

105 lines
1.8 KiB
TOML

[theme]
name = "semi-native"
# theme = "solarized-dark"
[theme.overrides]
separator = "<span font='5'>|</span>"
[icons]
name = "awesome"
[[block]]
block = "pomodoro"
length = 25
break_length = 5
message = "Take a break!"
break_message = "Back to work!"
notifier = "swaynag"
[[block]]
block = "disk_space"
path = "/"
info_type = "available"
unit = "GB"
interval = 20
warning = 12.0
alert = 8.0
alert_absolute = true
format = "{icon}/{available}"
[[block]]
block = "disk_space"
path = "/home"
info_type = "available"
unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
alert_absolute = true
format = "{icon}/home {available}"
# [[block]]
# block = "docker"
# interval = 2
# format = "{running}/{total} | {images}"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used_percents}"
format_swap = "{swap_used_percents}"
[[block]]
block = "cpu"
interval = 5
[[block]]
block = "load"
interval = 5
format = "{1m}"
[[block]]
block = "net"
device = "enp0s25"
format = "eth {ip} {speed_down;K*b} {graph_down;K*b}"
interval = 5
[[block]]
block = "net"
device = "wlp3s0"
on_click = "alacritty -e nmtui"
format = "{ssid} {signal_strength} {ip} {speed_down;K*b}"
# format = "{ssid} {signal_strength} {ip} {speed_down;K*b} {graph_down;K*b}"
interval = 5
[[block]]
block = "sound"
format = "{volume}"
show_volume_when_muted = true
# [[block]]
# block = "sound"
# name = "Mic"
# format = "{output_name} {volume}"
# show_volume_when_muted = true
[[block]]
block = "battery"
# driver = "upower"
driver = "sysfs"
format = "{percentage} {time}"
allow_missing = true
# [[block]]
# block = "networkmanager"
# on_click = "alacritty -e nmtui"
# interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
# interface_name_include = []
# ap_format = "{ssid^10}"
[[block]]
block = "time"
timezone = "Europe/Berlin"
interval = 5
format = "%a %Y-%m-%d %R:%S"