From cd2dd570d38bd7aa9483f07c9a4a4acb33078993 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Thu, 9 Oct 2025 14:48:50 +0530 Subject: hyprsunset because my eyes hurt --- hypr/hyprland/exec_once.conf | 1 + hypr/hyprland/keybinds.conf | 2 ++ hypr/hyprsunset.conf | 12 ++++++++++++ hypr/hyprsunset/decrease_sunset.sh | 1 + hypr/hyprsunset/increase_sunset.sh | 1 + 5 files changed, 17 insertions(+) create mode 100644 hypr/hyprsunset.conf create mode 100755 hypr/hyprsunset/decrease_sunset.sh create mode 100755 hypr/hyprsunset/increase_sunset.sh (limited to 'hypr') diff --git a/hypr/hyprland/exec_once.conf b/hypr/hyprland/exec_once.conf index 2305bf7..9043c15 100644 --- a/hypr/hyprland/exec_once.conf +++ b/hypr/hyprland/exec_once.conf @@ -3,3 +3,4 @@ exec-once = ~/.config/hypr/battery-notif.sh # low battery notification exec-once = wl-paste --watch cliphist store # clipboard exec-once = mako # notification exec-once = waybar # top bar +exec-once = hyprsunset diff --git a/hypr/hyprland/keybinds.conf b/hypr/hyprland/keybinds.conf index dc70d7c..9c2e6af 100644 --- a/hypr/hyprland/keybinds.conf +++ b/hypr/hyprland/keybinds.conf @@ -77,3 +77,5 @@ bindl = ,XF86AudioPrev, exec, playerctl previous bindel = ,code:157, exec, $llm bind = $mainMod, equal, exec, ~/.config/hypr/hypr-zoom/exec.sh +bind = $mainMod, bracketleft, exec, ~/.config/hypr/hyprsunset/increase_sunset.sh +bind = $mainMod, bracketright, exec, ~/.config/hypr/hyprsunset/decrease_sunset.sh diff --git a/hypr/hyprsunset.conf b/hypr/hyprsunset.conf new file mode 100644 index 0000000..7bd6a1b --- /dev/null +++ b/hypr/hyprsunset.conf @@ -0,0 +1,12 @@ +max-gamma = 150 + +profile { + time = 7:30 + identity = true +} + +profile { + time = 21:00 + temperature = 5500 + gamma = 0.8 +} diff --git a/hypr/hyprsunset/decrease_sunset.sh b/hypr/hyprsunset/decrease_sunset.sh new file mode 100755 index 0000000..7af5aa8 --- /dev/null +++ b/hypr/hyprsunset/decrease_sunset.sh @@ -0,0 +1 @@ +hyprctl hyprsunset temperature +1000 diff --git a/hypr/hyprsunset/increase_sunset.sh b/hypr/hyprsunset/increase_sunset.sh new file mode 100755 index 0000000..99d1d9f --- /dev/null +++ b/hypr/hyprsunset/increase_sunset.sh @@ -0,0 +1 @@ +hyprctl hyprsunset temperature -1000 -- cgit v1.2.3