diff --git a/flake.lock b/flake.lock index 5ea34c6..ed0d950 100644 --- a/flake.lock +++ b/flake.lock @@ -190,11 +190,11 @@ }, "ghosttyModule": { "locked": { - "lastModified": 1695482156, - "narHash": "sha256-PFyViLT7eCi/jN6fZ9kFUZF4mYye9Mplm/SEwhUvCDM=", + "lastModified": 1702368251, + "narHash": "sha256-hafrDmzGplzm+vdIo+LkOjRfA4qRcy5JmpGGksnht5c=", "owner": "clo4", "repo": "ghostty-hm-module", - "rev": "3ccb4b02eb84316e7ccbf007a6e29495f7e6bee4", + "rev": "887e13a6e7acf5ffaab0119d96e476d84db90904", "type": "github" }, "original": { diff --git a/modules/ghostty/default.nix b/modules/ghostty/default.nix index 2377547..3784207 100644 --- a/modules/ghostty/default.nix +++ b/modules/ghostty/default.nix @@ -6,6 +6,8 @@ graphicalConfiguration { programs.ghostty = enabled { package = upkgs.ghostty; + clearDefaultKeybindings = true; + keybindings = (lib.mapAttrs' (name: value: lib.nameValuePair "ctrl+shift+${name}" value) { c = "copy_to_clipboard"; v = "paste_from_clipboard"; @@ -56,8 +58,6 @@ graphicalConfiguration { window-decoration = false; - keybind = "clear"; - config-file = [ (toString (pkgs.writeText "base16-config" ghosttyConfig)) ];