diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/status-bar | 2 |
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 = ({ |