feat: wezterm

This commit is contained in:
WinterEkisha committed 2026-11-18 09:43:01 -08:00
1 parent ea8fbe243c
commit 56e7ad6de9
4 files changed
+32 -10

No files matched your search

+1 -10
View File
@@ -340,15 +340,6 @@ window-rule {
clip-to-geometry true
}
// Work around WezTerm's initial configure bug
// by setting an empty default-column-width.
window-rule {
// This regular expression is intentionally made as specific as possible,
// since this is the default config, and we want no false positives.
// You can get away with just app-id="wezterm" if you want.
match app-id=r#"^org\.wezfurlong\.wezterm$"#
default-column-width {}
}
// Open the Firefox picture-in-picture player as floating by default.
window-rule {
@@ -407,7 +398,7 @@ binds {
Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
Super+Alt+Ctrl+L hotkey-overlay-title="Lock N turn off screen" { spawn "lockNTurnOffScreen"; }
+3
View File
@@ -7,6 +7,9 @@
pkgs,
...
}: {
imports = [
./wezterm/wezterm.nix
];
home.packages = (
(with pkgs; [
# --- Core Wayland plumbing (Stable 26.05) ---
@@ -0,0 +1,14 @@
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- Launch fish directly instead of your system login shell
config.default_prog = { 'fish', '-l' }
-- Appearance & Tab Bar
config.window_background_opacity = 0.60
config.wayland_window_background_blur = true
config.hide_tab_bar_if_only_one_tab = true
config.font_size = 15.0
return config
@@ -0,0 +1,14 @@
{
inputs,
pkgs,
...
}:{
xdg.configFile."wezterm/wezterm.lua".source = ./weztermlua;
programs.wezterm = {
enable = true;
package = pkgs.unstablePkgs.wezterm;
};
home.packages = with pkgs; [
lua
];
}