From eae2664fd67a1e112f17532bee1f42c0fef0780e Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Fri, 12 Apr 2024 21:44:37 -0500 Subject: [PATCH] some ajustments to status bar. --- modules/both/i3/i3status-rust.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/both/i3/i3status-rust.nix b/modules/both/i3/i3status-rust.nix index c903388..c354981 100644 --- a/modules/both/i3/i3status-rust.nix +++ b/modules/both/i3/i3status-rust.nix @@ -28,7 +28,7 @@ blocks = [ { block = "music"; - 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] |}"; + 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"; @@ -54,7 +54,8 @@ { block = "battery"; driver = "upower"; - format = "$icon $percentage {$time |}"; + device = "DisplayDevice"; + format = "$icon $percentage {$time|}"; } ) { @@ -64,7 +65,7 @@ } { block = "sound"; - format = "$icon {$volume.bar(v:true) $volume.eng(w:2) |}"; + format = "$icon {$volume.bar(v:true) $volume.eng(w:2)|}"; headphones_indicator = true; click = [ {