Skip to content

Commit 0fc4a99

Browse files
committed
Uninstall Wezterm on all platforms
Closes GH-767 Closes GH-754 Closes GH-679 Closes GH-618
1 parent 0f07b6c commit 0fc4a99

File tree

10 files changed

+2
-30
lines changed

10 files changed

+2
-30
lines changed

cmd/winit-conf/main.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ func provisioners() []provisioner {
7272
// As I understand it, unix like permission masks will work even in windows...
7373
const dirPerm = 0750
7474

75-
err = os.MkdirAll(filepath.Join(homePath, ".config", "wezterm"), dirPerm)
76-
if err != nil {
77-
log.Fatalf("Failed to create wezterm dotfiles directory: %+v", err)
78-
}
7975
err = os.MkdirAll(filepath.Join(homePath, ".config", "alacritty", "themes"), dirPerm)
8076
if err != nil {
8177
log.Fatalf("Failed to create alacritty dotfiles directory: %+v", err)
@@ -92,9 +88,6 @@ func provisioners() []provisioner {
9288
return []provisioner{
9389
newProvisioner([]string{"config", "starship", "starship.toml"}, []string{homePath, ".config", "starship.toml"}),
9490

95-
// TODO: Copy all this wezterm dir
96-
newProvisioner([]string{"config", "wezterm", "wezterm.lua"}, []string{homePath, ".config", "wezterm", "wezterm.lua"}),
97-
9891
newProvisioner([]string{"config", "alacritty", "common.toml"}, []string{homePath, ".config", "alacritty", "common.toml"}),
9992
newProvisioner([]string{"config", "alacritty", "windows.toml"}, []string{homePath, ".config", "alacritty", "windows.toml"}),
10093
// TODO: Copy all TOMLs under themes

config/hyprland/hyprland.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
184184

185185
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
186186
bind = $mainMod, Q, exec, $terminal
187-
bind = $mainMod, W, exec, wezterm
188187
bind = $mainMod, F, exec, firefox
189188
bind = $mainMod, C, killactive,
190189
bind = $mainMod, M, exit,

config/wezterm/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# WezTerm
22

3+
Now I'm not using Wezterm from several reasons. But keeping the config and several note for possibilities to use it again in future...
4+
35
## How to debug Lua code?
46

57
CTRL-SHIFT-L

darwin/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
Several packages are missing or broken for darwin. Or the x86-64 darwin.\
66
So you should manually install followings.
77

8-
- [wezterm](https://github.com/wez/wezterm/releases/download/nightly/WezTerm-macos-nightly.zip)
98
- [vscode](https://code.visualstudio.com/download)
109
- [zed-editor](https://zed.dev/download)
1110
- [podman-desktop](https://podman-desktop.io/downloads)

flake.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
nixos-wsl.url = "github:nix-community/NixOS-WSL/2405.5.4";
1616
# https://github.com/xremap/nix-flake/blob/master/docs/HOWTO.md
1717
xremap-flake.url = "github:xremap/nix-flake";
18-
# Don't use wezterm-flake for now. The IME on wayland does not work than old stable.
19-
# wezterm-flake = {
20-
# url = "github:wez/wezterm?dir=nix";
21-
# inputs.nixpkgs.follows = "nixpkgs";
22-
# };
2318
};
2419

2520
outputs =
@@ -30,7 +25,6 @@
3025
home-manager,
3126
nixos-wsl,
3227
xremap-flake,
33-
# wezterm-flake,
3428
}@inputs:
3529
let
3630
inherit (self) outputs;

home-manager/common.nix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@
123123
# Do not alias *.nix into `xdg.configFile`, it actually cannot be used because of using many relative dirs
124124
# So you should call `home-manager switch` with `-f ~/repos/dotfiles/USER_NAME.nix`
125125

126-
xdg.configFile."wezterm" = {
127-
source = ../config/wezterm;
128-
recursive = true;
129-
};
130-
131126
xdg.configFile."alacritty/alacritty.toml".source = ../config/alacritty/alacritty-unix.toml;
132127
xdg.configFile."alacritty/unix.toml".source =
133128
if pkgs.stdenv.isDarwin then ../config/alacritty/macos.toml else ../config/alacritty/linux.toml;

home-manager/packages.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ with pkgs;
7171
zellij
7272
yazi # prefer the shell wrapper `yy`
7373

74-
# Do not install wezterm in home-manager layer for non NixOS
75-
# - Released wezterm versions are broken on wayland
76-
# - Using nightly needs to take long build time, avoiding it for CI time
7774
alacritty
7875

7976
typos

nixos/configuration.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@
146146
skktools
147147

148148
alacritty
149-
# Don't use nightly wezterm, that still does not enable IME on wayland
150-
# inputs.wezterm-flake.packages.${pkgs.system}.default
151-
wezterm
152149

153150
wget
154151
curl

windows.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ import "embed"
55
//go:embed all:windows/*
66
//go:embed config/powershell/*
77
//go:embed config/starship/*
8-
//go:embed config/wezterm/*
98
//go:embed config/alacritty/*
109
var WindowsAssets embed.FS

windows/winget/winget-pkgs-basic.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@
5252
{
5353
"PackageIdentifier": "Microsoft.PowerShell"
5454
},
55-
{
56-
"PackageIdentifier": "wez.wezterm"
57-
},
5855
{
5956
"PackageIdentifier": "Alacritty.Alacritty"
6057
},

0 commit comments

Comments
 (0)