Add org-capture StumpWM command

This commit is contained in:
Jeremy Dormitzer 2020-01-14 20:45:05 -05:00
parent 461fdeeb9f
commit 5c22d5bd88

View File

@ -35,6 +35,9 @@
(defcommand caps->escape () ()
(run-shell-command "setxkbmap -option caps:escape"))
(defcommand org-capture () ()
(run-shell-command "emacsclient -a '' -e '(make-orgcapture-frame)'"))
;; Keybindings
(define-key stumpwm:*root-map* (kbd "C-f") "firefox")
(define-key stumpwm:*root-map* (kbd "d") "exec rofi -show run")
@ -44,6 +47,7 @@
(define-key stumpwm:*root-map* (kbd "M") "exec ~/bin/monitor_layout.sh")
(define-key stumpwm:*root-map* (kbd "L") "lock")
(define-key stumpwm:*root-map* (kbd "b") "battery")
(define-key stumpwm:*root-map* (kbd "C-o") "org-capture")
(define-key *top-map* (kbd "M-TAB") "pull-hidden-next")
(define-key *top-map* (kbd "XF86MonBrightnessDown") "exec light -U 5")
(define-key *top-map* (kbd "XF86MonBrightnessUp") "exec light -A 5")