From c957e570e2c2ef156f02a2a04608a4ad7dfc34d1 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 21 Sep 2024 08:49:20 +0100 Subject: [PATCH] Add initial config file for swappy Change default save directory to ~/Pictures/Screenshots, otherwise kept as default for now --- system/default.nix | 1 + system/home/sway/default.nix | 1 + system/home/sway/swappy.conf | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 system/home/sway/swappy.conf diff --git a/system/default.nix b/system/default.nix index 9449988c..e081e554 100644 --- a/system/default.nix +++ b/system/default.nix @@ -235,6 +235,7 @@ ++ (with pkgs; [ lmodern # LaTeX noto-fonts-emoji # Emoji + font-awesome # Swappy Icons (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) ]); fontconfig = { diff --git a/system/home/sway/default.nix b/system/home/sway/default.nix index 53f76cb5..fcf58fc6 100644 --- a/system/home/sway/default.nix +++ b/system/home/sway/default.nix @@ -259,4 +259,5 @@ titlebar_separator enable ''; }; + xdg.configFile."swappy/config".source = ./swappy.conf; } diff --git a/system/home/sway/swappy.conf b/system/home/sway/swappy.conf new file mode 100644 index 00000000..dee88eb3 --- /dev/null +++ b/system/home/sway/swappy.conf @@ -0,0 +1,10 @@ +[Default] +save_dir=$HOME/Pictures/Screenshots/ +save_filename_format=swappy-%Y%m%d-%H%M%S.png +show_panel=false +line_size=5 +text_size=20 +text_font=sans-serif +paint_mode=brush +early_exit=false +fill_shape=false \ No newline at end of file