diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-28 10:52:57 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-28 10:53:11 +0200 |
| commit | 5d7edfff3a3e153a4277ffd53f3e352d7ca00286 (patch) | |
| tree | 220dc404b0b87bdb15b74fae5e67e49abd9f935f /share | |
| parent | 2b96f8db1d5e15ed1237ca61a53d949b5ab0ab2e (diff) | |
niri: switch to using flameshot for screenshots
Diffstat (limited to 'share')
| -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; |
