From e364af4c2a94c9efba9e189dc683796b69128ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sun, 1 Jun 2025 21:04:26 +0300 Subject: [PATCH] Fix contents of alacritty and xresources --- personal/programs/embedded/alacritty.nix | 24 +++++++++++++---------- personal/programs/embedded/xresources.nix | 24 ++++++++++------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/personal/programs/embedded/alacritty.nix b/personal/programs/embedded/alacritty.nix index 7b734c9..68e92e2 100644 --- a/personal/programs/embedded/alacritty.nix +++ b/personal/programs/embedded/alacritty.nix @@ -1,13 +1,17 @@ { pkgs, ... }: -pkgs.writeText "Xresources" '' - Xft.dpi: 96 - Xft.antialias: true - Xft.hinting: true - Xft.rgba: rgb - Xft.autohint: false - Xft.hintstyle: hintslight - Xft.lcdfilter: lcddefault +pkgs.writeText "alacritty-conf" '' + [font] + size = 13 - Xcursor.theme: xcursor-breeze - Xcursor.size: 0 + [cursor] + style.shape = "Beam" + style.blinking = "On" + blink_timeout = 0 + unfocused_hollow = false + + [keyboard] + bindings = [ + {key = "+", mods = "Control | Shift", action = "ResetFontSize"}, + {key = "Enter", mods = "Alt | Shift", action = "SpawnNewInstance"}, + ] '' diff --git a/personal/programs/embedded/xresources.nix b/personal/programs/embedded/xresources.nix index 68e92e2..7b734c9 100644 --- a/personal/programs/embedded/xresources.nix +++ b/personal/programs/embedded/xresources.nix @@ -1,17 +1,13 @@ { pkgs, ... }: -pkgs.writeText "alacritty-conf" '' - [font] - size = 13 +pkgs.writeText "Xresources" '' + Xft.dpi: 96 + Xft.antialias: true + Xft.hinting: true + Xft.rgba: rgb + Xft.autohint: false + Xft.hintstyle: hintslight + Xft.lcdfilter: lcddefault - [cursor] - style.shape = "Beam" - style.blinking = "On" - blink_timeout = 0 - unfocused_hollow = false - - [keyboard] - bindings = [ - {key = "+", mods = "Control | Shift", action = "ResetFontSize"}, - {key = "Enter", mods = "Alt | Shift", action = "SpawnNewInstance"}, - ] + Xcursor.theme: xcursor-breeze + Xcursor.size: 0 ''