diff options
author | 135e2 <[email protected]> | 2023-01-18 16:37:08 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2023-01-18 16:37:49 +0800 |
commit | 42dcd3f7fe9c0189351206a05b7c3ca1b5686dae (patch) | |
tree | d2fe875257b3a303121fb2109606421b238631b7 /config | |
parent | 693958204191c8651dcfc0624ead442df239be09 (diff) | |
download | dotfiles-42dcd3f7fe9c0189351206a05b7c3ca1b5686dae.tar.gz dotfiles-42dcd3f7fe9c0189351206a05b7c3ca1b5686dae.tar.bz2 dotfiles-42dcd3f7fe9c0189351206a05b7c3ca1b5686dae.zip |
config/i3status-rust: update to 20230118
Adapt config to latest v0.30.0(master) branch.
Diffstat (limited to 'config')
-rw-r--r-- | config/i3status-rust/config.toml | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/config/i3status-rust/config.toml b/config/i3status-rust/config.toml index 5635dc4..9611a8d 100644 --- a/config/i3status-rust/config.toml +++ b/config/i3status-rust/config.toml @@ -1,11 +1,14 @@ +icons_format = "{icon}" + +[theme] theme = "nord-dark" +[icons] icons = "awesome5" [[block]] block = "memory" -display_type = "memory" -format_mem = "{mem_used_percents}" -format_swap = "{swap_used_percents}" +format = " $icon $mem_used.eng(3,B,M) $mem_used_percents.eng(1) " +format_alt = " $icon_swap $swap_used.eng(3,B,M) $swap_used_percents.eng(1) " [[block]] block = "cpu" @@ -14,25 +17,25 @@ interval = 1 [[block]] block = "load" interval = 1 -format = "{1m}" [[block]] block = "net" -device = "wlan0" -format = "{speed_down;K*B} {speed_up;K*B}" +format_alt = " $icon {$signal_strength $frequency|Wired connection} " interval = 1 -[[block]] -block = "custom" +#[[block]] +#block = "custom" # ⌨ == '\xE2\x8C\xA8' -cycle = ["xinput enable 'AT Translated Set 2 keyboard'; echo '⌨ ON'", "xinput disable 'AT Translated Set 2 keyboard'; echo '⌨ OFF'"] +#cycle = ["xinput enable 'AT Translated Set 2 keyboard'; echo '⌨ ON'", "xinput disable 'AT Translated Set 2 keyboard'; echo '⌨ OFF'"] [[block]] block = "battery" interval = 10 -format = "{percentage} {time}" +format = " $icon $percentage $time " [[block]] block = "time" interval = 5 -format = "%a %d/%m %R" +[block.format] +full = " $icon %a %d/%m %R " +short = " $icon %R " |