diff options
author | EuAndreh <eu@euandre.org> | 2022-12-03 10:38:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-12-03 10:38:31 -0300 |
commit | d756fa34390745e7cce06042dfb749dca34b67dc (patch) | |
tree | 35e8d71f7b8c5f01fdd961eaa4d7a70890ccac8a /bin | |
parent | bin/vm: Disable ShellCheck warning (diff) | |
download | dotfiles-d756fa34390745e7cce06042dfb749dca34b67dc.tar.gz dotfiles-d756fa34390745e7cce06042dfb749dca34b67dc.tar.xz |
bin/status-bar: Use the updated VM counter logic
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 = ({ |