Initial commit

This commit is contained in:
2018-09-01 10:17:03 -07:00
commit 6912c81d81
3 changed files with 34 additions and 0 deletions

6
dwm_status Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
DESKTOPNAME=$(perl -e '$ARGV[0] =~ m/([a-zA-Z0-9]+)(_([a-zA-Z0-9]+))?/; print "$1"' $VNCDESKTOP)
sts=$(date +"%a %D %I:%M%p")
ipa=$(hostname -I | cut -f1 -d" ")
xsetroot -name " $sts [$DESKTOPNAME:$ipa]"