Use a screenshot program that works with X
diff --git a/modules/screenshots.nix b/modules/screenshots.nix
index c4131cf..bcbbd40 100644
--- a/modules/screenshots.nix
+++ b/modules/screenshots.nix
@@ -1,14 +1,3 @@
-{ pkgs
-, lib
-, home
-, ...
-}: {
- home = {
- home.packages = with pkgs; [ grim slurp ];
-
- wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault {
- "${home.wayland.windowManager.sway.config.modifier}+Shift+s" = "exec mkdir -p ~/Screenshots && grim -g \"$(slurp)\" - | tee ~/Screenshots/\"$(date --rfc-3339=seconds)\".png | wl-copy";
- "Print" = "exec mkdir -p ~/Screenshots && grim - | tee ~/Screenshots/\"$(date --rfc-3339=seconds)\".png | wl-copy";
- };
- };
+{ pkgs, ... }: {
+ home.home.packages = [ pkgs.maim ];
}