prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.54k stars 786 forks source link

[Feature Request]: Add support for wezterm #1452

Open rubiin opened 4 months ago

rubiin commented 4 months ago

Feature Request

Description

wezterm is a great terminal and has many themes and fonts inbuilt . Adding support for wezterm similar to kitty should be doable.

[Provide a clear and concise description of the feature you'd like to see added.]

Use Case

[Describe how this feature would be useful to you or to other users of the project.]

Proposed Solution

[If you have a specific solution in mind, describe it here. If not, you can skip this section.]

Alternatives

[Are there any alternative solutions or workarounds that you've considered? If so, describe them here.]

Additional Information

[Add any other information about the feature request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]

noahfraiture commented 4 months ago

What is the use case ? What are the pros and cons compared to kitty which is already well implemented in the whole project

kRHYME7 commented 4 months ago

I can't render wezterm

rubiin commented 4 months ago

The pro being , all the configs being in lua and neovim also uses lua , its easy. While kitty configs are plain configs, wezterm uses lua so you could add runtime conditions . Also its a gpu accelerated terminal faster and has all the fonts, themes baked in

cassiofb-dev commented 4 months ago

I can't render wezterm

@kRHYME7 yeah, something broke recently and I had to fallback to xwayland for making it work:

if os.getenv("XDG_CURRENT_DESKTOP") == "Hyprland" then
    config.enable_wayland = false
else
    config.enable_wayland = true
end

And I also like wezterm more.

rubiin commented 4 months ago

heres my wezterm config https://github.com/rubiin/dotfiles/blob/master/private_dot_config/wezterm/wezterm.lua#L67

rubiin commented 4 months ago

I can't render wezterm

@kRHYME7 yeah, something broke recently and I had to fallback to xwayland for making it work:

if os.getenv("XDG_CURRENT_DESKTOP") == "Hyprland" then
  config.enable_wayland = false
else
  config.enable_wayland = true
end

And I also like wezterm more.

This is no longer needed if you use wezterm-git. This was fixed

kRHYME7 commented 3 months ago

image image

rubiin commented 3 months ago

https://github.com/rubiin/dotfiles/tree/master/private_dot_config/wezterm can you try with this settings. Omit the fonts

rubiin commented 3 months ago

you can try

I can't render wezterm

@kRHYME7 yeah, something broke recently and I had to fallback to xwayland for making it work:

if os.getenv("XDG_CURRENT_DESKTOP") == "Hyprland" then
    config.enable_wayland = false
else
    config.enable_wayland = true
end

And I also like wezterm more.

This is no longer needed if you use wezterm-git. This was fixed

you can try this as last resort

asilvam133 commented 2 months ago

wezterm-git works as expected. @kRHYME7 for the, the main advantage of using Wezterm instead of Kitty is better support for monospace characters, particularly when italic are enabled.

This is Wezterm image

This is Kitty image

Additionally, most of the themes that you find for Kitty are available for Wezterm as well.

Here is my config just to show how to separate themes from configuration https://github.com/asilvam133/.wezterm.

kRHYME7 commented 2 months ago

so this happened

image

And ncurses will try to do it on other device

asilvam133 commented 2 months ago

Oh that happened to me as well because I had wezterm installed before. What I did was uninstall wezterm, install wezterm-git, then the error shows up, then try install it again, and it worked. I don't remember if I had to delete that folder, but you could give it a try to see if it works.

asilvam133 commented 2 months ago

Oh that happened to me as well because I had wezterm installed before. What I did was uninstall wezterm, install wezterm-git, then the error shows up, then try install it again, and it worked. I don't remember if I had to delete that folder, but you could give it a try to see if it works.

@kRHYME7 To expand/correct on this, I got an error because I had wezterm installed, but it's the same error that you are getting with ncurses. You probably don't wish to uninstall it, and there's a workaround for this one https://github.com/wez/wezterm/issues/5464#issuecomment-2131354269