diff --git a/options.html b/options.html index 9ceb6f49b..3759e7f71 100644 --- a/options.html +++ b/options.html @@ -3346,19 +3346,16 @@ for options.
Type: attribute set of blocks = [ { alert = 10.0; - alias = "/"; block = "disk_space"; info_type = "available"; interval = 60; path = "/"; - unit = "GB"; warning = 20.0; } { block = "memory"; - display_type = "memory"; - format_mem = "{mem_used_percents}"; - format_swap = "{swap_used_percents}"; + format = " $icon mem_used_percents "; + format_alt = " $icon $swap_used_percents "; } { block = "cpu"; @@ -3366,7 +3363,7 @@ for options.
Type: attribute set of } { block = "load"; - format = "{1m}"; + format = " $icon $1m "; interval = 1; } { @@ -3374,7 +3371,7 @@ for options.
Type: attribute set of } { block = "time"; - format = "%a %d/%m %R"; + format = " $timestamp.datetime(f:'%a %d/%m %R') "; interval = 60; } ]; @@ -3384,18 +3381,15 @@ for options.
Type: attribute set of { block = "disk_space"; path = "/"; - alias = "/"; info_type = "available"; - unit = "GB"; interval = 60; warning = 20.0; alert = 10.0; } { block = "memory"; - display_type = "memory"; - format_mem = "{mem_used_percents}"; - format_swap = "{swap_used_percents}"; + format_mem = " $icon $mem_used_percents "; + format_swap = " $icon $swap_used_percents "; } { block = "cpu"; @@ -3404,18 +3398,18 @@ for options.
Type: attribute set of { block = "load"; interval = 1; - format = "{1m}"; + format = " $icon $1m "; } { block = "sound"; } { block = "time"; interval = 60; - format = "%a %d/%m %R"; + format = " $timestamp.datetime(f:'%a %d/%m %R') "; } ]; settings = { theme = { - name = "solarized-dark"; + theme = "solarized-dark"; overrides = { idle_bg = "#123456"; idle_fg = "#abcdef"; @@ -3431,70 +3425,71 @@ for options.
Type: attribute set of
config
. See
https://github.com/greshake/i3status-rust/blob/master/blocks.md
for block options.
Type: TOML value
Default:
[ + { + block = "cpu"; + } { alert = 10.0; - alias = "/"; block = "disk_space"; + format = " $icon root: $available.eng(w:2) "; info_type = "available"; - interval = 60; + interval = 20; path = "/"; - unit = "GB"; warning = 20.0; } { block = "memory"; - display_type = "memory"; - format_mem = "{mem_used_percents}"; - format_swap = "{swap_used_percents}"; - } - { - block = "cpu"; - interval = 1; - } - { - block = "load"; - format = "{1m}"; - interval = 1; + format = " $icon $mem_total_used_percents.eng(w:2) "; + format_alt = " $icon_swap $swap_used_percents.eng(w:2) "; } { block = "sound"; + click = [ + { + button = "left"; + cmd = "pavucontrol"; + } + ]; } { block = "time"; - format = "%a %d/%m %R"; - interval = 60; + format = " $timestamp.datetime(f:'%a %d/%m %R') "; + interval = 5; } ]
Example:
[ { block = "disk_space"; path = "/"; - alias = "/"; info_type = "available"; - unit = "GB"; interval = 60; warning = 20.0; alert = 10.0; } { block = "sound"; - format = "{output_name} {volume}%"; - on_click = "pavucontrol --tab=3"; + format = " $icon $output_name {$volume.eng(w:2) |}"; + click = [ + { + button = "left"; + cmd = "pavucontrol --tab=3"; + } + ]; mappings = { - "alsa_output.pci-0000_00_1f.3.analog-stereo" = ""; - "bluez_sink.70_26_05_DA_27_A4.a2dp_sink" = ""; + "alsa_output.pci-0000_00_1f.3.analog-stereo" = ""; + "bluez_sink.70_26_05_DA_27_A4.a2dp_sink" = ""; }; } ];
Declared by:
<home-manager/modules/programs/i3status-rust.nix>
|
programs.i3status-rust.bars.<name>.icons
The icons set to use. See -https://github.com/greshake/i3status-rust/blob/master/themes.md -for a list of available icon sets.
Type: string
Default: "none"
Example: "awesome5"
Declared by:
+https://github.com/greshake/i3status-rust/blob/master/doc/themes.md
+for a list of available icon sets. |