pointfichiers/bar/i3status-rust/config.toml

65 lines
1.3 KiB
TOML

icons_format = "{icon}"
[theme]
theme = "solarized-dark"
[theme.overrides]
idle_bg = "#123456"
idle_fg = "#abcdef"
[icons]
icons = "awesome4"
[[block]]
block = "cpu"
[[block]]
block = "custom"
command = "~/.config/i3status-rust/scripts/toggle-profile"
json = true
[[block.click]]
button = "left"
cmd="~/.config/i3status-rust/scripts/toggle-profile toggle"
sync = true
update = true
[[block]]
block = "custom"
command = "cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status"
interval = 2
format = " \uf26c $text "
[[block]]
block = "custom"
command = "~/.config/i3status-rust/scripts/refresh-rate"
json = true
[[block.click]]
button = "left"
cmd="~/.config/i3status-rust/scripts/refresh-rate toggle"
sync = true
update = true
[[block]]
block = "memory"
format = " $icon $mem_total_used_percents.eng(w:2) "
format_alt = " $icon_swap $swap_used_percents.eng(w:2) "
[[block]]
block = "net"
format = " $icon {$signal_strength ($ssid)|} ^icon_net_down $speed_down.eng(prefix:K) ^icon_net_up $speed_up.eng(prefix:K) "
format_alt = "$icon $device $ip $frequency "
[[block]]
block = "battery"
interval = 5
format = "$icon $percentage $power $time"
[[block]]
block = "sound"
[[block.click]]
button = "left"
cmd = "pavucontrol"
[[block]]
block = "time"
interval = 1
format = " $timestamp.datetime(f:'%a %d/%m %X') "