1
0
Fork 0
nix-config/modules/home/desktop/spectacle/default.nix
Philipp dc99f3d24d
add spectacle config, add spotify, fix cinny video playback with gstreamer
refactor some stuff to look nicer and have more structure too
2025-04-10 19:19:37 +02:00

24 lines
426 B
Nix

{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.desktop.spectacle;
in
{
options.${namespace}.desktop.spectacle = with types; {
enable = mkBoolOpt false "Whether or not to enable spectacle config.";
};
config = mkIf cfg.enable {
programs.plasma = {
enable = true;
spectacle.shortcuts.captureRectangularRegion = "Meta+Shift+S";
};
};
}