Add: tools/rgb: initial commit (rainbow-mode + kurecolor)
This commit is contained in:
parent
d6762bc893
commit
32bccfa857
2 changed files with 31 additions and 0 deletions
26
modules/tools/rgb/config.el
Normal file
26
modules/tools/rgb/config.el
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
;;; tools/rgb/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;;
|
||||||
|
;; Plugins
|
||||||
|
;;
|
||||||
|
|
||||||
|
(def-package! rainbow-mode
|
||||||
|
:init
|
||||||
|
(add-hook 'prog-mode-hook #'rainbow-mode))
|
||||||
|
|
||||||
|
(def-package! kurecolor
|
||||||
|
:after rainbow-mode
|
||||||
|
:config
|
||||||
|
(when (featurep! :feature hydra)
|
||||||
|
(require 'hydra)
|
||||||
|
(defhydra hydra-kurecolor (:color pink
|
||||||
|
:hint nil)
|
||||||
|
"
|
||||||
|
Inc/Dec _w_/_W_ brightness _d_/_D_ saturation _e_/_E_ hue "
|
||||||
|
("w" kurecolor-decrease-brightness-by-step)
|
||||||
|
("W" kurecolor-increase-brightness-by-step)
|
||||||
|
("d" kurecolor-decrease-saturation-by-step)
|
||||||
|
("D" kurecolor-increase-saturation-by-step)
|
||||||
|
("e" kurecolor-decrease-hue-by-step)
|
||||||
|
("E" kurecolor-increase-hue-by-step)
|
||||||
|
("q" nil "cancel" :color blue))))
|
5
modules/tools/rgb/packages.el
Normal file
5
modules/tools/rgb/packages.el
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
;; -*- no-byte-compile: t; -*-
|
||||||
|
;;; tools/rgb/packages.el
|
||||||
|
|
||||||
|
(package! rainbow-mode)
|
||||||
|
(package! kurecolor)
|
Loading…
Add table
Add a link
Reference in a new issue