-
Notifications
You must be signed in to change notification settings - Fork 0
/
opensuse-plasma.sh
97 lines (82 loc) · 1.76 KB
/
opensuse-plasma.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/opensuse.sh
./desktop/plasma.sh
./common-pre.sh
ZYPPER_REMOVE_PACKAGES=(
*Firefox*
*fcitx*
*Fcitx*
alee-fonts
nanum-fonts
nanum-gothic-coding-fonts
un-fonts
baekmuk-ttf-fonts
)
echo -n "Remove unnecessary packages? [y/N]: "
read answer
if [[ "$answer" == "y" ]] || [[ "$answer" == "Y" ]]; then
sudo zypper remove "${ZYPPER_REMOVE_PACKAGES[@]}"
fi
ZYPPER_INSTALL_PACKAGES=(
# GUI
## Games
steam
## Etc
proton-vpn
kvantum-manager
gnome-disk-utility
# CLI
## Development
### Java
java-21-openjdk-devel
### Python
python311-ipykernel
python311-black
### Node.js
nodejs-default
## Utilities
neovim
htop
fastfetch
gh
## Hangul
fcitx5-hangul
fcitx5-configtool-kcm6
## Fonts
google-noto-sans-cjk-fonts
google-noto-sans-kr-fonts
google-noto-serif-kr-fonts
google-noto-sans-kr-mono-fonts
jetbrains-mono-fonts
## Etc
kdeconnect-kde
starship
)
echo -n "Install additional recommended packages? [y/N]: "
read answer
if [[ "$answer" == "y" ]] || [[ "$answer" == "Y" ]]; then
sudo zypper in "${ZYPPER_INSTALL_PACKAGES[@]}"
fi
FLATPAK_INSTALL_PACKAGES=(
# Web Browsers
com.brave.Browser
# Work
org.onlyoffice.desktopeditors
md.obsidian.Obsidian
com.obsproject.Studio
# Communication
us.zoom.Zoom
com.slack.Slack
org.signal.Signal
com.discordapp.Discord
# Gaming
org.prismlauncher.PrismLauncher
# 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