-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesktop-packages.sh
More file actions
executable file
·57 lines (50 loc) · 1.71 KB
/
desktop-packages.sh
File metadata and controls
executable file
·57 lines (50 loc) · 1.71 KB
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
#!/usr/bin/env bash
set ${SET_X:+-x} -eou pipefail
echo "Running desktop packages scripts..."
/ctx/desktop-1password.sh
# ublue staging and packages repos needed for misc packages provided by ublue
$DNF -y copr enable ublue-os/packages
$DNF -y copr enable ublue-os/staging
# VSCode because it's still better for a lot of things
tee /etc/yum.repos.d/vscode.repo <<'EOF'
[code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
EOF
# common packages installed to desktops
$DNF install --setopt=install_weak_deps=False -y \
code \
jetbrains-mono-fonts-all \
powerline-fonts \
rsms-inter-vf-fonts
if [[ ${IMAGE} =~ bazzite-gnome|bluefin ]]; then
$DNF install --setopt=install_weak_deps=False -y \
gnome-shell-extension-no-overview \
libgda \
libgda-sqlite
#elif [[ ${IMAGE} =~ bazzite|aurora ]]; then
fi
if [ -f /etc/yum.repos.d/terra.repo ]; then
# Disable metalink in favor of baseurl for reliability;
# disable repo_gpgcheck to avoid key fetch failures at build time
sed -i \
-e 's/^metalink=/#metalink=/' \
-e 's/^#baseurl=/baseurl=/' \
-e 's/^repo_gpgcheck=.*/repo_gpgcheck=0/' \
/etc/yum.repos.d/terra.repo
$DNF install --from-repo=terra --setopt=install_weak_deps=False -y \
ghostty \
ghostty-bash-completion \
ghostty-shell-integration \
ghostty-terminfo \
ghostty-vim \
zed
if [[ ${IMAGE} =~ bazzite-gnome|bluefin ]]; then
$DNF install --from-repo=terra --setopt=install_weak_deps=False -y \
ghostty-nautilus
#elif [[ ${IMAGE} =~ bazzite|aurora ]]; then
fi
fi