From 6ae880bc07a810b269b8776c3233b52135f150fc Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 27 Oct 2017 21:45:44 -0400 Subject: [PATCH] Add global configuration for pacman and fonts --- install/system.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/install/system.sh b/install/system.sh index dbd89fe..f03c582 100644 --- a/install/system.sh +++ b/install/system.sh @@ -1,5 +1,44 @@ +################################################################################## +# +# New Start: A modern Arch workflow built with an emphasis on functionality. +# Copyright (C) 2017 Donovan Glover +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################## + SYSTEMD="/etc/systemd/system.conf" +PACMAN="/etc/pacman.conf" +FONTS="/etc/fonts" # Change the default timeout from 90s to 10s, preventing the system from hanging at shutdown echo "DefaultTimeoutStartSec=10s" >> $SYSTEMD echo "DefaultTimeoutStopSec=10s" >> $SYSTEMD + +# Enable colors in pacman (also enables color in pacaur) by uncommenting the Color line +sed -i '/Color/s/^#//g' $PACMAN + +######################################################################### +# Global font settings: we have to soft link the settings we want here +######################################################################### + +# Disable embedded bitmaps for all fonts +ln -s $FONTS/conf.avail/70-no-bitmaps.conf $FONTS/conf.d + +# Enable sub-pixel RGB rendering +ln -s $FONTS/conf.avail/10-sub-pixel-rgb.conf $FONTS/conf.d + +# Enable the LCD filter (reduces color fringing) +ln -s $FONTS/conf.avail/11-lcdfilter-default.conf $FONTS/conf.d +