refined i3status-rust

This commit is contained in:
Gabe Venberg 2024-04-10 12:26:08 -05:00
parent 97cce59541
commit 29f13d5c42
3 changed files with 10 additions and 9 deletions

View file

@ -205,8 +205,9 @@
bars = [
{
fonts = {
names = ["Fira Code"];
size = 8.0;
names = ["FiraCode Nerd Font"];
style = "Mono";
size = 10.0;
};
position = "bottom";
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";

View file

@ -17,7 +17,7 @@
blocks = [
{
block = "music";
format = " $icon {$combo.str(max_w:25,rot_interval:0.5) $play $next $prev $player.str(max_w:5,rot_interval:0.5) [$cur/$avail] |} ";
format = "{$icon $combo.str(max_w:25,rot_interval:0.5) $play $prev $next $player.str(max_w:5,rot_interval:0.5) [$cur/$avail] |}";
}
{
block = "memory";
@ -49,7 +49,7 @@
{
block = "net";
format = "$icon {$signal_strength $ssid.str(max_w:5,rot_interval:0.5)|}";
format_alt = " $icon {$signal_strength $ssid.str(max_w:5,rot_interval:0.5) $frequency|} $ip | $ipv6 via $device";
format_alt = "$icon {$signal_strength $ssid.str(max_w:5,rot_interval:0.5) $frequency|} ipv4-$ip ipv6-$ipv6 via $device";
}
{
block = "sound";

View file

@ -8,7 +8,7 @@
enable = true;
font = {
package = pkgs.fira-code-nerdfont;
name = "Fira Code";
name = "FiraCode Nerd Font";
};
theme = "Gruvbox Dark";
settings={