blob: d079fc98631b71372301895a284eb27314cef6c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ config, ... }:
{
services.flameshot = {
settings = let c = config.theme.colors; in {
General = {
savePath = "Pictures/Screenshots";
filenamePattern = "%F_%T";
saveAfterCopy = true;
uiColor = "#${c.bg}";
contrastUiColor = "#${c.accent}";
startupLaunch = false;
};
};
};
#TODO: relocate. target.tray required for flameshot
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = [ "graphical-session-pre.target" ];
};
};
}
|