diff options
Diffstat (limited to '.local/bin/statusbar/bar-ipv4')
-rwxr-xr-x | .local/bin/statusbar/bar-ipv4 | 2 |
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 | ||
3 | case $BUTTON in | 3 | case $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 |
6 | esac | 6 | esac |
7 | ip a | awk '/\/24/ { print $2 }' | cut -d '/' -f 1 | 7 | ip a | awk '/\/24/ { print $2 }' | cut -d '/' -f 1 |
8 | 8 | ||