feat: add gammastep for bluelight filtering

This commit is contained in:
Nydragon 2024-09-01 19:47:01 +02:00
parent f8f7120608
commit 16b1723afe
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
3 changed files with 16 additions and 1 deletions

View file

@ -5,5 +5,6 @@
./vscode
./lollypop
./fuzzel.nix
./gammastep.nix # default because I need to protect my peepers
];
}

View file

@ -0,0 +1,12 @@
{
services.gammastep = {
enable = true;
tray = true;
temperature = {
day = 6500;
night = 4000;
};
dawnTime = "7:00-9:00";
duskTime = "18:00-20:00";
};
}

View file

@ -25,6 +25,8 @@ lib.mkIf osConfig.programs.hyprland.enable {
"${pkgs.kdeconnect}/bin/kdeconnect-indicator"
"${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"
"${pkgs.waybar}/bin/waybar"
"${pkgs.nysh}/bin/nysh"
# keepassxc ignores themeing and doesnt show up in system tray otherwise
# Dirty solution but hey
"sleep 3 && ${pkgs.keepassxc}/bin/keepassxc"
@ -142,7 +144,7 @@ lib.mkIf osConfig.programs.hyprland.enable {
"$mod, Return, exec, ${pkgs.foot}/bin/foot"
"$mod SHIFT, Q, killactive,"
"$mod, V, togglefloating"
"$mod SHIFT, P, exec, rofi -show p -modi p:${pkgs.rofi-power-menu}/bin/rofi-power-menu"
"$mod SHIFT, P, exec, ${config.programs.rofi.package}/bin/rofi -show p -modi p:${pkgs.rofi-power-menu}/bin/rofi-power-menu"
"$mod, P, exec, ${pkgs.cliphist}/bin/cliphist wipe & ${pkgs.hyprlock}/bin/hyprlock"
"$mod SHIFT, C, exec, hyprctl reload"
"$mod, left, movefocus, l"