diff options
-rw-r--r-- | README.md | 8 | ||||
-rwxr-xr-x | backup | 2 | ||||
-rw-r--r-- | packages.txt | 107 | ||||
-rwxr-xr-x | sync | 6 |
4 files changed, 118 insertions, 5 deletions
@@ -1,7 +1,7 @@ # .files -These are my personal dotfiles of my main arch-based machine. You probably shouldn't use these, as the configs are **very** specific to my PC usage. +These are my personal dotfiles of my main PC and all my other devices. You probably shouldn't use these, as the configs are **very** specific to my PC usage. ## My routine for new machines -* Clone this repository and move all its files into your `$HOME` (including `.git`) -* Install the packages: `for x in $(cat packages.txt); do yay -S $x; done` -* `git pull` in `$HOME` to update +1. Clone this repository and move all its files into your `$HOME` (including `.git`) +2. Execute `./sync` +3. Repeat step 2 every once in a while @@ -27,6 +27,6 @@ cp "$HOME"/.bash_profile "$HOME"/.bashrc "$HOME"/.xinitrc "$HOME"/.Xresources . cp -r "$HOME"/.lein . # Installed programs -pacman -Qet | awk '{print $1}' > packages.txt +pacman -Qqe > packages.txt git status diff --git a/packages.txt b/packages.txt index 6fb4986..3d3c2d2 100644 --- a/packages.txt +++ b/packages.txt @@ -1,3 +1,4 @@ +adobe-source-code-pro-fonts adobe-source-han-sans-cn-fonts adobe-source-han-sans-hk-fonts adobe-source-han-sans-jp-fonts @@ -13,16 +14,28 @@ adobe-source-sans-pro-fonts adobe-source-serif-pro-fonts alsa-firmware alsa-oss +alsa-plugins alsa-utils +android-tools +antiword apulse asciinema +at-spi2-atk audacity +autoconf +automake base +bash-completion +bc bdf-spleen bdf2c +bind-tools +binutils bison +bridge-utils ccache cdrtools +celt cheese chromium-widevine clang @@ -31,12 +44,16 @@ cmake cowsay cpio ctags +cups cups-pdf cura dhcpcd discord +dmidecode downgrade +dunst dvgrab +efibootmgr exercism-bin fd firefox @@ -44,8 +61,19 @@ flex font-bh-ttf fuse3 fzf +gcc +gdb geckodriver +git +gnu-free-fonts +gnu-netcat +groff grub +gst-libav +gst-plugins-bad +gst-plugins-base +gst-plugins-good +gst-plugins-ugly gtk-theme-arc-gruvbox-git gutenprint hdparm @@ -57,42 +85,82 @@ jdownloader2 jitsi-meet-desktop-bin joker-bin jp2a +kbfs +keepassxc +keybase keybase-gui +leiningen lib32-dbus-glib +lib32-gcc-libs +lib32-glibc lib32-gtk2 lib32-libxt +libffado +libisoburn libnewt +libnotify libressl +libtool +libva-mesa-driver +libva-vdpau-driver libvirt +libxft-bgra +linux-firmware +linux-zen linux-zen-docs +linux-zen-headers +llvm lshw lsscsi +m4 maim +make +man-db man-pages maven mediainfo +mesa-vdpau minecraft +mono mono-addins mono-tools mpc mpv +mtools nasm neovim +nerd-fonts-dejavu-complete nerd-fonts-hack nerd-fonts-source-code-pro +net-tools nmap +nodejs +noto-fonts-emoji +npm +nss-mdns +ntfs-3g ntp nyancat obs-studio odt2txt openssl-1.0 +pacman-contrib pandoc +patch patchutils pavucontrol perl-proc-processtable +phantomjs-bin php pkgconf +pulseaudio +pulseaudio-alsa +python-pip +python2 python2-libusb1 +python2-pip +qemu +qemu-arch-extra qutebrowser rclone read-edid @@ -108,74 +176,113 @@ shfmt signal-desktop sonic-pi speedtest-cli +spotify spotifywm-git +strace stress +sudo sxiv telegram-desktop +texinfo +texlive-bin +texlive-core the_silver_searcher thunar +thunderbird thunderbird-i18n-de thunderbird-i18n-en-us tmate transmission-gtk +tree +ttf-dejavu ttf-inconsolata ttf-iosevka-term ttf-joypixels ttf-linux-libertine ttf-mac-fonts +ttf-ms-fonts ufw uncrustify unicode-emoji unrar unrtf +unzip +usbutils v4l2loopback-dkms vi +vim +virtualbox +virtualbox-ext-vnc virtualbox-guest-utils vitetris +vlc +webkit2gtk +wget whatsapp-nativefier-dark +which windows2usb-git +wmctrl wmname wtf xbanish +xclip xf86-video-amdgpu xf86-video-vesa +xorg-bdftopcf xorg-docs +xorg-font-util xorg-fonts-100dpi xorg-fonts-75dpi +xorg-fonts-encodings xorg-iceauth xorg-luit +xorg-mkfontscale xorg-server +xorg-server-common xorg-server-devel xorg-server-xephyr xorg-server-xnest xorg-server-xvfb xorg-server-xwayland xorg-sessreg +xorg-setxkbmap xorg-smproxy xorg-x11perf +xorg-xauth xorg-xbacklight xorg-xcmsdb xorg-xcursorgen +xorg-xdpyinfo xorg-xdriinfo xorg-xev xorg-xgamma xorg-xhost xorg-xinit xorg-xinput +xorg-xkbcomp xorg-xkbevd xorg-xkbutils xorg-xkill xorg-xlsatoms xorg-xlsclients +xorg-xmodmap xorg-xpr +xorg-xprop +xorg-xrandr +xorg-xrdb xorg-xrefresh +xorg-xset xorg-xsetroot xorg-xvidtune xorg-xvinfo xorg-xwd xorg-xwininfo xorg-xwud +xsel yapf yay +youtube-dl +zathura +zathura-pdf-mupdf zip zoom @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# The most awesome sync script! :) + +git pull || exit 1 +comm -23 <(sort packages.txt) <(pacman -Qqe | sort) | yay -S --needed - +for d in ./.repos/*/ ; do (cd "$d" && sudo make install); done || exit 1 |