From 6ad6d07808ee5ef9c223918dab1aa749e406f7ed Mon Sep 17 00:00:00 2001 From: Yuta Katayama <8683947+yutkat@users.noreply.github.com> Date: Fri, 22 Mar 2024 01:17:23 +0900 Subject: [PATCH] wezterm: Fix to open on hyprland --- .config/hypr/config.d/bind.conf | 3 ++- .config/hypr/config.d/option.conf | 4 ++++ .config/wezterm/wezterm.lua | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.config/hypr/config.d/bind.conf b/.config/hypr/config.d/bind.conf index fb8de13d7..1de120e0b 100644 --- a/.config/hypr/config.d/bind.conf +++ b/.config/hypr/config.d/bind.conf @@ -1,5 +1,6 @@ # KeyBinds -bind=SUPER,RETURN,exec,~/.local/bin/x-terminal-emulator +# bind=SUPER,RETURN,exec,~/.local/bin/x-terminal-emulator +bind=SUPER,RETURN,exec,ulauncher-toggle -q "wezterm$" bind=SUPER,c,exec,~/.local/bin/x-www-browser bind=SUPER,o,exec,xdg-open "$(find ~/Downloads -type f -not -name ".*" -printf "%T@ %p\n" | sort -n | cut -d' ' -f 2- | tail -n 1)" # bind=SUPER+SHIFT,e,exit, diff --git a/.config/hypr/config.d/option.conf b/.config/hypr/config.d/option.conf index 5db617638..454e11cf2 100644 --- a/.config/hypr/config.d/option.conf +++ b/.config/hypr/config.d/option.conf @@ -68,3 +68,7 @@ misc { disable_hyprland_logo = true disable_splash_rendering = true } + +# debug { +# disable_logs = false +# } diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 3f7af8925..6b8f775c0 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -105,10 +105,10 @@ local config = { cursor_blink_ease_out = "Constant", cursor_blink_rate = 0, -- https://github.com/wez/wezterm/issues/4972 - --enable_wayland = enable_wayland(), + enable_wayland = enable_wayland(), -- https://github.com/wez/wezterm/issues/1772 -- https://github.com/wez/wezterm/issues/5103 - enable_wayland = false, + -- enable_wayland = false, color_scheme = "nordfox", color_scheme_dirs = { os.getenv("HOME") .. "/.config/wezterm/colors/" }, hide_tab_bar_if_only_one_tab = false,