Roll-back windows platform changes

This commit is contained in:
2024-10-04 00:27:28 -04:00
parent 28f3aab6f1
commit c44e4985d2
+21 -21
View File
@@ -8,27 +8,27 @@ local wezterm = WEZTERM
-- Define the opts table -- Define the opts table
local opts = {} local opts = {}
-- Get the OS string -- -- Get the OS string
local os_string = wezterm.target_triple:lower() -- local os_string = wezterm.target_triple:lower()
local myos = "" -- local myos = ""
--
-- Determine the OS -- -- Determine the OS
if os_string:find("windows") then -- if os_string:find("windows") then
myos = "win" -- myos = "win"
else -- else
if os_string:find("darwin") then -- if os_string:find("darwin") then
myos = "mac" -- myos = "mac"
else -- else
myos = "linux" -- myos = "linux"
end -- end
end -- end
--
-- Set OS-specific options -- -- Set OS-specific options
if myos == "win" then -- if myos == "win" then
opts.default_prog = { "pwsh.exe" } -- opts.default_prog = { "pwsh.exe" }
opts.window_background_opacity = 0 -- opts.window_background_opacity = 0
opts.win32_system_backdrop = "Mica" -- opts.win32_system_backdrop = "Mica"
end -- end
-- Return the opts table -- Return the opts table
return opts return opts