This commit is contained in:
parent
f8914b61d5
commit
b2671bb298
4 changed files with 2403 additions and 3 deletions
|
@ -176,7 +176,7 @@
|
|||
stateVersion = lib.mkDefault "24.05";
|
||||
|
||||
sessionVariables = {
|
||||
TERMINAL = "wezterm";
|
||||
TERMINAL = "ghostty";
|
||||
EDITOR = "hx";
|
||||
VISUAL = "hx";
|
||||
PAGER = "less";
|
||||
|
@ -261,6 +261,7 @@
|
|||
desktop = {
|
||||
imports = with homeManagerModules; [
|
||||
wezterm
|
||||
ghostty
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -1422,6 +1423,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
ghostty = {
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
ghostty
|
||||
];
|
||||
|
||||
home.file."${config.xdg.configHome}/ghostty" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink /etc/nix/flake/modules/home-manager/ghostty;
|
||||
};
|
||||
};
|
||||
|
||||
zellij = {lib, ...}: {
|
||||
# zellij does not support modern terminal keyboard input:
|
||||
# https://github.com/zellij-org/zellij/issues/735
|
||||
|
|
2384
modules/home-manager/ghostty/config
Normal file
2384
modules/home-manager/ghostty/config
Normal file
File diff suppressed because it is too large
Load diff
|
@ -221,7 +221,7 @@ spawn-at-startup "swayosd-server"
|
|||
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
||||
// This option will also fix border/focus ring drawing behind some semitransparent windows.
|
||||
// After enabling or disabling this, you need to restart the apps for this to take effect.
|
||||
prefer-no-csd
|
||||
// prefer-no-csd
|
||||
|
||||
// You can change the path where screenshots are saved.
|
||||
// A ~ at the front will be expanded to the home directory.
|
||||
|
@ -248,7 +248,7 @@ animations {
|
|||
|
||||
// Work around WezTerm's initial configure bug
|
||||
// by setting an empty default-column-width.
|
||||
window-rule {
|
||||
/-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.
|
||||
|
|
|
@ -15,6 +15,7 @@ config.hide_tab_bar_if_only_one_tab = true
|
|||
config.use_fancy_tab_bar = false
|
||||
config.tab_bar_at_bottom = true
|
||||
config.notification_handling = "SuppressFromFocusedTab"
|
||||
-- config.window_decorations = "RESIZE"
|
||||
|
||||
local a = wezterm.action
|
||||
local s = { domain = 'CurrentPaneDomain' }
|
||||
|
|
Loading…
Reference in a new issue