From 88159eb1a3ca2b81ae07e0d8921b4fe986e33479 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 28 Jun 2025 21:24:16 -0700 Subject: Undo unnecessary ghostty patch and switch to epoll via config --- home/nipsy/common/optional/desktops/i3/default.nix | 1 + overlays/default.nix | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/home/nipsy/common/optional/desktops/i3/default.nix b/home/nipsy/common/optional/desktops/i3/default.nix index 0086aa8..00af3f2 100644 --- a/home/nipsy/common/optional/desktops/i3/default.nix +++ b/home/nipsy/common/optional/desktops/i3/default.nix @@ -3,6 +3,7 @@ home = { file = { ".config/ghostty/config".text = '' + async-backend = epoll background-opacity = 0.8 cursor-color = #ffffff font-family = "DejaVu Sans Mono" diff --git a/overlays/default.nix b/overlays/default.nix index 620c73c..1af07c3 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -22,13 +22,13 @@ # example = prev.example.overrideAttrs (oldAttrs: rec { # ... # }); - ghostty = prev.ghostty.overrideAttrs (_: { - preBuild = '' - shopt -s globstar - sed -i 's/^const xev = @import("xev");$/const xev = @import("xev").Epoll;/' **/*.zig - shopt -u globstar - ''; - }); + #ghostty = prev.ghostty.overrideAttrs (_: { + # preBuild = '' + # shopt -s globstar + # sed -i 's/^const xev = @import("xev");$/const xev = @import("xev").Epoll;/' **/*.zig + # shopt -u globstar + # ''; + #}); linux-firmware = prev.linux-firmware.overrideAttrs (old: rec { pname = "linux-firmware"; -- cgit v1.2.3