From c40cbc398382cf81d5a56685fd353be9ff0af89a Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Mon, 5 Apr 2021 23:03:24 +0700 Subject: [PATCH] chore(config): add redshift --- config/config.json | 8 ++++++++ config/i3/config | 4 ++++ config/redshift/redshift.conf | 7 +++++++ 3 files changed, 19 insertions(+) create mode 100644 config/redshift/redshift.conf diff --git a/config/config.json b/config/config.json index 30c69dc..ab42d79 100644 --- a/config/config.json +++ b/config/config.json @@ -67,6 +67,14 @@ "external": "~/.xinitrc" } ] + }, + "redshift": { + "files": [ + { + "internal": "config/redshift/redshift.conf", + "external": "~/.config/redshift/redshift.conf" + } + ] } } } diff --git a/config/i3/config b/config/i3/config index d81629e..fcdbea8 100644 --- a/config/i3/config +++ b/config/i3/config @@ -8,6 +8,10 @@ font pango:Cascadia Code 12 # https://wiki.archlinux.org/index.php/Feh exec --no-startup-id feh --no-fehbg --bg-fill --randomize /usr/share/backgrounds/archlinux/* +# redshift +# https://wiki.archlinux.org/index.php/Redshift +exec --no-startup-id redshift-gtk + # i3lock bindsym $mod+l exec --no-startup-id i3lock -e -c 000000 diff --git a/config/redshift/redshift.conf b/config/redshift/redshift.conf new file mode 100644 index 0000000..4cdf6ec --- /dev/null +++ b/config/redshift/redshift.conf @@ -0,0 +1,7 @@ +[redshift] +location-provider=manual + +[manual] +; Ho Chi Minh, Vietnam +lat=10.8188 +lon=106.65186