#!/bin/sh case $BUTTON in 1)notify-send --expire-time=60000 "IP Addresses" "$(ip a | awk '/\/24|\/64/ {if($5=="temporary")print $2 " " $5;else print $2;}')";; 3)urxvt -e ~/.local/bin/statusbar/ipv4 esac ip a | awk '/\/24/ { print $2 }' | cut -d '/' -f 1