feat(hyprshade): add hyprshade and set timer
This commit is contained in:
parent
36ad6bfbf8
commit
00b585c354
3 changed files with 19 additions and 1 deletions
|
@ -9,5 +9,6 @@
|
|||
./programs/waybar.nix
|
||||
./programs/hyprlock.nix
|
||||
./programs/fuzzel.nix
|
||||
./programs/hyprshade.nix
|
||||
];
|
||||
}
|
||||
|
|
18
users/modules/programs/hyprshade.nix
Normal file
18
users/modules/programs/hyprshade.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.hyprshade ];
|
||||
xdg.configFile."hypr/hyprshade.toml" = {
|
||||
enable = true;
|
||||
text = # toml
|
||||
''
|
||||
[[shades]]
|
||||
name = "vibrance"
|
||||
default = true # will be activated when no other shader is scheduled
|
||||
|
||||
[[shades]]
|
||||
name = "blue-light-filter"
|
||||
start_time = 19:00:00
|
||||
end_time = 07:00:00 # optional if more than one shader has start_time
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -10,6 +10,5 @@
|
|||
ttyper
|
||||
hyprpicker
|
||||
inputs.hyprcloser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
hyprshade
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue