Skip to content

Commit

Permalink
feat: ✨add redshift config w/ co-ords vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditeya committed May 7, 2023
1 parent 0bb637a commit a9eaf4f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .dotter/global.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 30,15 @@ depends = ["Xorg", "sxhkd", "polybar", "picom", "redshift", "dunst", "programs"]
"config/polybar" = "~/.config/polybar/"
[picom.files]
"config/picom" = "~/.config/picom/"
[redshift.files]
"config/redshift" = "~/.config/redshift/"
[dunst.files]
"config/dunst" = "~/.config/dunst/"

[redshift.files]
"config/redshift" = "~/.config/redshift/"
[redshift.variables]
lat = "00.00000"
lon = "00.00000"

[programs]
depends = ["alacritty", "wezterm", "nvim", "music", "flameshot", "lazygit", "lf", "mpv", "nsxiv", "paru", "rcz", "zathura"]

Expand Down
19 changes: 19 additions & 0 deletions config/redshift/redshift.conf
Original file line number Diff line number Diff line change
@@ -0,0 1,19 @@
[redshift]
;temp-day=5700
temp-night=2000
fade=1
;location-provider=geoclue2
location-provider=manual
adjustment-method=randr
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust only screen 0.
; Note that the numbering starts from 0, so this is actually the first screen.
; If this option is not specified, Redshift will try to adjust _all_ screens.
;[randr]
;screen=0

[manual]
lat={{ lat }}
lon={{ lon }}

0 comments on commit a9eaf4f

Please sign in to comment.