diff options
Diffstat (limited to 'share/home/niri.nix')
| -rw-r--r-- | share/home/niri.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/share/home/niri.nix b/share/home/niri.nix index 4447aeb..c650ab6 100644 --- a/share/home/niri.nix +++ b/share/home/niri.nix @@ -7,11 +7,6 @@ let inherit (pkgs) lib; tomlFormat = pkgs.formats.toml { }; - screenshot = pkgs.writeScript "ib-screenshot" '' - set -xeu pipefail - ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp -d)" -t ppm - | - ${pkgs.satty}/bin/satty --filename - - ''; in { imports = [ @@ -22,6 +17,7 @@ in services.mako.enable = true; services.darkman.enable = true; services.wpaperd.enable = true; + services.flameshot.enable = true; programs.waybar = { enable = true; systemd = { @@ -323,7 +319,7 @@ in "Mod+W".action = toggle-column-tabbed-display; - "Print".action = spawn "${screenshot}"; + "Print".action = spawn "flameshot" "gui"; "Mod+Escape" = { allow-inhibiting = false; |
