Closed kgizdov closed 3 years ago
i3status-rust 0.14.7-1
0.14.7
does not include the "advanced" formatting. I don't know when a new release is coming out, but since you use Arch Linux, you can try i3status-rust-git package from the AUR.
backlight_empty = " š " backlight_partial1 = " š " backlight_partial2 = " š " backlight_partial3 = " š " backlight_full = " š "
The names for backlight's partial icons have been changed, need to add this in the NEWS.md
file.
You can now also use invert_icons = true
on the backlight
block instead :)
I see. OK, so the confusion is that the front page/Wiki docs are not tagged, then. Am I looking at the wrong place or something? (I will try the git version in the meantime. thx)
No we don't really have versioned docs (except for the git revisions). Many/most users use the git version anyway, so we rarely thought about it. But at this point we could think about moving documentation to something like readthedocs or so, might also be better for discoverability
You can select the git branch https://github.com/greshake/i3status-rust/tree/v0.14.7
(except for the git revisions)
Isn't this enough? I mean I can just select the tag that I use and get all the docs. Am I missing something?
@MaxVerevkin haha, I know that, but I was talking about what @GladOSkar suggested. It's confusing in general to have your front facing docs apply only to the latest version - this means for the majority of time they are incorrect for everyone that does not explicitly require the version of docs they want. Sure, you can get the version you want, yes, but it is confusing by design.
so trying the i3status-rust-git
package and a few observations:
{ssid:0^8}
: gives an error for unexpected token ^
{graph_down;M*b}
: still shows b
and presume it uses bytes instead of the requested uniticons = "awesome5"
: results in broken icon for disk space
with more coming as I play about
{graph_down;M*b}
: still shows b and presume it uses bytes instead of the requested unit
Hmm. What is the expected behavior? (I don't get how do you what to customize the graph).
@MaxVerevkin it's true that the graph is scaled from 0 to 1, correct? So absolute unit doesn't matter for values really. However, I expect when the base unit is set to something, at least the icon/unit should reflect it. I guess this is for prettiness only, but it could also be used a sort of extra scaling if that is desirable by users. For example, if my graph is in bytes, it should start showing units immediately, but it it is in Mb, then it should only show activity if value > 0.1 Mb
or some reasonable value depending on pixels. Something like that.
In any case, if the unit is updated, it would be enough for the moment.
hmm, I can't get the networkmanager
block on_click
to work either. I've tried:
[[block]]
block = "networkmanager"
# on_click = "alacritty -e nmtui" # this does nothing
on_click = "nm-applet" # this also does nothing
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
interface_name_include = ["wlp58s0"]
ap_format = "{ssid^8}"
it's true that the graph is scaled from 0 to 1, correct?
No. The graph scales from minimum speed to maximum speed within the last N seconds. So setting the unit for a graph doesn't make sense.
@MaxVerevkin yes, that is mathematically the same thing. Please try to understand what I've suggested.
OK, so your idea is that if the unit/prefix for graph is set to, lets say Mb
, the minimum should be 0.1Mb
, and the maximum should be... something, right? If so, then I think it would be better to allow an explicit min and max values. You can propose a syntax for that.
Sure, whatever is easiest. I was more thinking of setting a minimum scaling factor, but it may turn out weird in the end anyway.
Hi,
I might be misunderstanding the variable formatting syntax. My config is below. The issue I'm having is that when I have
"{ssid}"
I get the actual SSID, which is too long, but when I put"{ssid^8}"
I get exactly{ssid^8}
not the SSID formatted to 8 characters long. I have a similar problem for temperatures. When I request"{min*deg}"
I get exactly{max*deg}
not, for example,30Ā°C
or anything. Another example is with network speed,"{speed_down;M*b}"
does not produce the download speed formatted in Mbps. I've also failed to run the whole example on the memory block as the docs include an undefined value{mem_used}
, whichi3status-rs
errors out on.Am I using the formatting syntax incorrectly or in the wrong place or whatever? I have not been able to find any examples online anywhere for this.
OS: Arch Linux x64_86 pkgver: i3status-rust 0.14.7-1