forked from ublue-os/bluefin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pull] main from ublue-os:main (#49)
* feat: Switch to much smaller nerd-fonts package (ublue-os#837) * feat: Switch to topgrade powered ublue-update (ublue-os#835) * feat(ci): Introduce a testing tag (ublue-os#838) * feat: Add default config for Pods flatpak (ublue-os#839) * fix: Correct skel.d error in installer * feat: add user-motd banner (ublue-os#840) * chore: doens't -> doesn't (ublue-os#841) * feat: Initial Container wireup (ublue-os#844) * fix(just): correct the arg order for AssembleList when making mlbox (ublue-os#845) * fix: quadlet locations (ublue-os#846) * feat: Add dynamic MOTD tips and image info (ublue-os#847) * fix: Correct motd syntax * fix: Correct skel path for dx files * fix: small adjustments to motd (ublue-os#848) Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> * feat: jazz up the motd (ublue-os#849) * fix: Add nerd fonts to all images * chore: Remove nerd font repo once it's no longer needed * fix(motd): minor text fix (ublue-os#851) * fix: add more tips * fix: update motd generation (ublue-os#853) Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> * feat(just): remove things we don't use from the justfile (ublue-os#852) --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: RJ Trujillo <rjtrujillo@protonmail.ch> Co-authored-by: Benjamin Sherman <benjamin@holyarmy.org> Co-authored-by: Justin Plock <jplock@users.noreply.github.com> Co-authored-by: m2Giles <69128853+m2Giles@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com>
- Loading branch information
1 parent
61f1fa1
commit d2635ec
Showing
20 changed files
with
170 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
if test "$(id -u)" -gt "0" && test -d "$HOME"; then | ||
if test ! -e "$HOME"/.config/autostart/bluefin-firstboot.desktop; then | ||
mkdir -p "$HOME"/.config/autostart | ||
cp -f /etc/skel.d/.config/autostart/bluefin-firstboot.desktop "$HOME"/.config/autostart | ||
cp -f /etc/skel/.config/autostart/bluefin-firstboot.desktop "$HOME"/.config/autostart | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
if test -d "$HOME"; then | ||
if test ! -e "$HOME"/.config/no-show-user-motd; then | ||
if test -x "/usr/libexec/ublue-motd"; then | ||
/usr/libexec/ublue-motd | ||
fi | ||
fi | ||
fi |
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
usr/etc/skel/.var/app/com.github.marhkb.Pods/config/pods/connections.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"32218213-d8cf-444e-84c7-7f67b9765acd": { | ||
"uuid": "32218213-d8cf-444e-84c7-7f67b9765acd", | ||
"name": "System", | ||
"url": "unix:///run/user/1000/podman/podman.sock", | ||
"rgb": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Unit] | ||
Description=Restart bluefin-cli.service to rebuild container | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=-/usr/bin/podman pull ghcr.io/ublue-os/bluefin-cli:latest | ||
ExecStart=-/usr/bin/systemctl --user restart bluefin-cli.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Unit] | ||
Description=Bluefin-CLI target for bluefin-cli quadlet | ||
|
||
[Install] | ||
WantedBy=default.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/bash | ||
escape() { | ||
sed 's/[&/\]/\\&/g' <<< "$1" | ||
} | ||
|
||
TIP_FILE=$(ls "/usr/share/ublue-os/motd/tips/"*".md" | shuf -n 1) | ||
if [[ -f "$TIP_FILE" ]]; then | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
IMAGE_NAME=$(jq -r '."image-name"' < $IMAGE_INFO) | ||
IMAGE_NAME_ESCAPED=$(escape "$IMAGE_NAME") | ||
IMAGE_TAG=$(jq -r '."image-tag"' < $IMAGE_INFO) | ||
IMAGE_TAG_ESCAPED=$(escape "$IMAGE_TAG") | ||
TIP=$(shuf -n 1 "$TIP_FILE") | ||
TIP_ESCAPED=$(escape "$TIP") | ||
sed -e "s/%IMAGE_NAME%/$IMAGE_NAME_ESCAPED/g" -e "s/%IMAGE_TAG%/$IMAGE_TAG_ESCAPED/g" -e "s/%TIP%/$TIP_ESCAPED/g" /usr/share/ublue-os/motd/bluefin.md | /usr/bin/glow -s auto - | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
if test ! -f "/run/user/${UID}/container-entry" && test -n "$PS1"; then | ||
touch "/run/user/${UID}/container-entry" | ||
exec /usr/bin/distrobox-enter bluefin-cli | ||
fi |
Oops, something went wrong.