~ruther/nixos-config

ref: 3ae8931afbeed5d80d87b7c02d0fe5548134c7bb nixos-config/modules/services/flameshot.nix -rw-r--r-- 522 bytes
3ae8931a — Rutherther feat: add autorandr for automatically switching monitor layout 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Screenshots
#

{ config, lib, pkgs, user, ... }:

{
  services = {                                    # sxhkd shortcut = Printscreen button (Print)
    flameshot = {
      enable = true;
      settings = {
        General = {                               # Settings
          savePath = "/home/${user}/screens";
          saveAsFileExtension = ".png";
          uiColor = "#2d0096";
          showHelp = "false";
          disabledTrayIcon = "true";              # Hide from systray
        };
      };
    };
  };
}