Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
✨ feat(*): install themes using a script instead of a package
Browse files Browse the repository at this point in the history
This is much easier and hassle-free, especially since, for example, Bibata Coursor does not build for F39 in the COPR repository
  • Loading branch information
c0deplayer committed Nov 3, 2023
1 parent aa51aea commit 0a9ace8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
2 changes: 0 additions & 2 deletions config/common_modules/rpm-ostree.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
type: rpm-ostree
repos:
# COPR for bibata-cursor-themes
- https://copr.fedorainfracloud.org/coprs/peterwu/rendezvous/repo/fedora-%OS_VERSION%/peterwu-rendezvous.repo
# VSCode repository from bluefin
- https://raw.githubusercontent.com/ublue-os/bluefin/main/dx/etc/yum.repos.d/vscode.repo
# Repo for Razer Hardware
Expand Down
1 change: 1 addition & 0 deletions config/common_modules/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ scripts:
- signing.sh
- container-tools.sh
- udev-rules.sh
- systemwide_themes.sh
18 changes: 18 additions & 0 deletions config/scripts/systemwide_themes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

set -oue pipefail

FILES_ROOT="/tmp/config/files"

wget -O "${FILES_ROOT}/Bibata-Modern-Ice.tar.xz" https://github.com/ful1e5/Bibata_Cursor/releases/latest/download/Bibata-Modern-Ice.tar.xz
wget -O "${FILES_ROOT}/Bibata-Modern-Classic.tar.xz" https://github.com/ful1e5/Bibata_Cursor/releases/latest/download/Bibata-Modern-Classic.tar.xz

cd "${FILES_ROOT}" || exit

for f in *.tar.xz; do
echo "Unpacking ${f}"
tar -xf "${f}"
done

cp -r Bibata-Modern-Classic "/usr/share/icons/"
cp -r Bibata-Modern-Ice "/usr/share/icons/"
5 changes: 0 additions & 5 deletions config/silverflow-nvidia-38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ is_stable_version: true
modules:
- from-file: common_modules/files.yml
- from-file: common_modules/rpm-ostree.yml

- type: rpm-ostree
install:
- bibata-cursor-themes

- from-file: common_modules/bling.yml
- from-file: common_modules/fonts.yml

Expand Down

0 comments on commit 0a9ace8

Please sign in to comment.