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