aboutsummaryrefslogtreecommitdiff
path: root/roles/home/desktop/flameshot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'roles/home/desktop/flameshot.nix')
-rw-r--r--roles/home/desktop/flameshot.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/home/desktop/flameshot.nix b/roles/home/desktop/flameshot.nix
new file mode 100644
index 0000000..d7f6e1f
--- /dev/null
+++ b/roles/home/desktop/flameshot.nix
@@ -0,0 +1,19 @@
+{ 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;
+ };
+ };
+ };
+}