ghostty macos config, fixed zellij keybinds

This commit is contained in:
Tyler Mayoff 2025-07-21 14:33:44 -04:00
parent c3569c5afc
commit 2b89c9565e
No known key found for this signature in database
GPG key ID: FAE8714D991290A9
3 changed files with 45 additions and 37 deletions

View file

@ -1,4 +1,8 @@
{pkgs, lib, ...}: let
{
pkgs,
lib,
...
}: let
catppuccin = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "ghostty";
@ -9,12 +13,18 @@ in {
programs.ghostty = {
enable = true;
package = if pkgs.stdenv.isDarwin then pkgs.unstable.ghostty-bin else pkgs.unstable.ghostty;
package =
if pkgs.stdenv.isDarwin
then pkgs.unstable.ghostty-bin
else pkgs.unstable.ghostty;
settings = {
theme = "dark:catppuccin-macchiato.conf,light:catppuccin-latte.conf";
macos-option-as-alt = "left";
keybind = [
"alt+left=unbind"
"alt+right=unbind"
"global:f12=toggle_quick_terminal"
];
};