-
Notifications
You must be signed in to change notification settings - Fork 0
/
s_distro_fedora
executable file
·67 lines (58 loc) · 2.43 KB
/
s_distro_fedora
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env bash
#
# Bin is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Bin is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Bin. If not, see <https://www.gnu.org/licenses/>.
#
# DEBUG OPTIONS
set -euo pipefail
DEPS=(sudo dnf)
s_checkdeps "${DEPS[@]}"
INSTALL='sudo dnf install -y'
# =================================
s_echo "Upgrading System"
sudo dnf upgrade -y
# =================================
s_echo "System Packages"
fedora=()
gnu=(bash gcc make wget screen parallel gawk parted) # info recutils
system=(git openssh unzip zip p7zip at usbutils lsof atool time entr tree bc curl strace ltrace cpio lzop rsync pv texinfo autoconf automake socat tmux rpmbuild)
shell=(bash-completion ShellCheck fish)
fonts=(dejavu-fonts jetbrains-mono-fonts liberation-fonts google-noto-emoji-fonts) # ttf-droid adobe-source-sans-fonts adobe-source-han-sans-otc-fonts
laptop=(acpi lm-sensors lshw libinput-tools)
wayland=(sway swaybg swaylock swayidle foot grim slurp wl-clipboard xorg-x11-server-Xwayland mako) #clipman
xorg=(xorg-x11-server-Xorg xorg-x11-xinit-session xclip xsel feh scrot network-manager-applet xautolock)
wm=(udiskie brightnessctl bluez blueman playerctl slock dmenu awesome zathura-cb zathura-pdf-mupdf zathura-djvu zathura-ps perl-File-MimeInfo)
laptop=(acpid lm_sensors) #tlp vainfo i965-va-driver libvdpau-va-gl1 libiw-dev hddtemp acpi-call dialog sysstat)
gtk=(atril cheese)
kde=(ktorrent kate falkon krita kdeconnectd kdevelop) # kdenlive
cli=(alacritty htop neofetch elinks libnotify ranger aria2)
user=(chromium firefox libreoffice gimp xdg-utils ImageMagick aspell aspell-pt aspell-en calibre pandoc inkscape discord telegram-desktop pavucontrol)
builds=(libX11-devel libXft-devel libXinerama-devel libXrandr-devel)
groups=("${arch[@]}"
"${gnu[@]}"
"${system[@]}"
"${shell[@]}"
"${wayland[@]}"
"${xorg[@]}"
"${sound[@]}"
"${user[@]}"
"${wm[@]}"
"${builds[@]}"
"${kde[@]}"
"${gtk[@]}"
"${cli[@]}"
"${laptop[@]}"
"${fonts[@]}")
for group in "${groups[@]}"; do
s_dolist "$INSTALL" "$group"
done