summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/bar-ipv4
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/bar-ipv4')
-rwxr-xr-x.local/bin/statusbar/bar-ipv42
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/bar-ipv4 b/.local/bin/statusbar/bar-ipv4
index 4e51eca..85999bc 100755
--- a/.local/bin/statusbar/bar-ipv4
+++ b/.local/bin/statusbar/bar-ipv4
@@ -2,7 +2,7 @@
2 2
3case $BUTTON in 3case $BUTTON in
4 1)notify-send --expire-time=60000 "IP Addresses" "$(ip a | awk '/\/24|\/64/ {if($5=="temporary")print $2 " " $5;else print $2;}')";; 4 1)notify-send --expire-time=60000 "IP Addresses" "$(ip a | awk '/\/24|\/64/ {if($5=="temporary")print $2 " " $5;else print $2;}')";;
5 3)urxvt -e ~/.local/bin/statusbar/ipv4 5 3)urxvt -e ~/.local/bin/statusbar/bar-ipv4
6esac 6esac
7ip a | awk '/\/24/ { print $2 }' | cut -d '/' -f 1 7ip a | awk '/\/24/ { print $2 }' | cut -d '/' -f 1
8 8