style: Use double quotes
This commit is contained in:
parent
736f1477b4
commit
7138b5c360
3 changed files with 14 additions and 14 deletions
24
themer.lua
24
themer.lua
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env lua5.1
|
#!/usr/bin/env lua5.1
|
||||||
|
|
||||||
local templater = require 'utils/template'
|
local templater = require "utils/template"
|
||||||
|
|
||||||
function expect_nil(result)
|
function expect_nil(result)
|
||||||
if result then
|
if result then
|
||||||
|
@ -18,7 +18,7 @@ local function read_file(path)
|
||||||
return content
|
return content
|
||||||
end
|
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)
|
local theme_name = read_file(theme_name_path)
|
||||||
theme = dofile("themes/"..theme_name..".lua")
|
theme = dofile("themes/"..theme_name..".lua")
|
||||||
|
|
||||||
|
@ -32,14 +32,14 @@ function save_config(name, template, params, pattern)
|
||||||
file:close()
|
file:close()
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'modules/sway'
|
require "modules/sway"
|
||||||
require 'modules/river'
|
require "modules/river"
|
||||||
require 'modules/yambar'
|
require "modules/yambar"
|
||||||
require 'modules/foot'
|
require "modules/foot"
|
||||||
require 'modules/fnott'
|
require "modules/fnott"
|
||||||
require 'modules/fuzzel'
|
require "modules/fuzzel"
|
||||||
require 'modules/lock'
|
require "modules/lock"
|
||||||
require 'modules/shell'
|
require "modules/shell"
|
||||||
require 'modules/vis'
|
require "modules/vis"
|
||||||
require 'modules/gtk'
|
require "modules/gtk"
|
||||||
|
|
||||||
|
|
|
@ -18,4 +18,4 @@ local theme = {
|
||||||
|
|
||||||
vis_theme = "rose-pine-dawn-colorless",
|
vis_theme = "rose-pine-dawn-colorless",
|
||||||
}
|
}
|
||||||
return require('utils/rose-pine-convert')(theme)
|
return require("utils/rose-pine-convert")(theme)
|
||||||
|
|
|
@ -18,4 +18,4 @@ local theme = {
|
||||||
|
|
||||||
vis_theme = "rose-pine-moon-colorless",
|
vis_theme = "rose-pine-moon-colorless",
|
||||||
}
|
}
|
||||||
return require('utils/rose-pine-convert')(theme)
|
return require("utils/rose-pine-convert")(theme)
|
||||||
|
|
Loading…
Reference in a new issue