forked from rxi/lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
39 lines (29 loc) · 1.51 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
-- put user settings here
-- this module will be loaded after everything else when the application starts
local keymap = require "core.keymap"
local config = require "core.config"
local style = require "core.style"
-- light theme:
-- require "user.colors.summer"
-- key binding:
-- keymap.add { ["ctrl+escape"] = "core:quit" }
-- https://github.com/monolifed/theme16
-- the following 2 variables take a value between 0 and 2
-- values less than 1 decrease the saturation (at 0 it becomes 0, at 1 there is no change)
-- values greater than 1 increase the saturation (at 2 it becomes 1)
--config.theme_saturation = 0.95 -- overall saturation
--config.theme_lightness = 0.90 -- overall lightness
-- config.theme_name = "grayscale-black" -- name of the theme
-- It can also be a table. Then the first one is set and the list will be used to cycle through
--config.theme_name = {"edge dark", "edge light"}
-- Otherwise, if the following is true, config.theme_listfile will be used to cycle through
-- (config.theme_listfile defaults to "scheme_list.lua" in the plugin's directory)
--config.theme_usefile = true
-- Otherwise, a list will be generated from the files in config.theme_dir
-- (config.theme_dir defaults to "schemes/" in the plugin's directory)
-- And, if the following is true, generated list will be saved as config.theme_listfile
--config.theme_savefile = true
-- dynamically load a theme
keymap.add { ["alt+home"] = "theme:change" }
keymap.add { ["alt+pageup"] = "theme:prev" }
keymap.add { ["alt+pagedown"] = "theme:next" }