From b9ea4521d197e08c32ef53f2765e9aa76ec9fc1d Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Fri, 14 Apr 2023 14:22:31 +0200 Subject: [PATCH] i3: fix i3status-rust config file --- i3/i3status-rust/config.toml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/i3/i3status-rust/config.toml b/i3/i3status-rust/config.toml index a501f2c..8ced19d 100644 --- a/i3/i3status-rust/config.toml +++ b/i3/i3status-rust/config.toml @@ -1,22 +1,22 @@ -theme = "dracula" # "solarized-dark" -icons = "awesome" +[theme] +theme = "dracula" + +[icons] +icons = "awesome4" [[block]] block = "disk_space" path = "~" -alias = "/" -format = "{icon} {available} ({percentage}) frei" +format = " $icon $available ($percentage) frei " info_type = "available" -unit = "GB" +alert_unit = "GB" interval = 20 warning = 20.0 alert = 10.0 [[block]] block = "memory" -display_type = "memory" -format_mem = "{mem_used_percents}" -format_swap = "swp: {swap_used_percents}" +format = " $icon $mem_used_percents " [[block]] block = "cpu" @@ -25,20 +25,22 @@ interval = 1 [[block]] block = "net" # device = "enp1s0" -format = "{speed_down;K*b} {speed_up;K*b}" +#format = " $icon $speed_down;K*b $speed_up;K*b" interval = 5 [[block]] block = "sound" -on_click = "~/.config/i3/scripts/pulse_popup" +[[block.click]] +button = "left" +cmd = "~/.config/i3/scripts/pulse_popup" [[block]] block = "battery" interval = 10 -format = "{percentage} ({time})" +format = " $icon $percentage ($time) " if_command = "test -e /sys/class/power_supply/BAT1" [[block]] block = "time" interval = 1 -format = "%a %d.%m %H:%M:%S" +format = " $icon $timestamp.datetime(f:'%a %d.%m %H:%M:%S') "