Move feature/hydra into core-keybinds

This commit is contained in:
Henrik Lissner 2017-09-23 16:26:12 +02:00
parent 842f957a76
commit 597bfb1a3c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
8 changed files with 105 additions and 164 deletions

View file

@ -10,15 +10,13 @@
(def-package! kurecolor
:after rainbow-mode
:config
(when (featurep! :feature hydra)
(defhydra hydra-kurecolor (:color pink
:hint nil)
"
(def-hydra! +rgb@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))))
("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)))