mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:13:54 -05:00
hyprland: use lib.optionals for redshift startup
This commit is contained in:
parent
a81a230895
commit
c3e1bd66cb
|
@ -135,14 +135,10 @@
|
||||||
(lib.getExe pkgs.mako)
|
(lib.getExe pkgs.mako)
|
||||||
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"
|
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"
|
||||||
]
|
]
|
||||||
++ (
|
++ lib.lists.optionals (config.alyraffauf.desktop.hyprland.redShift) [
|
||||||
if config.alyraffauf.desktop.hyprland.redShift
|
|
||||||
then [
|
|
||||||
"${pkgs.geoclue2}/libexec/geoclue-2.0/demos/agent"
|
"${pkgs.geoclue2}/libexec/geoclue-2.0/demos/agent"
|
||||||
(lib.getExe pkgs.gammastep)
|
(lib.getExe pkgs.gammastep)
|
||||||
]
|
];
|
||||||
else []
|
|
||||||
);
|
|
||||||
|
|
||||||
screenshot = rec {
|
screenshot = rec {
|
||||||
bin = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshot;
|
bin = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshot;
|
||||||
|
|
Loading…
Reference in a new issue