Ignore comments in xinitrc

This commit is contained in:
John W. Trengrove
2015-09-06 16:36:19 +10:00
parent 7e251c1b21
commit 3ff5daa532
+1 -1
View File
@@ -12,7 +12,7 @@ KERNEL="$(uname -sr)"
UPTIME="$(uptime -p | sed s:"up "::)"
PACKAGES="$(pacman -Q | wc -l)"
# shell is already defined
WM="$(tail -n 1 "${HOME}/.xinitrc" | cut -d " " -f2)"
WM="$(grep -v "^#" "${HOME}/.xinitrc" | tail -n 1 | cut -d " " -f2)"
## DEFINE COLORS