diff options
| author | adikro <adikro@disroot.org> | 2026-01-26 16:02:57 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-01-26 16:02:57 +0100 |
| commit | 31526e3f2df19777b30d04d6747d57a7a807cdd3 (patch) | |
| tree | c207a88de4d565ffc563d3f3f72ae2a6225dba22 /hm/env/niri | |
| parent | 7d21a315bb43c80764d80a5670bfefa556b4b3a8 (diff) | |
pendrive stuff
Diffstat (limited to 'hm/env/niri')
| -rw-r--r-- | hm/env/niri/binds.nix | 15 |
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 ''; |
