mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
install/fedora.sh: split packages into sections
This commit is contained in:
parent
30f9c92250
commit
e5653ccc10
1 changed files with 45 additions and 14 deletions
|
|
@ -1,16 +1,47 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo dnf install -y \
|
||||
xorg-x11-xinit \
|
||||
i3 \
|
||||
lxappearance \
|
||||
rxvt-unicode \
|
||||
kitty \
|
||||
fish \
|
||||
ImageMagick \
|
||||
xautolock \
|
||||
xrandr \
|
||||
arandr \
|
||||
rofi \
|
||||
dejavu-fonts-all \
|
||||
fontawesome-fonts
|
||||
if [ $# -lt 1 ]; then
|
||||
SELECTED=(core i3)
|
||||
else
|
||||
SELECTED=$@
|
||||
fi
|
||||
|
||||
for sel in "${SELECTED[@]}"; do
|
||||
case $sel in
|
||||
"core")
|
||||
sudo dnf install -y \
|
||||
xsel \
|
||||
fish \
|
||||
kitty \
|
||||
tmux \
|
||||
xsel \
|
||||
fzf \
|
||||
fswatch
|
||||
;;
|
||||
"nvim")
|
||||
sudo dnf install -y \
|
||||
ripgrep \
|
||||
fswatch \
|
||||
fd-find \
|
||||
neovim
|
||||
;;
|
||||
"i3")
|
||||
sudo dnf install -y \
|
||||
xorg-x11-xinit \
|
||||
i3 \
|
||||
lxappearance \
|
||||
ImageMagick \
|
||||
xautolock \
|
||||
xrandr \
|
||||
arandr \
|
||||
rofi \
|
||||
dejavu-fonts-all \
|
||||
fontawesome-fonts
|
||||
;;
|
||||
*)
|
||||
echo "Unknown option: $sel"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue