backlog
This commit is contained in:
parent
f7c2b96150
commit
5d8b01834f
5 changed files with 72 additions and 5 deletions
|
@ -203,13 +203,41 @@ if wezterm.target_triple == "x86_64-pc-windows-msvc" then
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
config.font = wezterm.font_with_fallback({
|
local function fallback(font)
|
||||||
{family = "tewi", weight = "Regular"},
|
return wezterm.font_with_fallback({
|
||||||
{family = "tewi", weight = "Bold"},
|
font,
|
||||||
|
"Fixed",
|
||||||
|
"Terminus (TTF)",
|
||||||
|
"Sazanami Gothic",
|
||||||
|
"Unifont",
|
||||||
|
"Noto Emoji",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
config.font = fallback("tewi")
|
||||||
|
config.font_rules = {
|
||||||
|
{
|
||||||
|
intensity = "Bold",
|
||||||
|
font = fallback({family = "tewi", weight = "Bold"}),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
italic = true,
|
||||||
|
font = fallback({family = "orp", style = "Italic"}),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
intensity = "Bold",
|
||||||
|
italic = true,
|
||||||
|
font = fallback({family = "orp", style = "Italic"}),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
--[[config.font = wezterm.font_with_fallback({
|
||||||
|
{family = "tewi", style = "Normal"},
|
||||||
|
{family = "tewi", style = "Normal", weight = "Bold"},
|
||||||
|
{family = "orp", style = "Italic"},
|
||||||
|
{family = "orp", style = "Italic", weight = "Bold"},
|
||||||
"Terminus (TTF)",
|
"Terminus (TTF)",
|
||||||
"Unifont",
|
"Unifont",
|
||||||
"Noto Emoji",
|
"Noto Emoji",
|
||||||
})
|
})--]]
|
||||||
end
|
end
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
|
@ -9,6 +9,7 @@ if [[ -f "$HOME/.zshcfg" ]]; then
|
||||||
else
|
else
|
||||||
CONF_BINARYCLOCK=0
|
CONF_BINARYCLOCK=0
|
||||||
CONF_ENABLEGIT=0
|
CONF_ENABLEGIT=0
|
||||||
|
CONF_FORTUNE=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $CONF_ENABLEGIT -eq 1 ]]; then
|
if [[ $CONF_ENABLEGIT -eq 1 ]]; then
|
||||||
|
@ -227,3 +228,7 @@ if [[ -f "$HOME/.zshenv" ]]; then
|
||||||
source ~/.zshenv
|
source ~/.zshenv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $CONF_FORTUNE -eq 1 ]]; then
|
||||||
|
fortune $CONF_FORTUNE_PATH
|
||||||
|
echo
|
||||||
|
fi
|
26
common/helix/config.toml
Normal file
26
common/helix/config.toml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
theme = "tokyonight"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
line-number = "relative"
|
||||||
|
cursorline = true
|
||||||
|
color-modes = true
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
left = ["mode", "file-name"]
|
||||||
|
center = []
|
||||||
|
right = ["spinner", "diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
normal = "block"
|
||||||
|
insert = "bar"
|
||||||
|
select = "underline"
|
||||||
|
|
||||||
|
[editor.whitespace]
|
||||||
|
render = "all"
|
||||||
|
|
||||||
|
[editor.whitespace.characters]
|
||||||
|
newline = "↴"
|
||||||
|
|
||||||
|
[editor.indent-guides]
|
||||||
|
render = true
|
||||||
|
character = "▎"
|
4
common/helix/languages.toml
Normal file
4
common/helix/languages.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[[language]]
|
||||||
|
name = "javascript"
|
||||||
|
formatter = { command = "prettier", args = ["--parser", "babel"] }
|
||||||
|
auto-format = true
|
|
@ -1057,7 +1057,7 @@ clientkeys = gears.table.join(
|
||||||
),
|
),
|
||||||
awful.key(
|
awful.key(
|
||||||
{modkey}, "f",
|
{modkey}, "f",
|
||||||
awful.client.floating.toggle ,
|
awful.client.floating.toggle,
|
||||||
{
|
{
|
||||||
description = "toggle floating",
|
description = "toggle floating",
|
||||||
group = "client",
|
group = "client",
|
||||||
|
@ -1119,6 +1119,10 @@ clientkeys = gears.table.join(
|
||||||
awful.key(
|
awful.key(
|
||||||
{modkey, "Shift"}, "r",
|
{modkey, "Shift"}, "r",
|
||||||
function(c)
|
function(c)
|
||||||
|
if not c.floating then
|
||||||
|
c.floating = true
|
||||||
|
end
|
||||||
|
|
||||||
local scr = awful.screen.focused({client = true})
|
local scr = awful.screen.focused({client = true})
|
||||||
local x = scr.geometry.x + (scr.geometry.width / 2 - 800)
|
local x = scr.geometry.x + (scr.geometry.width / 2 - 800)
|
||||||
local y = scr.geometry.y + (scr.geometry.height / 2 - 450)
|
local y = scr.geometry.y + (scr.geometry.height / 2 - 450)
|
||||||
|
|
Loading…
Reference in a new issue