~ruther/nixos-config

ref: fbe1a5eef9112a1ef8a7c3b1d00b96134d90d371 nixos-config/modules/services/flameshot.nix -rw-r--r-- 522 bytes
fbe1a5ee — Rutherther feat: disable gnome and make sure everything works 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
        };
      };
    };
  };
}