aboutsummaryrefslogtreecommitdiff
path: root/roles/home/desktop/flameshot.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-07-25 22:52:20 -0700
committerCaroline Larimore <caroline@larimo.re>2024-07-25 23:00:44 -0700
commit2f17e369400b9c895b3554008ab3efbc76255428 (patch)
tree172c910e17f14bb8d0d7306fe527c2c79140df64 /roles/home/desktop/flameshot.nix
parent10c984caf7067656990e5966b4626314f225755f (diff)
roles: home: migrate old home module to roles
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;
+ };
+ };
+ };
+}