Added LTE compatibility
This commit is contained in:
parent
d915aaf7ed
commit
0df19f7206
1
Makefile
1
Makefile
|
@ -15,6 +15,7 @@ install: output
|
|||
install -m 0755 someblocks $(DESTDIR)$(PREFIX)/bin/someblocks
|
||||
install -m 0755 blocks-battery $(DESTDIR)$(PREFIX)/bin/blocks-battery
|
||||
install -m 0755 blocks-mail $(DESTDIR)$(PREFIX)/bin/blocks-mail
|
||||
install -m 0755 blocks-internet $(DESTDIR)$(PREFIX)/bin/blocks-internet
|
||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||
install -m 0644 someblocks.1 $(DESTDIR)$(MANPREFIX)/man1/someblocks.1
|
||||
uninstall:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
nmcli -t -f active,ssid dev wifi | grep -E 'yes' | cut -c 5- | grep . || (mmcli -m /org/freedesktop/ModemManager1/Modem/0 | grep "operator name:" | cut -c 38- | tr -d '\n' && echo -n ": " && mmcli -m /org/freedesktop/ModemManager1/Modem/0 | grep -P "(\d{3}|\d{2})%" -o) || echo "Disconnected"
|
Loading…
Reference in New Issue