aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-12-03 10:38:31 -0300
committerEuAndreh <eu@euandre.org>2022-12-03 10:38:31 -0300
commitd756fa34390745e7cce06042dfb749dca34b67dc (patch)
tree35e8d71f7b8c5f01fdd961eaa4d7a70890ccac8a /bin
parentbin/vm: Disable ShellCheck warning (diff)
downloaddotfiles-d756fa34390745e7cce06042dfb749dca34b67dc.tar.gz
dotfiles-d756fa34390745e7cce06042dfb749dca34b67dc.tar.xz
bin/status-bar: Use the updated VM counter logic
Diffstat (limited to 'bin')
-rwxr-xr-xbin/status-bar2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/status-bar b/bin/status-bar
index bd55b05..d560051 100755
--- a/bin/status-bar
+++ b/bin/status-bar
@@ -88,7 +88,7 @@ while (my ($statusline) = (<STDIN> =~ /^,?(.*)/)) {
my $mpris = `player current`;
chomp $mpris;
- my $vms = `vm status | grep :up\$ | wc -l`;
+ my $vms = `vm status | awk '\$2=="up"' | wc -l`;
chomp $vms;
@blocks = ({