Skip to content

Commit 0484dac

Browse files
committed
feat: startup sound
1 parent 80fd8d2 commit 0484dac

File tree

7 files changed

+51
-24
lines changed

7 files changed

+51
-24
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cosign.key
22
cosign.private
33
/Containerfile
4+
*swp

README.md

+10-17
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
11
# blue95   [![bluebuild build badge](https://github.com/ledif/blue95/actions/workflows/build.yml/badge.svg)](https://github.com/ledif/blue95/actions/workflows/build.yml)
2-
A workstation for your childhood home's computer room.
32

4-
Fedora Atomic Desktop variant using XFCE and [Chicago95](https://github.com/grassmunk/Chicago95).
3+
> A workstation for your childhood home's computer room.
54
6-
## Installation
5+
Blue95 is a modern Fedora Atomic Desktop using the Xfce Desktop environment with the [Chicago95](https://github.com/grassmunk/Chicago95) theme.
6+
Its goal is to provide a modern and lightweight Linux experience with looks that remind us of a bygone era of computing.
77

8-
> **Warning**
9-
> [This is an experimental feature](https://www.fedoraproject.org/wiki/Changes/OstreeNativeContainerStable), try at your own discretion.
8+
## Installation
109

11-
To rebase an existing atomic Fedora installation to the latest build:
10+
The only way to install currently is to rebase from an existing atomic Fedora installation to the latest build.
11+
ISOs will be available at some point.
1212

1313
- First rebase to the unsigned image, to get the proper signing keys and policies installed:
1414
```
1515
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ledif/blue95:latest
1616
```
17-
- Reboot to complete the rebase:
18-
```
19-
systemctl reboot
20-
```
21-
- Then rebase to the signed image, like so:
17+
- Reboot and then rebase to the signed image, like so:
2218
```
2319
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ledif/blue95:latest
2420
```
25-
- Reboot again to complete the installation
26-
```
27-
systemctl reboot
28-
```
2921

30-
The `latest` tag will automatically point to the latest build. That build will still always use the Fedora version specified in `recipe.yml`, so you won't get accidentally updated to the next major version.
22+
The `latest` tag will automatically point to the latest build.
3123

3224

3325
## Verification
@@ -39,6 +31,7 @@ cosign verify --key cosign.pub ghcr.io/ledif/blue95
3931
```
4032

4133
## Shoutouts
42-
- @grassmunk and @dominichayesferen for [Chicago95](https://github.com/grassmunk/Chicago95) and [Chicagofier](https://github.com/dominichayesferen/Chicagofier) respectively
34+
- [@grassmunk](https://github.com/grassmunk/Chicago95) and [@dominichayesferen](https://github.com/grassmunk/Chicago95) for [Chicago95](https://github.com/grassmunk/Chicago95) and [Chicagofier](https://github.com/dominichayesferen/Chicagofier) respectively
4335
- [BlueBuild](https://github.com/blue-build), [Universal Blue](https://github.com/ublue-os) and Fedora
4436
- The XFCE team
37+

files/scripts/02-defaults.sh

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
set -xueo pipefail
44

55
ln -s /usr/bin/nvim /usr/bin/vim
6+
7+
8+
# Hide some apps
9+
rm /usr/share/applications/xfce4-settings-editor.desktop

files/scripts/03-ublue.sh

Whitespace-only changes.

files/scripts/20-chicago95.sh

+23-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22

33
set -xueo pipefail
44

5-
cd /usr/src
6-
git clone https://github.com/grassmunk/Chicago95.git chicago95
75

8-
cd chicago95
9-
cp -r Theme/Chicago95 /usr/share/themes/
6+
# Fetch
7+
cd /tmp
8+
wget https://github.com/grassmunk/Chicago95/archive/31a357c.zip
9+
unzip -q *.zip
10+
mv Chicago95* /usr/share/chicago95
11+
cd /usr/share/chicago95
12+
13+
# Themes
14+
mkdir -p /usr/share/blue95/themes
15+
cp -r Theme/Chicago95 /usr/share/blue95/themes
16+
ln -s /usr/share/blue95/themes/Chicago95 /usr/share/themes/Chicago95
17+
flatpak override --filesystem=/usr/share/blue95/themes/
18+
flatpak override --env=GTK_THEME=Chicago95
1019

1120
# Icons and cursors
1221
cp -r Icons/* Cursors/ /usr/share/icons/
@@ -16,9 +25,16 @@ cp Fonts/vga_font/LessPerfectDOSVGA.ttf /usr/share/fonts
1625
cp -r Fonts/bitmap/cronyx-cyrillic /usr/share/fonts
1726
fc-cache -fv
1827

19-
flatpak override --env=GTK_THEME=Chicago95
28+
# Sounds
29+
cp -Rf sounds/Chicago95 /usr/share/sounds/
30+
cp -f "Extras/Microsoft Windows 95 Startup Sound.ogg" /usr/share/sounds/Chicago95/startup.ogg
31+
32+
cp -f ./sounds/chicago95-startup.desktop /etc/skel/.config/autostart
33+
34+
# Backgrounds
35+
cp -Rf ./Extras/Backgrounds /usr/share/backChicago95Backgrounds
36+
2037

2138
# Plymouth
2239
cp -Rf Plymouth/Chicago95 /usr/share/plymouth/themes/
23-
update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/Chicago95/Chicago95.plymouth 100
24-
update-alternatives --set default.plymouth /usr/share/plymouth/themes/Chicago95/Chicago95.plymouth
40+
plymouth-set-default-theme Chicago95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Desktop Entry]
2+
Type=Application
3+
Name=Chicago95 startup sound
4+
Exec=play /usr/share/sounds/Chicago95/startup.ogg
5+
NoDisplay=true
6+
Terminal=false
7+
Categories=
8+
GenericName=startup sound

recipes/recipe.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ modules:
1414
- source: system
1515
destination: /
1616

17+
- type: rpm-ostree
18+
install:
19+
- plymouth-plugin-script
20+
1721
- type: script
1822
scripts:
1923
- 02-defaults.sh
@@ -25,6 +29,7 @@ modules:
2529
- neovim
2630
- just
2731
- btop
32+
- tmux
2833
- fastfetch
2934
remove:
3035
- firefox

0 commit comments

Comments
 (0)