HASH 7680ec8ebc35
DATE 2026-07-11
SUBJECT ghostty: default terminal on ooksdesk, tame g502 scroll
FILES 2 CHANGED
HASH 7680ec8ebc35
DATE 2026-07-11
SUBJECT ghostty: default terminal on ooksdesk,
tame g502 scroll
FILES 2 CHANGED
┌─ hosts/ooksdesk/default.nix ───────────────────────────────────────────────┐
│ diff --git a/hosts/ooksdesk/default.nix b/hosts/ooksdesk/default.nix │
│ index 54f4502..fa202c0 100644 │
│ --- a/hosts/ooksdesk/default.nix │
│ +++ b/hosts/ooksdesk/default.nix │
│ @@ -29,7 +29,7 @@ │
│ profiles = ["creative" "virtualization" "gaming" "media" "communication" "p │
│ roductivity" "infra" "work" "ai"]; │
│ default = { │
│ browser = "zen"; │
│ - terminal = "foot"; │
│ + terminal = "ghostty"; │
│ }; │
│ programs = { │
│ firefox.enable = true; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ooksdesk/default.nix ─────────┐
│ diff --git a/hosts/ooksdesk/default.nix b/ho │
│ sts/ooksdesk/default.nix │
│ index 54f4502..fa202c0 100644 │
│ --- a/hosts/ooksdesk/default.nix │
│ +++ b/hosts/ooksdesk/default.nix │
│ @@ -29,7 +29,7 @@ │
│ profiles = ["creative" "virtualizatio │
│ n" "gaming" "media" "communication" "product │
│ ivity" "infra" "work" "ai"]; │
│ default = { │
│ browser = "zen"; │
│ - terminal = "foot"; │
│ + terminal = "ghostty"; │
│ }; │
│ programs = { │
│ firefox.enable = true; │
└──────────────────────────────────────────────┘
┌─ modules/home/common/terminal/ghostty.nix ─────────────────────────────────┐
│ diff --git a/modules/home/common/terminal/ghostty.nix b/modules/home/common/termin │
│ al/ghostty.nix │
│ index 81c632b..9ef8b52 100644 │
│ --- a/modules/home/common/terminal/ghostty.nix │
│ +++ b/modules/home/common/terminal/ghostty.nix │
│ @@ -42,11 +42,18 @@ in { │
│ # box drawing glyph thickness │
│ adjust-box-thickness = -10; # why where they so thick? │
│ │
│ + # ghostty >=1.2.3 counts each hi-res wheel event (G502: ~8/notch) as a │
│ + # full click, see ghostty-org/ghostty#9966. discrete = mouse wheel, │
│ + # precision left at default so touchpad hosts are unaffected │
│ + mouse-scroll-multiplier = "precision:1,discrete:0.15"; │
│ + │
│ # disable the decorations │
│ gtk-titlebar = false; │
│ window-decoration = false; │
│ resize-overlay = "never"; │
│ │
│ + gtk-single-instance = true; │
│ + │
│ # disable close terminal prompt │
│ confirm-close-surface = false; │
│ │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...e/common/terminal/ghostty.nix ───┐
│ diff --git a/modules/home/common/terminal/gh │
│ ostty.nix b/modules/home/common/terminal/gho │
│ stty.nix │
│ index 81c632b..9ef8b52 100644 │
│ --- a/modules/home/common/terminal/ghostty.n │
│ ix │
│ +++ b/modules/home/common/terminal/ghostty.n │
│ ix │
│ @@ -42,11 +42,18 @@ in { │
│ # box drawing glyph thickness │
│ adjust-box-thickness = -10; # why │
│ where they so thick? │
│ │
│ + # ghostty >=1.2.3 counts each hi- │
│ res wheel event (G502: ~8/notch) as a │
│ + # full click, see ghostty-org/gho │
│ stty#9966. discrete = mouse wheel, │
│ + # precision left at default so to │
│ uchpad hosts are unaffected │
│ + mouse-scroll-multiplier = "precis │
│ ion:1,discrete:0.15"; │
│ + │
│ # disable the decorations │
│ gtk-titlebar = false; │
│ window-decoration = false; │
│ resize-overlay = "never"; │
│ │
│ + gtk-single-instance = true; │
│ + │
│ # disable close terminal prompt │
│ confirm-close-surface = false; │
│ │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET