aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-09-24 10:53:55 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-09-24 10:54:11 +0200
commit43de6e2d54cae0a9d54598e9f0fac6e86afb532d (patch)
tree4668119d376eeca46b4e5d4afbb3df2ca94fb8ab /modules
parent6b199865d3b7ff72fa5ab8701679b005df6e84a5 (diff)
downloaddotfiles-43de6e2d54cae0a9d54598e9f0fac6e86afb532d.tar.gz
dotfiles-43de6e2d54cae0a9d54598e9f0fac6e86afb532d.zip
fix(home): let left Option compose æøå in Ghostty
Ghostty defaults macos-option-as-alt to true on U.S. layouts.
Diffstat (limited to 'modules')
-rw-r--r--modules/home/ghostty.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/home/ghostty.nix b/modules/home/ghostty.nix
index 77e30d3..49025d6 100644
--- a/modules/home/ghostty.nix
+++ b/modules/home/ghostty.nix
@@ -4,6 +4,10 @@
home.file.".config/ghostty/config".text = ''
theme = tokyonight-storm
+ # U.S. layout makes Ghostty treat Option as Alt by default, which kills
+ # the compose sequences for ae/oe/aa. Left Option composes, right is Alt.
+ macos-option-as-alt = right
+
window-padding-x = 12
window-padding-y = 12
window-decoration = true