mirror of
https://github.com/blahai/nyx.git
synced 2025-06-10 22:03:02 -04:00
add wezterm config (borrowed from isabel)
This commit is contained in:
parent
c85a317bc8
commit
26de676486
9 changed files with 1112 additions and 80 deletions
18
modules/home-manager/cli/wezterm/utils.lua
Normal file
18
modules/home-manager/cli/wezterm/utils.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
local wezterm = require("wezterm")
|
||||
local M = {}
|
||||
|
||||
M.is_windows = function()
|
||||
return wezterm.target_triple:find("windows") ~= nil
|
||||
end
|
||||
|
||||
---@return boolean
|
||||
M.is_linux = function()
|
||||
return wezterm.target_triple:find("linux") ~= nil
|
||||
end
|
||||
|
||||
---@return boolean
|
||||
M.is_darwin = function()
|
||||
return wezterm.target_triple:find("darwin") ~= nil
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue