summaryrefslogtreecommitdiff
path: root/hm/env/niri
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-01-26 16:02:57 +0100
committeradikro <adikro@disroot.org>2026-01-26 16:02:57 +0100
commit31526e3f2df19777b30d04d6747d57a7a807cdd3 (patch)
treec207a88de4d565ffc563d3f3f72ae2a6225dba22 /hm/env/niri
parent7d21a315bb43c80764d80a5670bfefa556b4b3a8 (diff)
pendrive stuff
Diffstat (limited to 'hm/env/niri')
-rw-r--r--hm/env/niri/binds.nix15
1 files changed, 15 insertions, 0 deletions
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
'';