Skip to content

Commit b226637

Browse files
authored
Update kiba.yml
1 parent 9de424e commit b226637

1 file changed

Lines changed: 54 additions & 26 deletions

File tree

.github/workflows/kiba.yml

Lines changed: 54 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
export DEBIAN_FRONTEND=noninteractive
2121
2222
# ── Install live-build and build deps ─────────────────────────────────
23-
apt-get update && apt-get install -y \
23+
apt update && apt install -y \
2424
live-build debootstrap xorriso git squashfs-tools \
2525
grub-efi-amd64-bin grub-pc-bin mtools dosfstools \
2626
qemu-system-x86 \
@@ -143,7 +143,7 @@ jobs:
143143
fi
144144
145145
# Install
146-
apt-get install -y ./*.deb || {
146+
apt install -y ./*.deb || {
147147
echo "WARNING: CachyOS Kernel install failed, falling back to stock"
148148
cd / && rm -rf /tmp/cachyos
149149
exit 0
@@ -154,8 +154,8 @@ jobs:
154154
155155
# Remove stock kernel meta-packages to keep it minimal
156156
# We don't use wildcards to avoid purging the CachyOS kernel we just installed
157-
apt-get purge -y linux-image-amd64 linux-headers-amd64
158-
apt-get autoremove -y
157+
apt purge -y linux-image-amd64 linux-headers-amd64
158+
apt autoremove -y
159159
160160
echo "=== CachyOS Kernel installed ==="
161161
CACHY_HOOK
@@ -624,7 +624,7 @@ jobs:
624624
alias edit='${EDITOR:-micro}'
625625
alias please='sudo'
626626
alias cls='clear'
627-
alias path='echo -e "${PATH//:/\\n}"'
627+
alias path='print -l $path'
628628
629629
# ── Modern Aliases ──────────────────────────────────────
630630
if command -v eza >/dev/null 2>&1; then
@@ -750,12 +750,18 @@ jobs:
750750
cat > /usr/share/plasma/look-and-feel/com.kibaos.watchdogs.desktop/contents/splash/Splash.qml << 'WATCHSPLASH'
751751
import QtQuick 2.15
752752
Rectangle {
753-
color: "#000000"
753+
color: "#282a36"
754754
anchors.fill: parent
755755
Text {
756+
id: welcomeText
756757
anchors.centerIn: parent
757758
text: "KibaOS | Switch to simple"
758759
font.pixelSize: 48; font.bold: true; color: "#bd93f9"
760+
opacity: 0
761+
SequentialAnimation {
762+
running: true
763+
NumberAnimation { target: welcomeText; property: "opacity"; from: 0; to: 1; duration: 1000 }
764+
}
759765
}
760766
}
761767
WATCHSPLASH
@@ -1223,25 +1229,45 @@ jobs:
12231229
cat > /usr/local/bin/kiba-welcome << 'WELCOME'
12241230
#!/bin/bash
12251231
# Functional welcome menu for KibaOS
1226-
CHOICE=$(zenity --list --title="Welcome to KibaOS" \
1227-
--text="Welcome to KibaOS! What would you like to do?" \
1228-
--column="Action" --column="Description" \
1229-
"Install KibaOS" "Install the system permanently to your disk" \
1230-
"Web Browser" "Browse the internet" \
1231-
"Software Center" "Discover and install new applications" \
1232-
--width=450 --height=300 2>/dev/null)
1233-
1234-
case "$CHOICE" in
1235-
"Install KibaOS")
1236-
sudo calamares &
1237-
;;
1238-
"Web Browser")
1239-
chromium &
1240-
;;
1241-
"Software Center")
1242-
plasma-discover &
1243-
;;
1244-
esac
1232+
while true; do
1233+
CHOICE=$(zenity --list --title="Welcome to KibaOS" \
1234+
--window-icon="/usr/share/kibaos/logo.png" \
1235+
--text="Welcome to KibaOS! What would you like to do?" \
1236+
--column="Action" --column="Description" \
1237+
"Install KibaOS" "Install the system permanently to your disk" \
1238+
"Web Browser" "Browse the internet" \
1239+
"Software Center" "Discover and install new applications" \
1240+
"Keyboard Shortcuts" "View useful desktop shortcuts" \
1241+
"Online Wiki" "Read the technical documentation" \
1242+
--width=500 --height=400 2>/dev/null)
1243+
1244+
[ -z "$CHOICE" ] && break
1245+
1246+
case "$CHOICE" in
1247+
"Install KibaOS")
1248+
sudo calamares &
1249+
break
1250+
;;
1251+
"Web Browser")
1252+
chromium &
1253+
break
1254+
;;
1255+
"Software Center")
1256+
plasma-discover &
1257+
break
1258+
;;
1259+
"Keyboard Shortcuts")
1260+
zenity --info --title="Keyboard Shortcuts" \
1261+
--window-icon="/usr/share/kibaos/logo.png" \
1262+
--text="<b>Desktop Shortcuts:</b>\n\n • <b>Alt + Space</b>: KRunner (Quick Launch)\n • <b>Ctrl + Alt + T</b>: Open Terminal (Konsole)\n • <b>Meta (Super)</b>: Open Application Launcher\n • <b>Meta + E</b>: Open File Manager (Dolphin)\n • <b>Meta + L</b>: Lock Screen\n • <b>Meta + D</b>: Show Desktop" \
1263+
--width=400 2>/dev/null
1264+
;;
1265+
"Online Wiki")
1266+
chromium "https://github.com/WolfTech-Innovations/Kiba/blob/main/WIKI.md" &
1267+
break
1268+
;;
1269+
esac
1270+
done
12451271
WELCOME
12461272
chmod +x /usr/local/bin/kiba-welcome
12471273
@@ -1292,6 +1318,8 @@ jobs:
12921318
SidebarText: "#f8f8f2"
12931319
SidebarTextCurrent: "#282a36"
12941320
SidebarBackgroundCurrent: "#bd93f9"
1321+
WindowBackground: "#282a36"
1322+
WindowForeground: "#f8f8f2"
12951323
slideshow: "show.qml"
12961324
BRANDING
12971325
@@ -1707,7 +1735,7 @@ jobs:
17071735
echo "SourceForge credentials not configured. Skipping upload."
17081736
exit 0
17091737
fi
1710-
sudo apt-get update && sudo apt-get install -y sshpass rsync
1738+
sudo apt update && sudo apt install -y sshpass rsync
17111739
for iso_file in *.iso; do
17121740
[ -f "$iso_file" ] || continue
17131741
echo "Uploading $iso_file to SourceForge..."

0 commit comments

Comments
 (0)