Skip to content

Commit

Permalink
[xinitrc] Add redshift invocation (if configuration file found)
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed Sep 12, 2014
1 parent 95f7938 commit dde8221
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ has() {
setxkbmap "$XKBLAYOUT" "$XKBVARIANT" "$XKBOPTIONS"
fi
fi

if [ -x ~/bin/redshift ] && [ -e ~/.config/redshift.conf ]; then
~/bin/redshift &
fi
) &

SAWFISH_QUIT_CMD_FILE=$(mktemp)
Expand Down

0 comments on commit dde8221

Please sign in to comment.