style: re-format

This commit is contained in:
2026-06-12 17:12:25 -04:00
parent a0b22453eb
commit e298b55cb7
36 changed files with 832 additions and 832 deletions
+10 -10
View File
@@ -6,19 +6,19 @@ M.cursor = "Vimix-Hyprcursor"
M.size = 32
function M.fetch_Vimix_hyprcursor()
if M.cursor == "Vimix-Hyprcursor" then
if not utils.is_file_exists(DATA_HOME .. "/icons/Vimix-Hyprcursor") then
local tmppath = "/tmp/Vimix-Hyprcursor"
os.execute("git clone https://gitea.phy-yingjie.wang/wyj/Vimix-Hyprcursor.git " .. tmppath)
os.execute("cp " .. tmppath .. "/theme_Vimix-Hyprcursor " .. DATA_HOME .. "/icons/Vimix-Hyprcursor")
end
end
if M.cursor == "Vimix-Hyprcursor" then
if not utils.is_file_exists(DATA_HOME .. "/icons/Vimix-Hyprcursor") then
local tmppath = "/tmp/Vimix-Hyprcursor"
os.execute("git clone https://gitea.phy-yingjie.wang/wyj/Vimix-Hyprcursor.git " .. tmppath)
os.execute("cp " .. tmppath .. "/theme_Vimix-Hyprcursor " .. DATA_HOME .. "/icons/Vimix-Hyprcursor")
end
end
end
function M.load()
M.fetch_Vimix_hyprcursor()
hl.env("HYPRCURSOR_THEME", M.cursor)
hl.env("HYPRCURSOR_SIZE", tostring(M.size))
M.fetch_Vimix_hyprcursor()
hl.env("HYPRCURSOR_THEME", M.cursor)
hl.env("HYPRCURSOR_SIZE", tostring(M.size))
end
return M