dwmbar/modules/localip
2019-10-24 20:09:35 +01:00

12 lines
122 B
Bash
Executable file

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