Fix scrot keybinds

This commit is contained in:
Lucien Cartier-Tilet 2021-07-29 19:36:14 +02:00
parent 4c07b87339
commit c6f911b5a4
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -29,8 +29,8 @@
(define-key m (kbd "C-r") "exchange-direction right") (define-key m (kbd "C-r") "exchange-direction right")
(define-key m (kbd "n") "next") (define-key m (kbd "n") "next")
(define-key m (kbd "p") "prev") (define-key m (kbd "p") "prev")
(define-key m (kbd "-") "hsplit") (define-key m (kbd "/") "hsplit")
(define-key m (kbd "/") "vsplit") (define-key m (kbd "-") "vsplit")
(define-key m (kbd "h") "hsplit") (define-key m (kbd "h") "hsplit")
(define-key m (kbd "v") "vsplit") (define-key m (kbd "v") "vsplit")
(define-key m (kbd "H") "hsplit-equally") (define-key m (kbd "H") "hsplit-equally")
@ -65,10 +65,10 @@
(defvar *my-screenshot-keymap* (defvar *my-screenshot-keymap*
(let ((m (make-sparse-keymap))) (let ((m (make-sparse-keymap)))
(define-key m (kbd "s") "exec scrot -e \"mv $f ~/Pictures/Screenshots\"") (define-key m (kbd "d") "exec scrot -d 3 -e 'mv $f ~/Pictures/Screenshots'")
(define-key m (kbd "S") "exec scrot -s -e \"mv $f ~/Pictures/Screenshots\"") (define-key m (kbd "s") "exec scrot -e 'mv $f ~/Pictures/Screenshots'")
(define-key m (kbd "d") "exec scrot -d 3 -e \"mv $f ~/Pictures/Screenshots\"") (define-key m (kbd "S") "exec scrot -s -e 'mv $f ~/Pictures/Screenshots'")
(define-key m (kbd "g") "exec scrot -e 'gimp $f; mv $f ~/Pictures/Screenshots'")
m)) m))
(defvar *my-rofi-keymap* (defvar *my-rofi-keymap*