From 9675e83bf82277bcb16fdc0cd96944cc21ede138 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 18 Nov 2024 14:02:16 +0000 Subject: [PATCH] Add Swappy config --- system/desktop.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/system/desktop.nix b/system/desktop.nix index eefea184..fd9c8b85 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -17,6 +17,9 @@ wl-clipboard hunspell hunspellDicts.en_GB-large + grim + slurp + swappy gnome.nautilus libreoffice-fresh evince @@ -172,6 +175,19 @@ "gtk-3.0/settings.ini".force = true; "gtk-4.0/gtk.css".force = true; "gtk-4.0/settings.ini".force = true; + # Set Swappy config so that it saves to Screenshots directory + "swappy/config".text = '' + [Default] + save_dir=${config.xdg.userDirs.pictures}/Screenshots/ + save_filename_format=swappy-%Y%m%d-%H%M%S.png + show_panel=false + line_size=5 + text_size=${config.stylix.fonts.sizes.desktop} + text_font=${config.stylix.fonts.sansSerif.name} + paint_mode=brush + early_exit=false + fill_shape=false + ''; # Autostart some programs "autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; "autostart/com.rtosta.zapzap.desktop".source = "${pkgs.zapzap}/share/applications/com.rtosta.zapzap.desktop";