diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2023-10-28 08:41:43 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2023-10-28 08:41:43 -0400 |
| commit | 0cc589bcadf5a8ce6aee2706e749fee878ccca75 (patch) | |
| tree | 8cbd17151ea65bcaf73085899917ac66d1360122 /.local/bin/statusbar/sb-internet | |
| parent | 6ba48b27339d47732519476333712bb4b2cde87f (diff) | |
| parent | 1e3adf9c03b2e563e81a13d6907ffd5ca20b887a (diff) | |
| download | eibhear-0cc589bcadf5a8ce6aee2706e749fee878ccca75.tar.gz eibhear-0cc589bcadf5a8ce6aee2706e749fee878ccca75.tar.zst eibhear-0cc589bcadf5a8ce6aee2706e749fee878ccca75.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/statusbar/sb-internet')
| -rwxr-xr-x | .local/bin/statusbar/sb-internet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/sb-internet b/.local/bin/statusbar/sb-internet index 4c8131c..5440a52 100755 --- a/.local/bin/statusbar/sb-internet +++ b/.local/bin/statusbar/sb-internet @@ -25,9 +25,9 @@ elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then fi # Ethernet -[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐 " || ethericon="❎ " +[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐" || ethericon="❎" # TUN -[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon="🔒 " +[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒" printf "%s%s%s\n" "$wifiicon" "$ethericon" "$tunicon" |
