Inspired by this post. Made a pacman post transaction hook that uses svgcleaner whenever a package includes .svg files. /etc/pacman.d/hooks/svgcleaner.hook: [Trigger] Operation = Install Operation = Upgrade Type = File Target = usr//.svg
Yesterday I decided to start using pulseaudio instead of simple alsa. I am using the following (i3) keybindings for controlling the volume: bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +5%" bindsym XF86AudioLowerVolume exec --no-startup-id...
List all explicitly installed packages: pacman -Qqe|sort > explicit
List all base and base-devel packages that you don't want to remove: pacman -Qqg base base-devel|sort > base
Remove (2.) from (1.): comm -13 base explicit > tocheck
Open tocheck with an editor and start removing all the packages you need. I have 1455 packages on my system but with this I only have to check 372 packages.
Mark each package left in tocheck as a dependency.
code:
while read package
do
sudo pacman -D --asdeps $package
done < ./tocheck
(IMO) better way:
pacman -Qqe|sort > explicitbaseandbase-develpackages that you don't want to remove:pacman -Qqg base base-devel|sort > basecomm -13 base explicit > tochecktocheckwith an editor and start removing all the packages you need. I have 1455 packages on my system but with this I only have to check 372 packages.tocheckas a dependency.code:
finally, remove all "orphan" packages with:
sudo pacman -Rns $(pacman -Qdtq)If vim is your
$EDITORyou can quit with:cqinstead of:q.Open file
diffwith an editor (don'tcat). Contents:oops
i3 reads
Xft.dpifrom xresources. Font scalability relies on pango (see the default config). From there, applications deal with dpi by themselves, see https://wiki.archlinux.org/index.php/HiDPI/u/bag123boy