mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-10-30 09:20:30 +00:00
Remove more unneeded and old files
This commit is contained in:
parent
67e7fb2690
commit
7d18622a3b
73
deploy.sh
73
deploy.sh
@ -1,73 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# This is a script that should be ran once
|
||||
# on a new system. Dotdrop will take it from there.
|
||||
# It is higly tailored to my own needs and
|
||||
# you (the random person on the internet) should probably not run it
|
||||
|
||||
export DOTREPO="$HOME/git/dotfiles"
|
||||
DISTRO="$(lsb_release -ds | sed 's/"//g')"
|
||||
|
||||
PKGLIST="python-ruamel-yaml python-magic-git python-jinja python-docopt"
|
||||
|
||||
if [ -d $DOTREPO ]; then
|
||||
print "Dotfile repository already exists, exiting..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$DISTRO" -ne "Arch Linux" ]; then
|
||||
print "Not running on Arch Linux"
|
||||
print "Other distros not supported, exiting..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# install neovim if not installed
|
||||
if ! [ -x "$(command -v nvim)" ]; then
|
||||
read -p "Install neovim? [Y/n] " -i "y" INVIM
|
||||
if [ "$(tr '[:upper:]' ':lower:' $INVIM)" -eq "y" ]; then
|
||||
print "Installing neovim"
|
||||
PKGLIST=$PKGLIST + " neovim neovim-dropin"
|
||||
fi
|
||||
fi
|
||||
|
||||
# install zsh if not installed
|
||||
if ! [ -x "$(command -v zsh)" ]; then
|
||||
read -p "Install zsh? [Y/n] " -i "y" IZSH
|
||||
if [ "$(tr '[:upper:]' ':lower:' $INVIM)" -eq "y" ]; then
|
||||
print "Installing zsh"
|
||||
PKGLIST=$PKGLIST + " zsh"
|
||||
fi
|
||||
fi
|
||||
|
||||
# install paru if not installed
|
||||
if ! [ -x "$(command -v paru)" ]; then
|
||||
read -p "Install paru? [Y/n] " -i "y" IYAY
|
||||
if [ "$(tr '[:upper:]' ':lower:' $IYAY)" -eq "y" ]; then
|
||||
print "Installing paru"
|
||||
sudo pacman -Syu --needed --noconfirm git wget base-devel
|
||||
cd
|
||||
wget https://aur.archlinux.org/cgit/aur.git/snapshot/paru-bin.tar.gz
|
||||
tar xfv paru-bin.tar.gz
|
||||
cd paru-bin
|
||||
makepkg -si --noconfirm
|
||||
cd ..
|
||||
rm -r paru*
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $PKGLIST -ne "" ]
|
||||
if ! [ -x "$(command -v paru)" ]; then
|
||||
print "Can't continue without paru"
|
||||
|
||||
paru -S $PKGLIST
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir ~/git
|
||||
git clone https://git.korhonen.cc/ReekyMarko/dotfiles.git $DOTREPO
|
||||
cd ~/git/dotfiles
|
||||
git submodule init
|
||||
git submodule update
|
||||
$DOTREPO/dotdrop.sh --cfg=$DOTREPO/config-home.yaml install
|
||||
chsh -s /bin/zsh
|
||||
zsh -c "source ~/.zshrc; sdotdrop install"
|
@ -1,12 +0,0 @@
|
||||
#/bin/bash
|
||||
# vim:ft=sh
|
||||
|
||||
sudo efibootmgr \
|
||||
--disk /dev/sda \
|
||||
--part 1 \
|
||||
--create \
|
||||
--quiet \
|
||||
--remove-dups \
|
||||
--label "Arch Linux" \
|
||||
--loader /vmlinuz-linux \
|
||||
--unicode 'initrd=\amd-ucode.img initrd=\initramfs-linux.img cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=10530935 rw quiet splash vga=current idle=nomwait amdgpu.ppfeaturemask=0xffffffff'
|
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
# vim:ft=sh
|
||||
|
||||
sudo efibootmgr \
|
||||
--disk /dev/sda \
|
||||
--part 1 \
|
||||
--create \
|
||||
--quiet \
|
||||
--remove-dups \
|
||||
--label "Arch Linux LTS" \
|
||||
--loader /vmlinuz-linux-lts \
|
||||
--unicode 'initrd=\amd-ucode.img initrd=\initramfs-linux-lts.img cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=10530935 rw quiet splash vga=current idle=nomwait amdgpu.ppfeaturemask=0xffffffff'
|
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# remove old entries
|
||||
for bootentry in $(efibootmgr | head -n 3 | tail -n 1 | cut -d' ' -f2- | sed 's/,/\n/g'); do
|
||||
sudo efibootmgr -qBb $bootentry
|
||||
done
|
||||
|
||||
# add all entries back
|
||||
for bootscript in *.efi; do
|
||||
./$bootscript
|
||||
done
|
||||
|
||||
# set bootorder
|
||||
sudo efibootmgr --bootorder 0000,0001
|
187
pkglist
187
pkglist
@ -1,187 +0,0 @@
|
||||
aic94xx-firmware
|
||||
alacritty
|
||||
alacritty-terminfo
|
||||
alsa-utils
|
||||
amd-ucode
|
||||
asciiquarium
|
||||
autoconf
|
||||
automake
|
||||
bash
|
||||
bash-language-server
|
||||
binutils
|
||||
bison
|
||||
blueberry
|
||||
bluez-utils
|
||||
bzip2
|
||||
ccid
|
||||
chromium
|
||||
clipman
|
||||
clutter
|
||||
coreutils
|
||||
cpupower
|
||||
cryptsetup
|
||||
device-mapper
|
||||
dhcpcd
|
||||
diffutils
|
||||
discord
|
||||
dmenu
|
||||
dolphin
|
||||
drill-search-cli
|
||||
e2fsprogs
|
||||
evolution
|
||||
evolution-decsync
|
||||
fakeroot
|
||||
ffmpeg-amd-full-git
|
||||
file
|
||||
file-roller
|
||||
filesystem
|
||||
findutils
|
||||
firefox-nightly
|
||||
fmui-git
|
||||
fzf
|
||||
gawk
|
||||
gcc
|
||||
gcc-libs
|
||||
gettext
|
||||
git
|
||||
glibc
|
||||
gnome-keyring
|
||||
gotop-bin
|
||||
grep
|
||||
grim
|
||||
gzip
|
||||
imv
|
||||
inetutils
|
||||
iproute2
|
||||
iputils
|
||||
iwd
|
||||
jfsutils
|
||||
kdeconnect
|
||||
kdenlive
|
||||
kodi-wayland
|
||||
less
|
||||
lib32-libva-mesa-driver
|
||||
lib32-mesa
|
||||
lib32-vulkan-radeon
|
||||
libva-mesa-driver
|
||||
licenses
|
||||
light
|
||||
linux
|
||||
linux-firmware
|
||||
locale-en_xx
|
||||
logrotate
|
||||
ls_extended
|
||||
lvm2
|
||||
lxappearance
|
||||
make
|
||||
mako
|
||||
man-db
|
||||
man-pages
|
||||
matcha-gtk-theme
|
||||
mdadm
|
||||
mimeo
|
||||
mkinitcpio-welcomemessage
|
||||
mpd
|
||||
mpdris2-py3-git
|
||||
mpdscribble
|
||||
mpv-acestream
|
||||
mpv-amd-full-git
|
||||
mpv-mpris
|
||||
mumble
|
||||
nano
|
||||
nautilus
|
||||
ncmpcpp
|
||||
neofetch
|
||||
neovim
|
||||
netctl
|
||||
nodejs
|
||||
noto-fonts
|
||||
numix-icon-theme-git
|
||||
opensc
|
||||
openssh
|
||||
otf-overpass
|
||||
pacman
|
||||
pacserve
|
||||
pass-otp
|
||||
pass-wl-clipboard
|
||||
passdmenu
|
||||
patch
|
||||
pavucontrol
|
||||
pciutils
|
||||
perl
|
||||
pkgconf
|
||||
playerctl
|
||||
polkit-gnome
|
||||
powertop
|
||||
procps-ng
|
||||
psmisc
|
||||
pulseaudio-ctl
|
||||
python-docopt
|
||||
python-jinja
|
||||
python-ruamel-yaml
|
||||
qt5-styleplugins
|
||||
qt5-wayland
|
||||
qt5ct
|
||||
ranger
|
||||
redshift-wlr-gamma-control
|
||||
reflector
|
||||
reiserfsprogs
|
||||
ripgrep
|
||||
rofi-pass
|
||||
rtv
|
||||
ryzenadj-git
|
||||
s-nail
|
||||
sed
|
||||
shadow
|
||||
sl
|
||||
slurp
|
||||
socat
|
||||
steam
|
||||
steam-native-runtime
|
||||
sudo
|
||||
sway
|
||||
swaybg
|
||||
swayidle
|
||||
swaylock-effects-git
|
||||
syncthing
|
||||
syncthing-gtk
|
||||
sysfsutils
|
||||
systemd-boot-pacman-hook
|
||||
systemd-resolvconf
|
||||
systemd-sysvcompat
|
||||
tar
|
||||
telegram-desktop
|
||||
texinfo
|
||||
thefuck
|
||||
tlp
|
||||
tmux
|
||||
trash-cli
|
||||
ttf-dejavu
|
||||
ttf-font-awesome
|
||||
ttf-mac-fonts
|
||||
ttf-nerd-fonts-hack-complete-git
|
||||
usbutils
|
||||
util-linux
|
||||
vi
|
||||
vulkan-radeon
|
||||
w3m
|
||||
waybar-git
|
||||
wayland
|
||||
wd719x-firmware
|
||||
wf-recorder-git
|
||||
wget
|
||||
which
|
||||
wl-clipboard-git
|
||||
wl-clipboard-x11
|
||||
xcursor-breeze
|
||||
xdg-utils-mimeo
|
||||
xf86-video-amdgpu
|
||||
xfsprogs
|
||||
xorg-server-xwayland
|
||||
xorg-xeyes
|
||||
yarn
|
||||
yay-bin
|
||||
ydotool-git
|
||||
youtube-dl
|
||||
zathura-pdf-mupdf
|
||||
zsh
|
@ -1,2 +1,3 @@
|
||||
I don't use systemd-boot on my main system anymore but this is here for reference
|
||||
when I'm setting up new systems.
|
||||
= Notice
|
||||
I don't use systemd-boot on my main system anymore but this is here for
|
||||
reference when I'm setting up new systems.
|
Loading…
Reference in New Issue
Block a user