dwm and dwmbar
This commit is contained in:
1 parent
307448edd3
commit
135fe92331
50 files changed
+1846
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Prints out your local IP
|
||||
|
||||
PREFIX='ﯱ '
|
||||
|
||||
get_local_ip()
|
||||
{
|
||||
IP=$(ip addr | grep -e "inet " | awk 'NR==2' | sed 's/^.*inet.//g; s/\/.*//g')
|
||||
|
||||
echo "$PREFIX$IP"
|
||||
}
|
||||
|
||||
get_local_ip
|
||||
Reference in new issue
Block a user