-
Notifications
You must be signed in to change notification settings - Fork 0
/
fedora-gnome.sh
97 lines (82 loc) · 1.75 KB
/
fedora-gnome.sh
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/usr/bin/env bash
./distro/fedora.sh
./desktop/gnome.sh
./common-pre.sh
DNF_INSTALL_PACKAGES=(
# GUI
## Work
discord
## GNOME Apps
gnome-tweaks
## Games
steam
# CLI
## Development
### C/C++
gcc
g++
### Java
java-21-openjdk-devel
### Python
python3-pip
python3-ipykernel
black
### Node.js
nodejs
## Utilities
neovim
htop
fastfetch
gh
distrobox
# GNOME extensions
## AppIndicator and KStatusNotifierItem Support Dependencies
libappindicator
## GSConnect Dependencies
openssl
nautilus-python
nautilus-extensions
## Vitals Dependencies
libgtop2-devel
lm_sensors
## Fonts
jetbrains-mono-fonts
)
echo -n "Install additional recommended packages? [y/N]: "
read answer
if [[ "$answer" == "y" ]] || [[ "$answer" == "Y" ]]; then
sudo dnf install "${DNF_INSTALL_PACKAGES[@]}"
fi
DNF_REMOVE_PACKAGES=(
firefox
gnome-shell-extension-background-logo
gnome-shell-extension-appindicator
)
echo -n "Remove unnecessary packages? [y/N]: "
read answer
if [[ "$answer" == "y" ]] || [[ "$answer" == "Y" ]]; then
sudo dnf remove "${DNF_REMOVE_PACKAGES[@]}"
fi
FLATPAK_INSTALL_PACKAGES=(
# Web Browsers
com.brave.Browser
# GNOME Apps
com.mattjakeman.ExtensionManager
# Work
org.onlyoffice.desktopeditors
md.obsidian.Obsidian
# Communication
us.zoom.Zoom
com.slack.Slack
org.signal.Signal
# Gaming
com.mojang.Minecraft
# Utilities
com.usebottles.bottles
)
echo -n "Install additional packages from Flathub? [y/N]: "
read answer
if [[ "$answer" == "y" ]] || [[ "$answer" == "Y" ]]; then
flatpak install flathub "${FLATPAK_INSTALL_PACKAGES[@]}"
fi
./common-post.sh