From 31526e3f2df19777b30d04d6747d57a7a807cdd3 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 26 Jan 2026 16:02:57 +0100 Subject: pendrive stuff --- hm/env/niri/binds.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'hm/env/niri') diff --git a/hm/env/niri/binds.nix b/hm/env/niri/binds.nix index 9ede74e..b2031e2 100644 --- a/hm/env/niri/binds.nix +++ b/hm/env/niri/binds.nix @@ -69,6 +69,21 @@ in repeat = false; }; + "Mod+S" = { + action = spawn "sh" "-c" '' + grim -g "$(slurp)" - | tee ${ss}.png | wl-copy + ''; + repeat = false; + }; + + "Mod+Shift+S" = { + action = spawn "sh" "-c" '' + grim -g "$(slurp)" ${ss}.png + satty --filename "${ss}.png" --output-filename "${ss}-edited.png" + ''; + repeat = false; + }; + "Mod+Shift+D".action = spawn "sh" "-c" '' cliphist list | fuzzel --dmenu | cliphist decode | wl-copy ''; -- cgit v1.3