Scrot now saves a copy to a dir as well as copying to my clipboard.
This commit is contained in:
parent
f6c32eae72
commit
c0baba142f
@ -42,7 +42,8 @@
|
||||
|
||||
(defcommand jlj/scrot () ()
|
||||
"Run scrot!"
|
||||
(run-shell-command "sleep 0.2 && scrot -s -e 'mv $f ~/Pictures/screenshots/'"))
|
||||
(run-shell-command "sleep 0.2 && scrot -s /home/josiah/Pictures/screenshots/$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"))
|
||||
|
||||
|
||||
(define-key *root-map* (kbd "R") "restart-hard")
|
||||
(define-key *top-map* (kbd "M-SPC") "jlj/rofi")
|
||||
|
Loading…
Reference in New Issue
Block a user