X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/6328d9c25dba0cccbadb09b2f9d54e4781fe8f18..a6ea1a1fa2e612852376b6deab07cb2388608fc8:/xinitrc diff --git a/xinitrc b/xinitrc index f79ee4a..ec73319 100644 --- a/xinitrc +++ b/xinitrc @@ -1,11 +1,17 @@ #!/bin/sh +logfile=$XDG_DATA_HOME/xorg/xinit.log userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap userprofile=$HOME/.xprofile sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap +# redirect all further output +exec 2>&1 >>"$logfile" + +printf "\n%s Reading '~/.xinitrc'\n" $(date --iso-8601=minutes) + # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources @@ -35,4 +41,5 @@ if [ -f "$userprofile" ]; then source "$userprofile" fi +echo "Start Awesome" exec awesome