This commit is contained in:
Mars 2024-10-30 11:59:39 -04:00
parent 15dd66b9da
commit c9621b6788
Signed by: pupbrained
GPG key ID: 874E22DF2F9DFCB5
10 changed files with 178 additions and 45 deletions

View file

@ -24,6 +24,7 @@
cargo-udeps
cmake
duf
emacs-lsp-booster
eternal-terminal
grc
huniq
@ -34,6 +35,7 @@
nix-output-monitor
nix-prefetch-scripts
nil
nixd
nodePackages_latest.nodejs
nurl
pinentry_mac
@ -55,6 +57,25 @@
xcp
xh
(emacs30-pgtk.overrideAttrs (old: let
sources = import ../../../_sources/generated.nix {inherit (pkgs) fetchurl fetchFromGitHub;};
getPatch = name: sources.${name}.src;
in {
patches =
(old.patches or [])
++ [
# Fix OS window role (needed for window managers like yabai)
(getPatch "fix-window-role")
# Use poll instead of select to get file descriptors
(getPatch "poll")
# Enable rounded window with no decoration
(getPatch "round-undecorated-frame")
# Make Emacs aware of OS-level light/dark mode
(getPatch "system-appearance")
];
}))
(python312.withPackages (pkgs:
with pkgs; [
epc

View file

@ -115,7 +115,7 @@ local config = {
cursor_blink_rate = 500,
default_cursor_style = 'BlinkingBar',
enable_scroll_bar = false,
font = wezterm.font('Maple Mono NF'),
font = wezterm.font('PragmataPro Mono Liga'),
font_size = 14,
front_end = 'WebGpu',
hide_tab_bar_if_only_one_tab = true,