diff --git a/home.nix b/home.nix index ca8bb70..65e5334 100644 --- a/home.nix +++ b/home.nix @@ -32,6 +32,7 @@ ./modules/bat.nix ./modules/git.nix ./modules/kitty.nix + ./modules/satty.nix ]; home.stateVersion = "25.11"; # Please read the comment before changing. @@ -49,7 +50,6 @@ ".config/nvim".source = ./dotfiles/nvim; ".config/gtk-3.0/settings.ini".source = ./dotfiles/gtk-3.0/settings.ini; ".config/gtk-4.0".source = ./dotfiles/gtk-4.0; - ".config/satty".source = ./dotfiles/satty; ".config/waybar".source = ./dotfiles/waybar; ".config/hypr".source = ./dotfiles/hypr; ".config/mimeapps.list".source = ./dotfiles/mimeapps.list; diff --git a/modules/satty.nix b/modules/satty.nix new file mode 100644 index 0000000..efa9718 --- /dev/null +++ b/modules/satty.nix @@ -0,0 +1,41 @@ +{ ... }: + +{ + programs.satty = { + enable = true; + package = null; + settings = { + general = { + fullscreen = true; + early-exit = true; + initial-tool = "crop"; + output-filename = "/home/szymon/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png"; + save-after-copy = true; + disable-notifications = false; + actions-on-escape = [ "exit" ]; + action-on-enter = "save-to-clipboard"; + no-window-decoration = true; + }; + + color-palette = { + palette = [ + "#00ffff" + "#a52a2a" + "#dc143c" + "#ff1493" + "#ffd700" + "#008000" + ]; + + custom = [ + "#00ffff" + "#a52a2a" + "#dc143c" + "#ff1493" + "#ffd700" + "#008000" + ]; + }; + }; + }; +}