mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-29 00:58:36 +01:00
sxhkd: Copy selections to clipboard by default
Since selections are more likely to be temporary than full screen screenshots, copying their contents to clipboard by default is useful, although in the future it may be more practical to create an image and copy to clipboard at the same time, similar to other screenshotting tools like ShareX.
This commit is contained in:
parent
671ce294c9
commit
4156c1fb23
@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
DATETIME=`date +%F_%H%M%S`
|
||||
shotgun $(hacksaw -f "-i %i -g %g") ~/$DATETIME.png
|
||||
shotgun $(hacksaw -f "-i %i -g %g") - | xclip -t 'image/png' -selection clipboard
|
||||
|
Loading…
Reference in New Issue
Block a user