]> Freerunner's - dotfiles.git/commitdiff
hypr: add config for sunsetr, remove gammarelay
authorAndre Ramnitz <tux.rising@gmail.com>
Tue, 22 Apr 2025 11:14:40 +0000 (13:14 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Tue, 22 Apr 2025 11:14:40 +0000 (13:14 +0200)
dot-config/hypr/hyprland.conf
dot-config/hypr/sunsetr.toml [new file with mode: 0644]

index a034a1c1cd2c256532d9d0b8ee391b825134a941..76adb9c6367b99e1a706ea994bb7cbd6b448efd0 100644 (file)
@@ -24,6 +24,7 @@ env = XDG_CURRENT_DESKTOP,Hyprland
 env = XDG_SESSION_DESKTOP,Hyprland
 env = XDG_SESSION_TYPE,wayland
 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
+exec-once = sunsetr
 # exec-shutdown = setenv WAYLAND_DISPLAY= XDG_SESSION_TYPE= XDG_CURRENT_DESKTOP=
 
 # Some default env vars.
@@ -55,7 +56,6 @@ env = XCURSOR_SIZE,40
 exec-once = ~/.config/hypr/scripts/startup.sh
 exec-once = hypridle
 exec-once = hyprpm enable hyprbars
-exec-shutdown = pkill -f '/usr/lib/python-exec/python3.12/python /home/andy/.config/hypr/scripts/gammarelay-auto-temp.py'
 
 # Source a file (multi-file configs)
 # source = ~/.config/hypr/myColors.conf
@@ -84,7 +84,7 @@ general {
     # col.inactive_border = 0xff444444
     # col.nogroup_border_active = 0xffff00ff
     # col.nogroup_border = 0xffffaaff
-       border_size = 3
+       border_size = 2
     gaps_in = 4
     gaps_out = 8
     col.active_border = 0xee$base0D
@@ -125,7 +125,7 @@ master {
 
 decoration {
     # See https://wiki.hyprland.org/Configuring/Variables/ for more
-    rounding = 8
+    rounding = 4
        dim_special = 0.3
        dim_inactive = true
        dim_strength = 0.2
diff --git a/dot-config/hypr/sunsetr.toml b/dot-config/hypr/sunsetr.toml
new file mode 100644 (file)
index 0000000..12ce83c
--- /dev/null
@@ -0,0 +1,9 @@
+# Sunsetr configuration
+sunset = "21:00:00"      # Time to transition to night mode (HH:MM:SS)
+sunrise = "06:00:00"     # Time to transition to day mode (HH:MM:SS)
+night_temp = 4000        # Color temperature after sunset (1000-20000) Kelvin
+night_gamma = 90.0       # Gamma percentage for night (0-200%)
+day_gamma = 100.0        # Gamma percentage for day (0-200%)
+start_hyprsunset = true  # Whether to start hyprsunset automatically
+                         # Set true if you're not using hyprsunset.service
+