copy full xorg and font configurations and reorganize

master
an 2019-11-07 07:20:22 -05:00
parent 414e67347c
commit 18ab6ab5ee
14 changed files with 90 additions and 41 deletions

View File

@ -19,14 +19,19 @@ while read f t
end < files
# copy font configs
find /etc/fonts/conf.d/*.conf > fonts/conflist
function copy-confd -a path out
find $path/*.conf > $out/conflist
for f in /etc/fonts/conf.d/*.conf
if not test -L "$f"
cp $f fonts
for f in $path/*.conf
if not test -L "$f"
cp $f $out
end
end
end
copy-confd /etc/fonts/conf.d system/fonts/
copy-confd /etc/X11/xorg.conf.d system/xorg/
# copy vim package names
tree -dL 3 ~/.vim/pack > vim/packages

5
files
View File

@ -1,12 +1,11 @@
fonts/fontconfig.sh /etc/profile.d/freetype2.sh
system/fonts/fontconfig.sh /etc/profile.d/fontconfig.sh
network /etc/systemd/network/*
network/icecast.xml /etc/icecast.xml
network/motsognir.conf /etc/motsognir.conf
network/mpd.conf ~/.config/mpd/mpd.conf
network/nginx.conf /etc/nginx/nginx.conf
system/61-xwiimote-custom.conf /etc/X11/xorg.conf.d/61-xwiimote-custom.conf
system/grub /etc/default/grub
system/progm.xkb /usr/share/X11/xkb/symbols/progm
system/sans.service /etc/systemd/system/sans.service
system/services/sans.service /etc/systemd/system/sans.service
themes ~/.slade3/text_styles/*
themes/userChrome.css ~/.mozilla/firefox/*/chrome/userChrome.css

View File

@ -1,6 +0,0 @@
Arch Linux uses presets for global font configs, so only font configs I've
written are stored here. The rest can be assumed to have been from Arch's
default packaged configurations.
I do not use per-user font configuration because it does not allow SDDM to use
the correct fonts. All of these configs come from </etc/fonts/conf.d/>.

View File

@ -1,19 +0,0 @@
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "xwiimote"
Option "MotionSource" "ir"
Option "MPNormalization" "On"
Option "MPCalibrationFactor" "5000"
Option "MPZScale" "-1"
Option "MapA" "left-button"
Option "MapIRA" "left-button"
Option "MapB" "right-button"
Option "MapIRB" "right-button"
Option "MapOne" "KEY_SPACE"
Option "MapIROne" "KEY_SPACE"
Option "MapTwo" "KEY_S"
Option "MapIRTwo" "KEY_S"
EndSection

View File

@ -2,9 +2,6 @@
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/10-sub-pixel-rgb.conf
/etc/fonts/conf.d/11-lcdfilter-default.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
/etc/fonts/conf.d/20-unhint-small-vera.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/30-win32-aliases.conf
@ -14,17 +11,11 @@
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/conf.d/56-ttf-twemoji-color.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-khmer.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/66-noto-mono.conf
/etc/fonts/conf.d/66-noto-sans.conf
/etc/fonts/conf.d/66-noto-serif.conf
/etc/fonts/conf.d/67-defaults.conf
/etc/fonts/conf.d/69-unifont.conf
/etc/fonts/conf.d/70-no-bitmaps.conf
/etc/fonts/conf.d/80-delicious.conf
/etc/fonts/conf.d/90-synthetic.conf

View File

@ -0,0 +1,7 @@
Section "ServerLayout"
Identifier "ServerLayout0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection

View File

@ -0,0 +1,5 @@
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSection

View File

@ -0,0 +1,20 @@
Section "InputClass"
Identifier "Nintendo Wii Remote Raw Input Blacklist"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "on"
EndSection
Section "InputClass"
Identifier "Nintendo Wii Remote Classic Controller Whitelist"
MatchProduct "Nintendo Wii Remote Classic Controller"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
EndSection
Section "InputClass"
Identifier "Nintendo Wii Remote Pro Controller Whitelist"
MatchProduct "Nintendo Wii Remote Pro Controller"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
EndSection

View File

@ -0,0 +1,23 @@
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "xwiimote"
EndSection
Section "InputClass"
Identifier "Nintendo Wii Remote Classic Controller Whitelist"
MatchProduct "Nintendo Wii Remote Classic Controller"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "Nintendo Wii Remote Pro Controller Whitelist"
MatchProduct "Nintendo Wii Remote Pro Controller"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "evdev"
EndSection

View File

@ -0,0 +1,19 @@
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "xwiimote"
Option "MotionSource" "ir"
Option "MPNormalization" "On"
Option "MPCalibrationFactor" "5000"
Option "MPZScale" "-1"
Option "MapA" "left-button"
Option "MapIRA" "left-button"
Option "MapB" "right-button"
Option "MapIRB" "right-button"
Option "MapOne" "KEY_SPACE"
Option "MapIROne" "KEY_SPACE"
Option "MapTwo" "KEY_S"
Option "MapIRTwo" "KEY_S"
EndSection

5
system/xorg/conflist Normal file
View File

@ -0,0 +1,5 @@
/etc/X11/xorg.conf.d/10-monitor.conf
/etc/X11/xorg.conf.d/20-amdgpu.conf
/etc/X11/xorg.conf.d/50-fix-xwiimote.conf
/etc/X11/xorg.conf.d/60-xwiimote.conf
/etc/X11/xorg.conf.d/61-xwiimote-custom.conf