aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/sxhkd/keybindings/maim.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-03-13 16:31:58 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-03-13 16:31:58 +0530
commite0c724f14042bd90b9eb5687a351c9945b74fc9b (patch)
tree69a28737123f0db807b4522688e90817a6c555bf /modules/desktop/sxhkd/keybindings/maim.nix
parentd0936afa8fea372bc2d3114499ad10d354089c38 (diff)
downloadhome-manager-config-e0c724f14042bd90b9eb5687a351c9945b74fc9b.tar.gz
home-manager-config-e0c724f14042bd90b9eb5687a351c9945b74fc9b.zip
Moving to xremap for shortcuts from sxhkd. Added the basic configs
Diffstat (limited to 'modules/desktop/sxhkd/keybindings/maim.nix')
-rw-r--r--modules/desktop/sxhkd/keybindings/maim.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/desktop/sxhkd/keybindings/maim.nix b/modules/desktop/sxhkd/keybindings/maim.nix
deleted file mode 100644
index 0f0b3d8..0000000
--- a/modules/desktop/sxhkd/keybindings/maim.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- createKeybinding,
- pkgs,
- lib,
-}:
-
-let
- maim = "${pkgs.maim}/bin/maim";
-in
-lib.mkMerge [
- (createKeybinding "p" "Take screenshot of selected area and save to clipboard"
- "${maim} -s | xclip -selection clipboard -t image/png"
- )
-
- (createKeybinding "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"
- )
-]