Compare commits
No commits in common. "12999418de5ebc9ba43604052e464a7ab1c7e5b7" and "736f1477b466223883be11fd1109613e9b37deb6" have entirely different histories.
12999418de
...
736f1477b4
4 changed files with 14 additions and 25 deletions
|
@ -1,8 +0,0 @@
|
|||
local kakoune_theme = theme.kakoune_theme
|
||||
if kakoune_theme == nil then
|
||||
kakoune_theme = "rose-pine-dawn"
|
||||
end
|
||||
|
||||
save_config("kakoune", [[
|
||||
colorscheme {theme}
|
||||
]], { theme = kakoune_theme })
|
25
themer.lua
25
themer.lua
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env lua5.1
|
||||
|
||||
local templater = require "utils/template"
|
||||
local templater = require 'utils/template'
|
||||
|
||||
function expect_nil(result)
|
||||
if result then
|
||||
|
@ -18,7 +18,7 @@ local function read_file(path)
|
|||
return content
|
||||
end
|
||||
|
||||
local theme_name_path = os.getenv("HOME").."/.config/themer.lua.theme"
|
||||
local theme_name_path = os.getenv('HOME').."/.config/themer.lua.theme"
|
||||
local theme_name = read_file(theme_name_path)
|
||||
theme = dofile("themes/"..theme_name..".lua")
|
||||
|
||||
|
@ -32,15 +32,14 @@ function save_config(name, template, params, pattern)
|
|||
file:close()
|
||||
end
|
||||
|
||||
require "modules/sway"
|
||||
require "modules/river"
|
||||
require "modules/yambar"
|
||||
require "modules/foot"
|
||||
require "modules/fnott"
|
||||
require "modules/fuzzel"
|
||||
require "modules/lock"
|
||||
require "modules/shell"
|
||||
require "modules/vis"
|
||||
require "modules/kakoune"
|
||||
require "modules/gtk"
|
||||
require 'modules/sway'
|
||||
require 'modules/river'
|
||||
require 'modules/yambar'
|
||||
require 'modules/foot'
|
||||
require 'modules/fnott'
|
||||
require 'modules/fuzzel'
|
||||
require 'modules/lock'
|
||||
require 'modules/shell'
|
||||
require 'modules/vis'
|
||||
require 'modules/gtk'
|
||||
|
||||
|
|
|
@ -17,6 +17,5 @@ local theme = {
|
|||
dark = false,
|
||||
|
||||
vis_theme = "rose-pine-dawn-colorless",
|
||||
kakoune_theme = "rose-pine-dawn",
|
||||
}
|
||||
return require("utils/rose-pine-convert")(theme)
|
||||
return require('utils/rose-pine-convert')(theme)
|
||||
|
|
|
@ -17,6 +17,5 @@ local theme = {
|
|||
dark = true,
|
||||
|
||||
vis_theme = "rose-pine-moon-colorless",
|
||||
kakoune_theme = "rose-pine-moon",
|
||||
}
|
||||
return require("utils/rose-pine-convert")(theme)
|
||||
return require('utils/rose-pine-convert')(theme)
|
||||
|
|
Loading…
Reference in a new issue