diff options
Diffstat (limited to 'configs/shared/.emacs.d/wpc/screen-brightness.el')
-rw-r--r-- | configs/shared/.emacs.d/wpc/screen-brightness.el | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/configs/shared/.emacs.d/wpc/screen-brightness.el b/configs/shared/.emacs.d/wpc/screen-brightness.el index 715fc7baee35..ad51e7578cca 100644 --- a/configs/shared/.emacs.d/wpc/screen-brightness.el +++ b/configs/shared/.emacs.d/wpc/screen-brightness.el @@ -21,9 +21,6 @@ (defconst screen-brightness/step-size 15 "The size of the increment or decrement step for the screen's brightness.") -(defcustom screen-brightness/install-kbds? t - "If t, install the keybindings to control screen brightness.") - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -44,11 +41,5 @@ :command (string/format "xbacklight -dec %s" screen-brightness/step-size)) (message "[screen-brightness.el] Decreased screen brightness.")) -(when screen-brightness/install-kbds? - (exwm-input-set-key - (kbd "<XF86MonBrightnessUp>") #'screen-brightness/increase) - (exwm-input-set-key - (kbd "<XF86MonBrightnessDown>") #'screen-brightness/decrease)) - (provide 'screen-brightness) ;;; screen-brightness.el ends here |