aboutsummaryrefslogtreecommitdiff
path: root/modules/home/flameshot.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-10 19:48:45 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-10 19:48:45 -0700
commit6eda4acc251fed0afbf5f1a85a63e321d8234799 (patch)
tree0be125628339545e8a11cd29a994271bc16f55b3 /modules/home/flameshot.nix
Initial Commit
Diffstat (limited to 'modules/home/flameshot.nix')
-rw-r--r--modules/home/flameshot.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/home/flameshot.nix b/modules/home/flameshot.nix
new file mode 100644
index 0000000..d58dfe7
--- /dev/null
+++ b/modules/home/flameshot.nix
@@ -0,0 +1,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;
+ };
+ };
+ };
+}