mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
feat(night-mode): 🌙 Switch from wlsunset to hyprsunset and add temperature control
- Replace wlsunset with hyprsunset for better Hyprland integration - Add temperature adjustment functions with scroll support in Waybar - Implement persistent temperature storage in `~/.cache/hyprsunset_temp` - Add temperature bounds (2000K-6500K) with 100K increment/decrement steps - Update NixOS configuration to include hyprsunset package Fixes temperature persistence and improves Hyprland compatibility
This commit is contained in:
@@ -223,7 +223,10 @@
|
||||
|
||||
"custom/night_mode": {
|
||||
"return-type": "json",
|
||||
"interval": 1,
|
||||
"restart-interval": 1,
|
||||
"on-scroll-down": "fish -c night_mode_temp_up",
|
||||
"on-scroll-up": "fish -c night_mode_temp_down",
|
||||
"smooth-scrolling-threshold": 2.0,
|
||||
"exec": "fish -c check_night_mode",
|
||||
"on-click": "fish -c night_mode_toggle",
|
||||
},
|
||||
|
Reference in New Issue
Block a user