diff --git a/home/config/wezterm/config.fnl b/home/config/wezterm/config.fnl index c7f08f3..c272372 100644 --- a/home/config/wezterm/config.fnl +++ b/home/config/wezterm/config.fnl @@ -255,10 +255,6 @@ :action :OpenLinkAtMouseCursor}] ;; Scrollback :scrollback_lines 5000 - ;; Launch Menu - :launch_menu [{:label :Btop++ :args [_G.programs.btop]} - {:label :bash :args [_G.shells.bash]} - {:label :zsh :args [_G.shells.zsh]}] ;; Other :front_end :WebGpu :max_fps 120 diff --git a/home/programs/wezterm.nix b/home/programs/wezterm.nix index 5d040f5..336de3c 100644 --- a/home/programs/wezterm.nix +++ b/home/programs/wezterm.nix @@ -10,12 +10,7 @@ in extraConfig = /* lua */ '' _G.shells = { - bash = '${pkgs.bash.outPath}/bin/bash', - zsh = '${pkgs.zsh.outPath}/bin/zsh', - }; - - _G.programs = { - btop = '${pkgs.btop.outPath}/bin/btop', + zsh = '${pkgs.zsh.outPath}/bin/zsh' }; local cfg = require('config'); diff --git a/home/programs/zsh/functions/wezssh b/home/programs/zsh/functions/wezssh deleted file mode 100755 index c216b76..0000000 --- a/home/programs/zsh/functions/wezssh +++ /dev/null @@ -1 +0,0 @@ -wezterm cli spawn --domain-name "SSH:$1" diff --git a/home/programs/zsh/functions/wssh b/home/programs/zsh/functions/wssh new file mode 100644 index 0000000..d5bd672 --- /dev/null +++ b/home/programs/zsh/functions/wssh @@ -0,0 +1 @@ +wezterm cli spawn --domain-name "SSHMUX:$1"