From 43ca30abd16fa4a7af600f3795901745e63d58f8 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Mon, 6 Nov 2023 17:01:06 -0800 Subject: [PATCH] added screenshot alias --- home.nix | 1 + modules/zsh.nix | 1 + 2 files changed, 2 insertions(+) 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"; }; };