mirror of
https://github.com/larstvei/Focus.git
synced 2024-11-26 11:38:32 +00:00
Added custom variable for setting dimness
This commit is contained in:
parent
1c664fb992
commit
90806dc7ea
11
focus.el
11
focus.el
@ -32,6 +32,17 @@
|
|||||||
|
|
||||||
(require 'cl-lib)
|
(require 'cl-lib)
|
||||||
|
|
||||||
|
(defcustom focus-dimness 0
|
||||||
|
"When `focus-mode' is enabled, the dimness of the sections that
|
||||||
|
are out of focus is determined by this integer. A positive value
|
||||||
|
increases the dimness of the sections, whilst a negative value
|
||||||
|
decreases the dimness.
|
||||||
|
|
||||||
|
The default is 0 which means a 50/50 mixture of the background
|
||||||
|
and foreground color."
|
||||||
|
:type '(integer)
|
||||||
|
:group 'focus)
|
||||||
|
|
||||||
(defvar-local focus-pre-overlay nil
|
(defvar-local focus-pre-overlay nil
|
||||||
"The overlay that dims the text prior to the current-point.")
|
"The overlay that dims the text prior to the current-point.")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user