From 97af7bc123fe3104ce12cb46d85aa03c4c1d676b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 4 Feb 2026 18:29:06 +0530 Subject: Using super + p and super + shift + p for screenshots using maim --- modules/desktop/sxhkd/keybindings/maim.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/desktop/sxhkd/keybindings/maim.nix') diff --git a/modules/desktop/sxhkd/keybindings/maim.nix b/modules/desktop/sxhkd/keybindings/maim.nix index bce0f1b..7b748da 100644 --- a/modules/desktop/sxhkd/keybindings/maim.nix +++ b/modules/desktop/sxhkd/keybindings/maim.nix @@ -4,12 +4,12 @@ let maim = "${pkgs.maim}/bin/maim"; in lib.mkMerge [ (createKeybinding - "Print" + "p" "Take screenshot of selected area and save to clipboard" "${maim} -s | xclip -selection clipboard -t image/png") (createKeybinding - "Shift + Print" + "shift + p" "Take screenshot of selected area and save to ~/Pictures/Screenshots" "mkdir -p ~/Pictures/Screenshots && ${maim} -s ~/Pictures/Screenshots/screenshot-$(date +%Y%m%d-%H%M%S).png") ] -- cgit v1.2.3