nix-home/home/modules/linux/graphical/x11/i3/screenshot.nix
2022-04-27 13:39:03 -04:00

10 lines
289 B
Nix

{ pkgs, config, lib, ... }:
with lib;
{
xsession.windowManager.i3.config = mkIf (config.linux.graphical.x11.enablei3) {
startup = [{ command = "${pkgs.flameshot}/bin/flameshot"; }];
keybindings = mkOptionDefault { "Print" = "exec ${pkgs.flameshot}/bin/flameshot gui"; };
};
}