nix-home/home/X11/i3/screenshot.nix

10 lines
225 B
Nix

{ pkgs, config, lib, ... }:
with lib;
{
xsession.windowManager.i3.config = {
startup = [ { command = "${pkgs.flameshot}/bin/flameshot"; } ];
keybindings."Print" = "exec ${pkgs.flameshot}/bin/flameshot gui";
};
}