From e53f66ce01df608706d93f961409a9edd8c6a755 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 30 Mar 2017 01:23:32 +0200 Subject: [PATCH] Auto start redshift using .xsession --- install.conf.yaml | 1 + xsession | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 xsession diff --git a/install.conf.yaml b/install.conf.yaml index 00335c1..f774b3f 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -21,6 +21,7 @@ ~/.tmux.conf: tmux/tmux.conf ~/.vimrc: vim/vimrc ~/.xinitrc: xinitrc + ~/.xsession: xsession ~/.config/awesome: awesome ~/.config/redshift.conf: redshift/redshift.conf diff --git a/xsession b/xsession new file mode 100644 index 0000000..217b389 --- /dev/null +++ b/xsession @@ -0,0 +1,5 @@ +#!/bin/bash + +if [[ $(command -v redshift) ]]; then + redshift & +fi