From f76fabb2fbbd0de4b828b38deaf9eb7564c6ef31 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 2 Sep 2018 21:03:43 -0400 Subject: Use redshift config file --- .config/redshift.conf | 6 +++++- .xinitrc | 2 +- Makefile | 2 +- SUBSTS | 3 --- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.config/redshift.conf b/.config/redshift.conf index 268951e..a462165 100644 --- a/.config/redshift.conf +++ b/.config/redshift.conf @@ -1,9 +1,13 @@ [redshift] adjustment-method=randr -location-provider=geoclue2 +location-provider=manual brightness-day=1.0 brightness-night=0.5 transition=1 gamma-night=2.0 temp-day=6500 temp-night=2500 + +[manual] +lat=40.4460 +lon=-79.9959 diff --git a/.xinitrc b/.xinitrc index 339e0be..a9cda01 100755 --- a/.xinitrc +++ b/.xinitrc @@ -2,7 +2,7 @@ if test -f ~/.Xresources; then xrdb -merge -I$HOME ~/.Xresources fi -redshift -m REDSHIFT_MODE -l 44.22:-76.48 -t 6500:2500 & +redshift & ${HOME}/bin/icd # xcompmgr & trayer --tint black --edge top --SetDockType true --SetPartialStrut true \ diff --git a/Makefile b/Makefile index 2756c7b..6ff2fec 100755 --- a/Makefile +++ b/Makefile @@ -117,7 +117,7 @@ VARS_.nailrc = $(MAIL_PASS) HOMEDIR GMAIL_mailx_PASS VARS_.netrc = LOCAL_PASS GMAIL_PASS VARS_.offlineimaprc = $(MAIL_PASS) SSL_CERTS VARS_.screenrc = ZSH_PATH SCREEN_HOST_COLOUR -VARS_.xinitrc = SCREENLAYOUT REDSHIFT_MODE GSD_PATH PULSE +VARS_.xinitrc = SCREENLAYOUT GSD_PATH PULSE VARS_.xmonad/xmonad.hs = XMONAD_DZEN_W XMONAD_DZEN_X XMONAD_DZEN_Y VARS_.zsh/func/prompt_wunjo_setup = ZSH_HOST_COLOUR VARS_.zshrc = LOCALE SUBSTS_RM SUBSTS_LS MSMTP_PATH KEYCHAIN diff --git a/SUBSTS b/SUBSTS index 6fde853..439322b 100644 --- a/SUBSTS +++ b/SUBSTS @@ -46,9 +46,6 @@ SCREEN_HOST_COLOUR G MUTT_20_SCORE \\"(bob@foo.org\|alice@example.org)\\" MUTT_10_SCORE \\"(eve@foo.org)\\" -# redshift mode to use (randr or vidmode) -REDSHIFT_MODE vidmode - # Grep path GREP_PATH /bin/grep -- cgit v1.2.3