dwmbar/modules/localip

13 lines
122 B
Text
Raw Normal View History

#!/bin/bash
# Prints out your local IP
PREFIX='ﯱ '
get_local_ip()
{
echo "$PREFIX$(hostname -i)"
}
get_local_ip