diff --git a/home.nix b/home.nix index 1ff0f0d..faafc3b 100644 --- a/home.nix +++ b/home.nix @@ -58,6 +58,7 @@ let firefox # Internet access freerdp # RDP client pkgs-stable.flameshot # screenshot utility + pkgs-stable.grim pkgs-stable.slurp pkgs-stable.wl-clipboard # DIY wayland screenshots pkgs-stable.frei0r # kdenlive video plugins pkgs-stable.godot_4 pkgs-stable.helvum # audio sink gui control diff --git a/modules/zsh.nix b/modules/zsh.nix index b051d07..0325b59 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -46,6 +46,7 @@ in rm = "rmtrash"; open-config = "cd ~/Documents/nicks-nix-config; nvim"; switch-to-windows = "sudo grub-reboot 1; sudo reboot"; + screenshot = "grim -d \"$(slurp -d)\" - | wl-copy -t image/png"; }; };