mirror of
https://github.com/acedanger/dotfiles.git
synced 2025-12-05 22:30:13 -08:00
copied profile
This commit is contained in:
22
wezterm/.config/picker/assets/font-sizes/font-sizes.lua
Normal file
22
wezterm/.config/picker/assets/font-sizes/font-sizes.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
---@module "picker.assets.font-sizes.font-sizes"
|
||||
---@author sravioli
|
||||
---@license GNU-GPLv3
|
||||
|
||||
---@class PickList
|
||||
local M = {}
|
||||
|
||||
M.get = function()
|
||||
local sizes = {}
|
||||
for i = 8, 30 do
|
||||
sizes[#sizes + 1] = { label = ("%2dpt"):format(i), id = tostring(i) }
|
||||
end
|
||||
sizes[#sizes + 1] = { id = tostring(require("config.font").font_size), label = "Reset" }
|
||||
|
||||
return sizes
|
||||
end
|
||||
|
||||
M.activate = function(Config, opts)
|
||||
Config.font_size = tonumber(opts.id)
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user