Skip to content

Commit 9086e3b

Browse files
authored
system-bluetooth-bluetoothctl, network-networkmanager: fix read arg count
* system-bluetooth-bluetoothctl: fix read sh error * network-networkmanager: fix read sh error
1 parent 97983a5 commit 9086e3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

polybar-scripts/network-networkmanager/network-networkmanager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ trap exit INT
6363
while true; do
6464
network_print
6565

66-
timeout 60s nmcli monitor | while read -r; do
66+
timeout 60s nmcli monitor | while read -r REPLY; do
6767
network_print
6868
done &
6969

polybar-scripts/system-bluetooth-bluetoothctl/system-bluetooth-bluetoothctl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
bluetooth_print() {
4-
bluetoothctl | while read -r; do
4+
bluetoothctl | while read -r REPLY; do
55
if [ "$(systemctl is-active "bluetooth.service")" = "active" ]; then
66
printf '#1'
77

0 commit comments

Comments
 (0)