dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTc8aYACgkQuFOtpdp7
v3qbUA/+JPLg5AOXtO+EJfaKt57Zf+y7WFAKRMCpVM8QMwCqE0DBeSe9yvevsjA+
FDE0XZaa9q2FOcnhesBiqMmYhCkc82t7mxRcDeefEqVEI2hAbJ57Rhaw/+XCAdxV
zlnjFg6p/wk4024wOK/dzlGnrJLgD4j5EVd9Zv4UyrnidJlZeFbdJdieG1lLNZkB
XaUnWkK9ZbGReeoIs5woOhDXASaCAWN80XGAh/q7BqReQF9KK4m5lVZjpy22ipeL
VwRFrqvCaCfaH5WYxd+h2iJYN+rMoKz4/Cpd1JJjweWcPGwZSDMlP2MiL2dvpNNZ
epnCcDDRs/FG7bWXpkLBtrpRt2RxX1OaRYziofw3FVmZGB/Bn4r/DDoGhAhvW1JQ
OJl7IKn+UDabZbgybhIDfV3ae1GPUQOzfY8gc6yV+MxKClZx4qff22/njdI2j8Ua
0Al6cRyhWGr69V68/JCDfOjONIKDqCbvdSQHt/gJ/JiUDeAco1iKp0XqY52IPQ1m
BqepQ2pWdnIP5fv2Nh+vYQx8wrGRtHrmWTDEou+WiBtEWb3f1C6Pv6oBNOntY8OE
vMrlrLpK4fopH71lYHo8RDyb+8Wy1xE50kioSLBG/5PWY2+pWxWRWZcO2P2HJ/pd
SdvZgeTm34R+fZVPTNTnjWUH4nLulpu/GM3jNggZriWOxh7HW9s=
=z8Zv
-----END PGP SIGNATURE-----
diff --git a/apps/wezterm/wezterm.lua b/apps/wezterm/wezterm.lua
index 0ec2d06669b1e55aabc4691f8ba8ded2f3697ae5..dcedb48d0d9075a93fa27657c98c5e7bda9f9926 100644
--- a/apps/wezterm/wezterm.lua
+++ b/apps/wezterm/wezterm.lua
@@ -1,14 +1,5 @@
local wezterm = require "wezterm"
--- Choose theme based on system
-function theme_for_appearance(appearance)
- if appearance:find "Dark" then
- return "Catppuccin Mocha"
- else
- return "Catppuccin Latte"
- end
-end
-
-- Update right status with "mode"
wezterm.on('update-right-status', function(window, pane)
local name = window:active_key_table()
@@ -32,97 +23,113 @@ window:set_config_overrides({ window_background_opacity = opacity })
end)
-- config
-
+local cfg = wezterm.config_builder()
+cfg.default_prog = { "nu", "--config", "~/.config/nushell/config.nu", "--env-config", "~/.config/nushell/env.nu" }
+cfg.window_close_confirmation = 'NeverPrompt'
+cfg.window_background_opacity = opacity
+ else
return "Catppuccin Latte"
-
+ else
end
--- Choose theme based on system
+ return "Catppuccin Latte"
--- Choose theme based on system
+ return "Catppuccin Latte"
local wezterm = require "wezterm"
--- Choose theme based on system
+ return "Catppuccin Latte"
+ else
-- Choose theme based on system
+ return "Catppuccin Latte"
-- Choose theme based on system
--- Choose theme based on system
+ return "Catppuccin Latte"
function theme_for_appearance(appearance)
--- Choose theme based on system
+ return "Catppuccin Latte"
if appearance:find "Dark" then
--- Choose theme based on system
+ return "Catppuccin Latte"
return "Catppuccin Mocha"
--- Choose theme based on system
+ return "Catppuccin Latte"
else
--- Choose theme based on system
+ return "Catppuccin Latte"
return "Catppuccin Latte"
--- Choose theme based on system
+ return "Catppuccin Latte"
end
-function theme_for_appearance(appearance)
+ end
-function theme_for_appearance(appearance)
+ end
local wezterm = require "wezterm"
-function theme_for_appearance(appearance)
+ end
-function theme_for_appearance(appearance)
+ end
-- Choose theme based on system
-function theme_for_appearance(appearance)
+ end
function theme_for_appearance(appearance)
-
-function theme_for_appearance(appearance)
+ end
if appearance:find "Dark" then
-
-function theme_for_appearance(appearance)
+ end
return "Catppuccin Mocha"
-function theme_for_appearance(appearance)
+ end
else
-function theme_for_appearance(appearance)
+ end
return "Catppuccin Latte"
-function theme_for_appearance(appearance)
+ end
end
- if appearance:find "Dark" then
+end
- if appearance:find "Dark" then
+end
local wezterm = require "wezterm"
- if appearance:find "Dark" then
+}
+end
- if appearance:find "Dark" then
+end
-- Choose theme based on system
- if appearance:find "Dark" then
+end
function theme_for_appearance(appearance)
- if appearance:find "Dark" then
+end
if appearance:find "Dark" then
- },
- if appearance:find "Dark" then
+end
return "Catppuccin Mocha"
- if appearance:find "Dark" then
+end
else
- if appearance:find "Dark" then
+end
return "Catppuccin Latte"
- if appearance:find "Dark" then
+end
end
- return "Catppuccin Mocha"
+-- Update right status with "mode"
- return "Catppuccin Mocha"
+-- Update right status with "mode"
local wezterm = require "wezterm"
- return "Catppuccin Mocha"
+-- Update right status with "mode"
- return "Catppuccin Mocha"
+-- Update right status with "mode"
-- Choose theme based on system
- return "Catppuccin Mocha"
+-- Update right status with "mode"
function theme_for_appearance(appearance)
- return "Catppuccin Mocha"
+-- Update right status with "mode"
if appearance:find "Dark" then
- return "Catppuccin Mocha"
+-- Update right status with "mode"
return "Catppuccin Mocha"
- return "Catppuccin Mocha"
+-- Update right status with "mode"
else
- return "Catppuccin Mocha"
+-- Choose theme based on system
return "Catppuccin Latte"
- return "Catppuccin Mocha"
+}
+
+-- Plugins
+-- Update right status with "mode"
end
- else
+wezterm.on('update-right-status', function(window, pane)
- else
+wezterm.on('update-right-status', function(window, pane)
local wezterm = require "wezterm"
- else
+wezterm.on('update-right-status', function(window, pane)
+wezterm.on('update-right-status', function(window, pane)
-- Choose theme based on system
- return "Catppuccin Latte"
+ }
+})
+wezterm.plugin.require("https://github.com/nekowinston/wezterm-bar").apply_to_config(cfg, {
+wezterm.on('update-right-status', function(window, pane)
else
--- Choose theme based on system
+local wezterm = require "wezterm"
+ return "Catppuccin Latte"
+ }
+})
+
+return cfg