forked from extern/nix-config
Add global configuration for pacman and fonts
This commit is contained in:
parent
60497321de
commit
6ae880bc07
@ -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 <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
##################################################################################
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user