aboutsummaryrefslogtreecommitdiff
path: root/home/flameshot.nix
blob: d238cec361678dc04250671983a86ed7a5eee0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, ... }:

{
  services.flameshot = {
    enable = true;

    settings = let c = config.theme.colors; in {
      General = {
        savePath = "Pictures/Screenshots";
        filenamePattern = "%F_%T";

        saveAfterCopy = true;

        uiColor = "#${c.bg}";
        contrastUiColor = "#${c.accent}";

        startupLaunch = false;
      };
    };
  };
}