diff options
| author | 2021-11-10 13:47:17 +0000 | |
|---|---|---|
| committer | 2021-11-10 13:47:17 +0000 | |
| commit | 4efde2c3298da89d3d2b8d026f581df3341cd8eb (patch) | |
| tree | b7804d0ed648cdd7c1f7df3e3d29fda8071d1b46 /bin | |
| parent | bbff046c2a5bbbc103a26a9d74c416373fdc1ae2 (diff) | |
modificada fonte do xterm, retirada verbose do mbsync e adicionada opção de no link ao script wlan
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/mbsync.sh | 2 | ||||
| -rwxr-xr-x | bin/wlan | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/mbsync.sh b/bin/mbsync.sh index 75ed9a9..363d726 100755 --- a/bin/mbsync.sh +++ b/bin/mbsync.sh @@ -6,5 +6,5 @@ #pkill mbsync &>/dev/null # runs mbsync and writes the output to a file -mbsync -a +mbsync -a exit 0 @@ -4,6 +4,8 @@ wlan() { station="$(iwctl device list | grep station | awk ' { print $1 } ')" essid="$(iwgetid | sed -e 's/ESSID://g' -e 's/\"//g' -e "s:$station::g" -e 's/^\W*/ /g')" + +# [ -n "$essid" ] || [ -z "$essid" ] && essid=' no link' printf "%s" "$essid" } |
