]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xinitrc: use $HOME for consistency
authorSimon Ruderich <simon@ruderich.org>
Mon, 18 Aug 2014 13:52:12 +0000 (15:52 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 18 Aug 2014 13:52:12 +0000 (15:52 +0200)
xinitrc

diff --git a/xinitrc b/xinitrc
index 8a649a144ec5865b6d445e86d6a984ce498d6b5b..fb9a24e51cc7d9ae1a78d1671f1844a155b75062 100755 (executable)
--- a/xinitrc
+++ b/xinitrc
@@ -103,7 +103,7 @@ xmodmap -e 'keycode 94 = grave asciitilde'
 xset b off
 
 # Load settings for programs. Xdefaults is deprecated.
-xrdb ~/.Xresources
+xrdb "$HOME/.Xresources"
 
 # Change the background if available.
 if test -f "$HOME/.background" && test -n "$set_background"; then
@@ -158,7 +158,7 @@ fi
 # Start window manager.
 failed=
 if installed herbstluftwm; then
-    herbstluftwm --locked >~/.config/herbstluftwm/log 2>&1 || failed=1
+    herbstluftwm --locked >"$HOME/.config/herbstluftwm/log" 2>&1 || failed=1
 elif installed xmonad; then
     xmonad || failed=1
 elif installed stumpwm; then