aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-02-04 18:29:06 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-02-04 18:29:06 +0530
commit97af7bc123fe3104ce12cb46d85aa03c4c1d676b (patch)
treee33c72e991e0950cef38d27b86878fbf07560903 /modules
parentcee9b60f7836f6f73cd2e4e6672b758e576cbcb3 (diff)
downloadhome-manager-config-97af7bc123fe3104ce12cb46d85aa03c4c1d676b.tar.gz
home-manager-config-97af7bc123fe3104ce12cb46d85aa03c4c1d676b.zip
Using super + p and super + shift + p for screenshots using maim
Diffstat (limited to 'modules')
-rw-r--r--modules/desktop/sxhkd/keybindings/maim.nix4
1 files changed, 2 insertions, 2 deletions
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")
]