diff options
Diffstat (limited to 'home/dots/.emacs')
-rw-r--r-- | home/dots/.emacs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs index ca901bc..dd9adfb 100644 --- a/home/dots/.emacs +++ b/home/dots/.emacs @@ -93,6 +93,12 @@ (exwm-input-set-key (kbd "C-<print>") (lambda () (interactive) (shell-command "scrot -s -F '/home/mccd/screenshots/%Y-%m-%d_$wx$h.png'"))) + (exwm-input-set-key (kbd "<XF86MonBrightnessDown>") + (lambda () (interactive) + (shell-command "brightnessctl set 5%- 1> /dev/null"))) + (exwm-input-set-key (kbd "<XF86MonBrightnessUp>") + (lambda () (interactive) + (shell-command "brightnessctl set +5% 1> /dev/null"))) (exwm-input-set-key (kbd "s-<SPC>") (lambda (cmd) ;; s-&: Launch application. (interactive (list (read-shell-command "$ "))) @@ -400,7 +406,7 @@ (css-mode . (lambda ((interactive) (setq-local tab-width 2) (setq sgml-basic-offset 2 - indent-tabs-mode t)))))) + indent-tabs-mode t)))) (html-mode . (lambda () (interactive) (setq-local tab-width 2) @@ -489,6 +495,9 @@ (define-key eglot-mode-map (kbd "C-c r") 'eglot-rename) (define-key eglot-mode-map (kbd "C-c o") 'eglot-code-actions) :hook + (css-mode . eglot-ensure) + (html-mode . eglot-ensure) + (javascript-mode . eglot-ensure) (nix-mode . eglot-ensure) (go-mode . eglot-ensure)) |