Merge pull request #81 from okdas/feat/hyprsunset-master

Add blue light filter
This commit is contained in:
David Heinemeier Hansson
2025-07-06 17:34:19 -07:00
committed by GitHub
4 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
exec-once = hypridle & mako & waybar & fcitx5 exec-once = hypridle & mako & waybar & fcitx5 & hyprsunset
exec-once = swaybg -i ~/.config/omarchy/current/background -m fill exec-once = swaybg -i ~/.config/omarchy/current/background -m fill
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent
exec-once = wl-clip-persist --clipboard regular & clipse -listen exec-once = wl-clip-persist --clipboard regular & clipse -listen

View File

@ -93,6 +93,10 @@ bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
# Hyprsunset color temperature control
bindel = CTRL, XF86MonBrightnessUp, exec, hyprctl hyprsunset temperature +500
bindel = CTRL, XF86MonBrightnessDown, exec, hyprctl hyprsunset temperature -500
# Control Apple Display brightness # Control Apple Display brightness
bind = CTRL, F1, exec, ~/.local/share/omarchy/bin/apple-display-brightness -5000 bind = CTRL, F1, exec, ~/.local/share/omarchy/bin/apple-display-brightness -5000
bind = CTRL, F2, exec, ~/.local/share/omarchy/bin/apple-display-brightness +5000 bind = CTRL, F2, exec, ~/.local/share/omarchy/bin/apple-display-brightness +5000

View File

@ -1,5 +1,5 @@
yay -S --noconfirm --needed \ yay -S --noconfirm --needed \
hyprland hyprshot hyprpicker hyprlock hypridle hyprpolkitagent hyprland-qtutils \ hyprland hyprshot hyprpicker hyprlock hypridle hyprpolkitagent hyprland-qtutils hyprsunset \
wofi waybar mako swaybg \ wofi waybar mako swaybg \
xdg-desktop-portal-hyprland xdg-desktop-portal-gtk xdg-desktop-portal-hyprland xdg-desktop-portal-gtk

2
migrations/1751848081.sh Normal file
View File

@ -0,0 +1,2 @@
echo "Add hyprsunset for blue light filtering"
yay -S --noconfirm --needed hyprsunset