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

{
  services.flameshot = {
    enable = true;

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

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


        filenamePattern = "%F_%T";

        startupLaunch = false;
        saveAfterCopy = true;
      };
    };
  };
}