From 70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sat, 18 Apr 2026 17:46:06 +0100 Subject: Replaced file structures for themes in the correct format --- raveos-plasma-theme/.SRCINFO | 11 + raveos-plasma-theme/PKGBUILD | 39 + raveos-plasma-theme/raveos-plasma-apply.sh | 412 +++ .../raveos-plasma-first-login.desktop | 7 + raveos-plasma-theme/raveos-plasma-first-login.sh | 79 + .../raveos-plasma-theme-apply.service | 12 + raveos-plasma-theme/raveos-plasma-theme.install | 11 + raveos-plasma-theme/theme-data/background | Bin 0 -> 225018 bytes .../theme-data/fastfetch/config-kitty.jsonc | 47 + .../theme-data/fastfetch/config.jsonc | 93 + .../theme-data/fastfetch/raveos-logo.png | Bin 0 -> 136727 bytes .../theme-data/fastfetch/raveos-logo.txt | 19 + raveos-plasma-theme/theme-data/kitty/kitty.conf | 37 + .../theme-data/konsole/RaveOS.colorscheme | 96 + .../theme-data/konsole/RaveOS.profile | 11 + .../plasma-splash/contents/splash/Splash.qml | 53 + .../contents/splash/images/background.jpg | Bin 0 -> 225018 bytes .../contents/splash/images/new-RP-logo.png | Bin 0 -> 7796604 bytes .../contents/splash/images/raveos-logo.svg | 2766 ++++++++++++++++++++ .../theme-data/plasma-splash/metadata.json | 16 + .../theme-data/plasma/org.kde.plasma.kickoff.svg | 18 + .../theme-data/profile.d/raveos-fastfetch.sh | 13 + raveos-plasma-theme/theme-data/sddm/astronaut.conf | 79 + .../theme-data/sddm/new-raveos-main-bg.jpeg | Bin 0 -> 225018 bytes raveos-plasma-theme/theme-data/sddm/sddm.conf | 2 + .../theme-data/system/raveos-logo.svg | 2766 ++++++++++++++++++++ 26 files changed, 6587 insertions(+) create mode 100644 raveos-plasma-theme/.SRCINFO create mode 100644 raveos-plasma-theme/PKGBUILD create mode 100644 raveos-plasma-theme/raveos-plasma-apply.sh create mode 100644 raveos-plasma-theme/raveos-plasma-first-login.desktop create mode 100644 raveos-plasma-theme/raveos-plasma-first-login.sh create mode 100644 raveos-plasma-theme/raveos-plasma-theme-apply.service create mode 100644 raveos-plasma-theme/raveos-plasma-theme.install create mode 100644 raveos-plasma-theme/theme-data/background create mode 100644 raveos-plasma-theme/theme-data/fastfetch/config-kitty.jsonc create mode 100644 raveos-plasma-theme/theme-data/fastfetch/config.jsonc create mode 100644 raveos-plasma-theme/theme-data/fastfetch/raveos-logo.png create mode 100644 raveos-plasma-theme/theme-data/fastfetch/raveos-logo.txt create mode 100644 raveos-plasma-theme/theme-data/kitty/kitty.conf create mode 100644 raveos-plasma-theme/theme-data/konsole/RaveOS.colorscheme create mode 100644 raveos-plasma-theme/theme-data/konsole/RaveOS.profile create mode 100644 raveos-plasma-theme/theme-data/plasma-splash/contents/splash/Splash.qml create mode 100644 raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/background.jpg create mode 100644 raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/new-RP-logo.png create mode 100755 raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/raveos-logo.svg create mode 100644 raveos-plasma-theme/theme-data/plasma-splash/metadata.json create mode 100644 raveos-plasma-theme/theme-data/plasma/org.kde.plasma.kickoff.svg create mode 100644 raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh create mode 100644 raveos-plasma-theme/theme-data/sddm/astronaut.conf create mode 100644 raveos-plasma-theme/theme-data/sddm/new-raveos-main-bg.jpeg create mode 100644 raveos-plasma-theme/theme-data/sddm/sddm.conf create mode 100755 raveos-plasma-theme/theme-data/system/raveos-logo.svg (limited to 'raveos-plasma-theme') diff --git a/raveos-plasma-theme/.SRCINFO b/raveos-plasma-theme/.SRCINFO new file mode 100644 index 0000000..fe775be --- /dev/null +++ b/raveos-plasma-theme/.SRCINFO @@ -0,0 +1,11 @@ +pkgbase = raveos-kde-theme + pkgdesc = RaveOS KDE theme payload and installer + pkgver = 0.0.0 + pkgrel = 21 + url = https://raveos.local + install = raveos-kde-theme.install + arch = any + license = custom + depends = fastfetch + +pkgname = raveos-kde-theme diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD new file mode 100644 index 0000000..7af9b50 --- /dev/null +++ b/raveos-plasma-theme/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=raveos-plasma-theme +pkgver=0.0.0 +pkgrel=30 +pkgdesc="RaveOS Plasma theme payload and installer" +arch=('any') +url="https://raveos.local" +license=('custom') +depends=('fastfetch') +install="${pkgname}.install" +source=() +sha256sums=() + +# Build redirection +BUILDDIR="${startdir}/build" +PKGDEST="${startdir}/build" +SRCDEST="${startdir}/build" +SRCPKGDEST="${startdir}/build" +LOGDEST="${startdir}/build" + +package() { + install -dm755 "${pkgdir}/usr/share/raveos/plasma-theme" + cp -r --no-preserve=ownership "${startdir}/theme-data" "${pkgdir}/usr/share/raveos/plasma-theme/" + + install -Dm755 "${startdir}/raveos-plasma-apply.sh" \ + "${pkgdir}/usr/lib/raveos-plasma-theme/auto-apply.sh" + install -Dm755 "${startdir}/raveos-plasma-first-login.sh" \ + "${pkgdir}/usr/lib/raveos-plasma-theme/first-login.sh" + install -Dm644 "${startdir}/raveos-plasma-theme-apply.service" \ + "${pkgdir}/usr/lib/systemd/system/raveos-plasma-theme-apply.service" + install -Dm644 "${startdir}/raveos-plasma-first-login.desktop" \ + "${pkgdir}/etc/xdg/autostart/raveos-plasma-first-login.desktop" + + install -Dm644 "${startdir}/theme-data/plasma/org.kde.plasma.kickoff.svg" \ + "${pkgdir}/usr/share/pixmaps/raveos-logo.svg" + install -Dm644 "${startdir}/theme-data/plasma/org.kde.plasma.kickoff.svg" \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/raveos-logo.svg" + install -Dm644 "${startdir}/theme-data/plasma/org.kde.plasma.kickoff.svg" \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/distributor-logo-raveos.svg" +} diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh new file mode 100644 index 0000000..a414519 --- /dev/null +++ b/raveos-plasma-theme/raveos-plasma-apply.sh @@ -0,0 +1,412 @@ +#!/usr/bin/env bash +set -euo pipefail + +payload_dir="/usr/share/raveos/plasma-theme/theme-data" +wallpaper_dst="/usr/share/backgrounds/raveos/raveos-main-bg.jpeg" +fastfetch_hook='[[ -f /etc/profile.d/raveos-fastfetch.sh ]] && source /etc/profile.d/raveos-fastfetch.sh' + +if [[ ! -d "$payload_dir" ]]; then + echo "Missing payload: $payload_dir" >&2 + exit 1 +fi + +if [[ ${EUID} -ne 0 ]]; then + echo "Run as root." >&2 + exit 1 +fi + +ensure_bashrc_hook() { + local bashrc_path="$1" + + touch "$bashrc_path" + if ! grep -Fqx "$fastfetch_hook" "$bashrc_path" 2>/dev/null; then + printf '\n%s\n' "$fastfetch_hook" >> "$bashrc_path" + fi +} + +disable_kmix_autostart() { + local target_home="$1" + mkdir -p "${target_home}/.config/autostart" + cat > "${target_home}/.config/autostart/kmix_autostart.desktop" <<'EOF' +[Desktop Entry] +Hidden=true +EOF +} + +write_konsolerc() { + local target_home="$1" + cat > "${target_home}/.config/konsolerc" <<'EOF' +[Desktop Entry] +DefaultProfile=RaveOS.profile + +[General] +ConfigVersion=1 + +[UiSettings] +ColorScheme=RaveOS +EOF +} + +write_plasma_wallpaper_config() { + local target_home="$1" + local applet_config="${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" + + mkdir -p "${target_home}/.config" + if [[ ! -f "${applet_config}" ]]; then + if command -v kwriteconfig6 >/dev/null 2>&1; then + kwriteconfig6 --file "${applet_config}" \ + --group Containments --group 1 --group Wallpaper --group org.kde.image --group General \ + --key Image "file://${wallpaper_dst}" + kwriteconfig6 --file "${applet_config}" \ + --group Containments --group 1 --group Wallpaper --group org.kde.image --group General \ + --key FillMode 2 + else + cat >> "${applet_config}" </dev/null 2>&1; then + kwriteconfig6 --file "${applet_config}" \ + --group Containments --group "${c}" --group Wallpaper --group org.kde.image --group General \ + --key Image "file://${wallpaper_dst}" + kwriteconfig6 --file "${applet_config}" \ + --group Containments --group "${c}" --group Wallpaper --group org.kde.image --group General \ + --key FillMode 2 + fi + done + fi +} + +write_kickoff_config() { + local target_home="$1" + local kickoff_image="/usr/share/raveos/plasma-theme/theme-data/plasma/org.kde.plasma.kickoff.svg" + + if [[ ! -f "${kickoff_image}" ]]; then + kickoff_image="/usr/share/pixmaps/raveos-logo.svg" + fi + + if [[ ! -f "${kickoff_image}" ]]; then + kickoff_image="/usr/share/icons/breeze/applets/256/org.kde.plasma.kickoff.svg" + fi + + [[ -f "${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" ]] || return 0 + + while IFS=: read -r containment applet; do + [[ -n "${containment}" && -n "${applet}" ]] || continue + + if command -v kwriteconfig6 >/dev/null 2>&1; then + kwriteconfig6 --file "${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" \ + --group Containments --group "${containment}" --group Applets --group "${applet}" --group Configuration --group General \ + --key useCustomButtonImage true + kwriteconfig6 --file "${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" \ + --group Containments --group "${containment}" --group Applets --group "${applet}" --group Configuration --group General \ + --key customButtonImage "file://${kickoff_image}" + kwriteconfig6 --file "${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" \ + --group Containments --group "${containment}" --group Applets --group "${applet}" --group Configuration --group General \ + --key icon "${kickoff_image}" + else + cat >> "${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" < "${target_home}/.config/kscreenlockerrc" < "${target_home}/.config/ksplashrc" <<'EOF' +[KSplash] +Engine=KSplashQML +Theme=org.kde.raveos.desktop +EOF +} + +apply_user_payload() { + local target_user="$1" + local passwd_line target_uid target_gid target_home + + passwd_line="$(getent passwd "$target_user" || true)" + [[ -n "$passwd_line" ]] || return 0 + IFS=: read -r _ _ target_uid target_gid _ target_home _ <<<"$passwd_line" + [[ -d "$target_home" ]] || return 0 + + mkdir -p \ + "${target_home}/.config/kitty" \ + "${target_home}/.config/fastfetch" \ + "${target_home}/.config/autostart" \ + "${target_home}/.local/share/konsole" \ + "${target_home}/.local/share/icons/breeze/applets/256" \ + "${target_home}/.local/share/icons/breeze-dark/applets/256" \ + "${target_home}/.local/share/icons/breeze/places/22" \ + "${target_home}/.local/share/icons/breeze/places/32" \ + "${target_home}/.local/share/icons/breeze/places/64" \ + "${target_home}/.local/share/icons/breeze/places/96" \ + "${target_home}/.local/share/icons/breeze-dark/places/22" \ + "${target_home}/.local/share/icons/breeze-dark/places/32" \ + "${target_home}/.local/share/icons/breeze-dark/places/64" \ + "${target_home}/.local/share/icons/breeze-dark/places/96" \ + "${target_home}/.local/share/icons/Adwaita/symbolic/places" + + install -Dm644 "$wallpaper_dst" "${target_home}/.config/background" + + if [[ -f "${payload_dir}/kitty/kitty.conf" ]]; then + install -Dm644 "${payload_dir}/kitty/kitty.conf" "${target_home}/.config/kitty/kitty.conf" + fi + + if [[ -f "${payload_dir}/fastfetch/config.jsonc" ]]; then + install -Dm644 "${payload_dir}/fastfetch/config.jsonc" "${target_home}/.config/fastfetch/config.jsonc" + fi + if [[ -f "${payload_dir}/fastfetch/config-kitty.jsonc" ]]; then + install -Dm644 "${payload_dir}/fastfetch/config-kitty.jsonc" "${target_home}/.config/fastfetch/config-kitty.jsonc" + fi + if [[ -f "${payload_dir}/fastfetch/raveos-logo.png" ]]; then + install -Dm644 "${payload_dir}/fastfetch/raveos-logo.png" "${target_home}/.config/fastfetch/raveos-logo.png" + fi + if [[ -f "${payload_dir}/fastfetch/raveos-logo.txt" ]]; then + install -Dm644 "${payload_dir}/fastfetch/raveos-logo.txt" "${target_home}/.config/fastfetch/raveos-logo.txt" + fi + + if [[ -f "${payload_dir}/konsole/RaveOS.colorscheme" ]]; then + install -Dm644 "${payload_dir}/konsole/RaveOS.colorscheme" \ + "${target_home}/.local/share/konsole/RaveOS.colorscheme" + fi + if [[ -f "${payload_dir}/konsole/RaveOS.profile" ]]; then + install -Dm644 "${payload_dir}/konsole/RaveOS.profile" \ + "${target_home}/.local/share/konsole/RaveOS.profile" + fi + + if [[ -f "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" ]]; then + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/breeze/applets/256/org.kde.plasma.kickoff.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/breeze-dark/applets/256/org.kde.plasma.kickoff.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/Adwaita/symbolic/places/start-here-symbolic.svg" + for size in 22 32 64 96; do + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/breeze/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/breeze-dark/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/breeze/places/${size}/start-here.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "${target_home}/.local/share/icons/breeze-dark/places/${size}/start-here.svg" + done + fi + + write_konsolerc "$target_home" + write_plasma_wallpaper_config "$target_home" + write_kickoff_config "$target_home" + write_kscreenlockerrc "$target_home" + write_ksplashrc "$target_home" + disable_kmix_autostart "$target_home" + ensure_bashrc_hook "${target_home}/.bashrc" + + chown -R "${target_uid}:${target_gid}" \ + "${target_home}/.config" \ + "${target_home}/.local" \ + "${target_home}/.bashrc" +} + +mkdir -p /etc/skel + +if [[ -f "${payload_dir}/background" ]]; then + install -Dm644 "${payload_dir}/background" "$wallpaper_dst" +fi + +if [[ -f "${payload_dir}/profile.d/raveos-fastfetch.sh" ]]; then + install -Dm755 "${payload_dir}/profile.d/raveos-fastfetch.sh" /etc/profile.d/raveos-fastfetch.sh +fi + +if [[ -f "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" ]]; then + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" /usr/share/pixmaps/raveos-logo.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" /usr/share/icons/hicolor/scalable/apps/raveos-logo.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" /usr/share/icons/hicolor/scalable/apps/distributor-logo-raveos.svg + + for theme in breeze breeze-dark hicolor; do + if [[ -d "/usr/share/icons/${theme}" ]]; then + find "/usr/share/icons/${theme}" -name "start-here*" -delete 2>/dev/null || true + find "/usr/share/icons/${theme}" -name "distributor-logo*" -delete 2>/dev/null || true + + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" "/usr/share/icons/${theme}/scalable/places/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" "/usr/share/icons/${theme}/scalable/places/start-here.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" "/usr/share/icons/${theme}/scalable/places/distributor-logo.svg" + fi + done +fi + +if [[ -d "${payload_dir}/plasma-splash" ]]; then + mkdir -p /usr/share/plasma/look-and-feel + rm -rf /usr/share/plasma/look-and-feel/org.kde.raveos.desktop + cp -r --no-preserve=ownership "${payload_dir}/plasma-splash" /usr/share/plasma/look-and-feel/org.kde.raveos.desktop +fi + +if [[ -f "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" ]]; then + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /usr/local/share/icons/breeze/applets/256/org.kde.plasma.kickoff.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /usr/local/share/icons/breeze-dark/applets/256/org.kde.plasma.kickoff.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /usr/share/icons/breeze/applets/256/org.kde.plasma.kickoff.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /usr/share/icons/breeze-dark/applets/256/org.kde.plasma.kickoff.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /usr/local/share/icons/Adwaita/symbolic/places/start-here-symbolic.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /usr/share/icons/Adwaita/symbolic/places/start-here-symbolic.svg + for size in 22 32 64 96; do + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/local/share/icons/breeze/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/local/share/icons/breeze-dark/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/local/share/icons/breeze/places/${size}/start-here.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/local/share/icons/breeze-dark/places/${size}/start-here.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/share/icons/breeze/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/share/icons/breeze-dark/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/share/icons/breeze/places/${size}/start-here.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/usr/share/icons/breeze-dark/places/${size}/start-here.svg" + done +fi + +if [[ -f "${payload_dir}/sddm/sddm.conf" ]]; then + install -Dm644 "${payload_dir}/sddm/sddm.conf" /etc/sddm.conf.d/raveos-theme.conf +fi + +for candidate in \ + "/usr/share/sddm/themes/sddm-astronaut-theme" \ + "/usr/share/sddm/themes/astronaut" \ + "/usr/share/sddm/themes/sddm-astronaut"; do + if [[ -d "$candidate" ]]; then + if [[ -f "${payload_dir}/sddm/new-raveos-main-bg.jpeg" ]]; then + install -Dm644 "${payload_dir}/sddm/new-raveos-main-bg.jpeg" \ + "${candidate}/Backgrounds/new-raveos-main-bg.jpeg" + fi + if [[ -f "${payload_dir}/sddm/astronaut.conf" ]]; then + install -Dm644 "${payload_dir}/sddm/astronaut.conf" \ + "${candidate}/Themes/astronaut.conf" + fi + break + fi +done + +mkdir -p \ + /etc/skel/.config/kitty \ + /etc/skel/.config/fastfetch \ + /etc/skel/.config/autostart \ + /etc/skel/.local/share/konsole \ + /etc/skel/.local/share/icons/breeze/applets/256 \ + /etc/skel/.local/share/icons/breeze-dark/applets/256 \ + /etc/skel/.local/share/icons/breeze/places/22 \ + /etc/skel/.local/share/icons/breeze/places/32 \ + /etc/skel/.local/share/icons/breeze/places/64 \ + /etc/skel/.local/share/icons/breeze/places/96 \ + /etc/skel/.local/share/icons/breeze-dark/places/22 \ + /etc/skel/.local/share/icons/breeze-dark/places/32 \ + /etc/skel/.local/share/icons/breeze-dark/places/64 \ + /etc/skel/.local/share/icons/breeze-dark/places/96 \ + /etc/skel/.local/share/icons/Adwaita/symbolic/places + +if [[ -f "${payload_dir}/background" ]]; then + mkdir -p "$(dirname "$wallpaper_dst")" + install -m644 "${payload_dir}/background" "$wallpaper_dst" + install -Dm644 "${payload_dir}/background" /etc/skel/.config/background +fi + +if [[ -f "${payload_dir}/kitty/kitty.conf" ]]; then + install -Dm644 "${payload_dir}/kitty/kitty.conf" /etc/skel/.config/kitty/kitty.conf +fi +if [[ -f "${payload_dir}/fastfetch/config.jsonc" ]]; then + install -Dm644 "${payload_dir}/fastfetch/config.jsonc" /etc/skel/.config/fastfetch/config.jsonc +fi +if [[ -f "${payload_dir}/fastfetch/config-kitty.jsonc" ]]; then + install -Dm644 "${payload_dir}/fastfetch/config-kitty.jsonc" /etc/skel/.config/fastfetch/config-kitty.jsonc +fi +if [[ -f "${payload_dir}/fastfetch/raveos-logo.png" ]]; then + install -Dm644 "${payload_dir}/fastfetch/raveos-logo.png" /etc/skel/.config/fastfetch/raveos-logo.png +fi +if [[ -f "${payload_dir}/fastfetch/raveos-logo.txt" ]]; then + install -Dm644 "${payload_dir}/fastfetch/raveos-logo.txt" /etc/skel/.config/fastfetch/raveos-logo.txt +fi +if [[ -f "${payload_dir}/konsole/RaveOS.colorscheme" ]]; then + install -Dm644 "${payload_dir}/konsole/RaveOS.colorscheme" /etc/skel/.local/share/konsole/RaveOS.colorscheme +fi +if [[ -f "${payload_dir}/konsole/RaveOS.profile" ]]; then + install -Dm644 "${payload_dir}/konsole/RaveOS.profile" /etc/skel/.local/share/konsole/RaveOS.profile +fi +if [[ -f "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" ]]; then + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /etc/skel/.local/share/icons/breeze/applets/256/org.kde.plasma.kickoff.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /etc/skel/.local/share/icons/breeze-dark/applets/256/org.kde.plasma.kickoff.svg + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + /etc/skel/.local/share/icons/Adwaita/symbolic/places/start-here-symbolic.svg + for size in 22 32 64 96; do + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/etc/skel/.local/share/icons/breeze/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/etc/skel/.local/share/icons/breeze-dark/places/${size}/start-here-kde.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/etc/skel/.local/share/icons/breeze/places/${size}/start-here.svg" + install -Dm644 "${payload_dir}/plasma/org.kde.plasma.kickoff.svg" \ + "/etc/skel/.local/share/icons/breeze-dark/places/${size}/start-here.svg" + done +fi + +write_konsolerc /etc/skel +write_plasma_wallpaper_config /etc/skel +write_kickoff_config /etc/skel +write_kscreenlockerrc /etc/skel +write_ksplashrc /etc/skel +disable_kmix_autostart /etc/skel +ensure_bashrc_hook /etc/skel/.bashrc + +while IFS=: read -r user _ uid _ _ home shell; do + [[ "$uid" -ge 1000 ]] || continue + [[ -d "$home" ]] || continue + [[ "$shell" != "/usr/bin/nologin" && "$shell" != "/bin/false" ]] || continue + apply_user_payload "$user" +done < /etc/passwd + +if command -v gtk-update-icon-cache >/dev/null 2>&1; then + gtk-update-icon-cache -f -t /usr/share/icons/hicolor || true +fi + +echo "Automatic apply finished." diff --git a/raveos-plasma-theme/raveos-plasma-first-login.desktop b/raveos-plasma-theme/raveos-plasma-first-login.desktop new file mode 100644 index 0000000..342445d --- /dev/null +++ b/raveos-plasma-theme/raveos-plasma-first-login.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=RaveOS Plasma First Login +Exec=/usr/lib/raveos-plasma-theme/first-login.sh +OnlyShowIn=KDE; +X-KDE-autostart-phase=2 +NoDisplay=true diff --git a/raveos-plasma-theme/raveos-plasma-first-login.sh b/raveos-plasma-theme/raveos-plasma-first-login.sh new file mode 100644 index 0000000..a1a3720 --- /dev/null +++ b/raveos-plasma-theme/raveos-plasma-first-login.sh @@ -0,0 +1,79 @@ +#!/usr/bin/env bash +set -euo pipefail + +marker_dir="${HOME}/.config/raveos-kde-theme" +marker_file="${marker_dir}/.first-login-done" +wallpaper="/usr/share/backgrounds/raveos/raveos-main-bg.jpeg" +kickoff_image="/usr/share/raveos/plasma-theme/theme-data/plasma/org.kde.plasma.kickoff.svg" +applet_config="${HOME}/.config/plasma-org.kde.plasma.desktop-appletsrc" + +mkdir -p "${marker_dir}" +[[ -e "${marker_file}" ]] && exit 0 +[[ "${XDG_CURRENT_DESKTOP:-}" == *KDE* || "${DESKTOP_SESSION:-}" == *plasma* ]] || exit 0 + +until qdbus6 org.kde.plasmashell /PlasmaShell >/dev/null 2>&1 || qdbus org.kde.plasmashell /PlasmaShell >/dev/null 2>&1; do + sleep 2 +done + +sleep 10 + +QDBUS="" +if command -v qdbus6 >/dev/null 2>&1; then + QDBUS="qdbus6" +elif command -v qdbus >/dev/null 2>&1; then + QDBUS="qdbus" +fi + +if command -v plasma-apply-lookandfeel >/dev/null 2>&1; then + plasma-apply-lookandfeel -a org.kde.breezedark.desktop >/dev/null 2>&1 || true +fi + +if command -v kwriteconfig6 >/dev/null 2>&1; then + kwriteconfig6 --file "${HOME}/.config/ksplashrc" --group KSplash --key Engine KSplashQML + kwriteconfig6 --file "${HOME}/.config/ksplashrc" --group KSplash --key Theme org.kde.raveos.desktop + kwriteconfig6 --file "${HOME}/.config/kdeglobals" --group KDE --key widgetStyle Breeze + kwriteconfig6 --file "${HOME}/.config/kdeglobals" --group General --key ColorScheme BreezeDark + kwriteconfig6 --file "${HOME}/.config/kdeglobals" --group Icons --key Theme breeze-dark +fi + +if [[ -f "${wallpaper}" ]] && command -v plasma-apply-wallpaperimage >/dev/null 2>&1; then + plasma-apply-wallpaperimage "${wallpaper}" >/dev/null 2>&1 || true +fi + +if [[ -n "$QDBUS" ]]; then + $QDBUS org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript " + if ('${wallpaper}' !== '') { + var desktops = desktops(); + for (var i = 0; i < desktops.length; i++) { + desktops[i].wallpaperPlugin = 'org.kde.image'; + desktops[i].currentConfigGroup = ['Wallpaper', 'org.kde.image', 'General']; + desktops[i].writeConfig('Image', 'file://${wallpaper}'); + desktops[i].writeConfig('FillMode', 2); + } + } + + if ('${kickoff_image}' !== '') { + function setKickoffIcon(applet, iconPath) { + var groups = [['Configuration', 'General'], ['General']]; + for (var i = 0; i < groups.length; i++) { + applet.currentConfigGroup = groups[i]; + applet.writeConfig('useCustomButtonImage', 'true'); + applet.writeConfig('customButtonImage', 'file://' + iconPath); + applet.writeConfig('icon', iconPath); + } + } + var panels = panels(); + for (var i = 0; i < panels.length; i++) { + var applets = panels[i].applets; + for (var j = 0; j < applets.length; j++) { + var plugin = applets[j].pluginName; + if (plugin === 'org.kde.plasma.kickoff' || plugin === 'org.kde.plasma.kicker' || plugin === 'org.kde.plasma.simplemenu' || plugin === 'org.kde.plasma.kickoffdashboard') { + setKickoffIcon(applets[j], '${kickoff_image}'); + } + } + } + } + " >/dev/null 2>&1 || true +fi + +touch "${marker_file}" diff --git a/raveos-plasma-theme/raveos-plasma-theme-apply.service b/raveos-plasma-theme/raveos-plasma-theme-apply.service new file mode 100644 index 0000000..b506972 --- /dev/null +++ b/raveos-plasma-theme/raveos-plasma-theme-apply.service @@ -0,0 +1,12 @@ +[Unit] +Description=Apply RaveOS Plasma theme payload +After=local-fs.target systemd-user-sessions.service +ConditionPathExists=!/var/lib/raveos-plasma-theme/.applied + +[Service] +Type=oneshot +ExecStart=/usr/lib/raveos-plasma-theme/auto-apply.sh +ExecStartPost=/usr/bin/install -Dm644 /dev/null /var/lib/raveos-plasma-theme/.applied + +[Install] +WantedBy=multi-user.target diff --git a/raveos-plasma-theme/raveos-plasma-theme.install b/raveos-plasma-theme/raveos-plasma-theme.install new file mode 100644 index 0000000..bdbf8eb --- /dev/null +++ b/raveos-plasma-theme/raveos-plasma-theme.install @@ -0,0 +1,11 @@ +post_install() { + if [[ -x /usr/lib/raveos-plasma-theme/auto-apply.sh ]]; then + /usr/lib/raveos-plasma-theme/auto-apply.sh || true + fi +} + +post_upgrade() { + if [[ -x /usr/lib/raveos-plasma-theme/auto-apply.sh ]]; then + /usr/lib/raveos-plasma-theme/auto-apply.sh || true + fi +} diff --git a/raveos-plasma-theme/theme-data/background b/raveos-plasma-theme/theme-data/background new file mode 100644 index 0000000..5945d58 Binary files /dev/null and b/raveos-plasma-theme/theme-data/background differ diff --git a/raveos-plasma-theme/theme-data/fastfetch/config-kitty.jsonc b/raveos-plasma-theme/theme-data/fastfetch/config-kitty.jsonc new file mode 100644 index 0000000..1737df8 --- /dev/null +++ b/raveos-plasma-theme/theme-data/fastfetch/config-kitty.jsonc @@ -0,0 +1,47 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "~/.config/fastfetch/raveos-logo.txt", + "type": "file", + "color": { + "1": "green", + "2": "36", + "3": "white" + }, + "padding": { + "top": 1, + "left": 2, + "right": 3 + } + }, + "display": { + "separator": " → ", + "color": { + "keys": "green", + "title": "cyan" + } + }, + "modules": [ + { "type": "custom", "format": "\u001b[1;32mRaveOS" }, + "separator", + { "type": "os", "key": "OS" }, + { "type": "kernel", "key": "Kernel" }, + { "type": "uptime", "key": "Uptime" }, + { "type": "packages", "key": "Packages" }, + { "type": "shell", "key": "Shell" }, + { "type": "de", "key": "DE" }, + { "type": "wm", "key": "WM" }, + { "type": "terminal", "key": "Terminal" }, + "separator", + { "type": "cpu", "key": "CPU" }, + { "type": "gpu", "key": "GPU" }, + { "type": "memory", "key": "RAM" }, + { "type": "disk", "key": "Disk", "folders": "/" }, + "separator", + { "type": "display", "key": "Display" }, + { "type": "theme", "key": "Theme" }, + { "type": "icons", "key": "Icons" }, + "break", + "colors" + ] +} diff --git a/raveos-plasma-theme/theme-data/fastfetch/config.jsonc b/raveos-plasma-theme/theme-data/fastfetch/config.jsonc new file mode 100644 index 0000000..f5f842d --- /dev/null +++ b/raveos-plasma-theme/theme-data/fastfetch/config.jsonc @@ -0,0 +1,93 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "~/.config/fastfetch/raveos-logo.txt", + "type": "file", + "color": { + "1": "green", + "2": "36", + "3": "white" + }, + "padding": { + "top": 1, + "left": 2, + "right": 3 + } + }, + "display": { + "separator": " → ", + "color": { + "keys": "green", + "title": "cyan" + } + }, + "modules": [ + "title", + "separator", + { + "type": "os", + "key": "OS" + }, + { + "type": "kernel", + "key": "Kernel" + }, + { + "type": "uptime", + "key": "Uptime" + }, + { + "type": "packages", + "key": "Packages" + }, + { + "type": "shell", + "key": "Shell" + }, + { + "type": "de", + "key": "DE" + }, + { + "type": "wm", + "key": "WM" + }, + { + "type": "terminal", + "key": "Terminal" + }, + "separator", + { + "type": "cpu", + "key": "CPU" + }, + { + "type": "gpu", + "key": "GPU" + }, + { + "type": "memory", + "key": "RAM" + }, + { + "type": "disk", + "key": "Disk", + "folders": "/" + }, + "separator", + { + "type": "display", + "key": "Display" + }, + { + "type": "theme", + "key": "Theme" + }, + { + "type": "icons", + "key": "Icons" + }, + "break", + "colors" + ] +} diff --git a/raveos-plasma-theme/theme-data/fastfetch/raveos-logo.png b/raveos-plasma-theme/theme-data/fastfetch/raveos-logo.png new file mode 100644 index 0000000..93ebb33 Binary files /dev/null and b/raveos-plasma-theme/theme-data/fastfetch/raveos-logo.png differ diff --git a/raveos-plasma-theme/theme-data/fastfetch/raveos-logo.txt b/raveos-plasma-theme/theme-data/fastfetch/raveos-logo.txt new file mode 100644 index 0000000..41f87e2 --- /dev/null +++ b/raveos-plasma-theme/theme-data/fastfetch/raveos-logo.txt @@ -0,0 +1,19 @@ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⢠⡀⠀⠀⠀⠀⠀⠀⡀⠀⣰⣾⣿⣿⣷⣄⠀⣠⠀⠀⠀⠀⠀⠀⢀⠄⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠙⣦⣄⡀⠠⡀⠀⣿⡆⠙⣿⣿⣿⡿⠃⢰⣧⠀⣀⠄⢀⣤⡴⠋⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⣀⠀⠑⢮⣙⠛⠂⠙⠀⡅⣹⣄⢸⣿⣿⡇⣠⡏⠁⠈⠉⠐⠟⣉⡵⠊⠀⣠⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠄⢈⣃⡀⠐⠿⣷⣦⣀⢰⣼⣈⣿⣾⣿⣿⣿⣿⢁⣥⡆⣠⣴⣾⠿⠂⢀⣀⠁⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠠⠤⠬⠿⠿⠷⠌⠻⢿⢷⡝⢿⣿⡌⣿⡿⢱⣿⡿⢫⡾⠿⠟⠡⠾⠿⠯⠥⠤⠄⠀⠀⠀⠀ +⠀⠀⠀⠙⠂⠈⠀⠀⠄⠀⠉⠀⠐⠶⢷⣦⣬⡁⠏⠷⢈⣥⣴⠿⠶⠂⠀⠉⠁⠀⠀⠀⠁⠘⠊⠂⠀⠀ +⠀⠀⠀⠀⢀⠄⢠⣴⣶⠀⠀⠀⢀⡀⠀⠉⠙⠃⣠⡄⠘⠉⠁⠀⢀⡀⠀⠀⢠⣶⣦⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⣠⠤⠌⠁⣩⣿⣇⡀⠢⣜⣛⠛⠀⠀⡴⢫⡝⣄⠀⠀⠛⢛⡡⠔⢀⣼⣯⣅⠈⠁⠤⡄⠀⠀⠀ +⠀⠀⠀⢀⡠⢴⠾⠉⢉⣿⣿⣷⣶⣭⣶⣾⡟⣱⣿⣿⡜⢻⣶⣦⣥⣶⣾⣿⣯⡉⠉⠷⡤⢄⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⢀⡴⠂⢚⠟⢉⣾⠿⠛⢙⠉⣠⠈⢹⠇⠁⣄⢈⠋⠛⠿⣷⡉⠿⡓⡐⢦⡀⠀⠁⠀⠀⠀ +⠀⠀⠀⠀⠀⠒⢉⣵⣿⣷⣧⠆⢂⠶⢿⡽⠛⠰⣦⣴⠀⠛⣯⠿⡢⡐⠲⣽⣼⣿⣮⡙⠓⠀⠀⠄⠀⠀ +⠀⠀⢀⣴⠷⠂⣾⣿⠿⠛⣡⣾⡤⠀⠘⠁⢰⣴⣿⣿⣤⠀⠈⠃⠀⢤⣶⣌⠻⢿⣿⣧⠐⠾⣦⡀⠀⠀ +⠀⠀⠀⠀⠀⠘⠉⠀⢠⣼⠏⠋⣠⢠⡄⢀⠻⠉⣿⡿⠈⠟⡄⢰⡀⡀⠻⠹⣦⡀⠀⠉⠃⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠂⠀⠁⠀⡄⡿⠀⢣⠀⠀⠐⡌⢡⠀⠈⢀⡌⠈⢧⠂⠀⠈⠀⠑⠀⠀⠀⠀⠀⠀⠀ +⢠⣤⣤⣤⣤⣄⣰⢠⣤⣴⣦⠟⣥⣦⣀⢳⣦⡆⣴⣦⣶⣴⣾⣄⠀⢈⣷⣶⣶⣦⣄⣄⣠⣴⣶⣦⣤⠀ +⢸⣿⣧⣤⣽⡿⢁⣿⣟⣹⣿⡄⠘⣿⣿⣾⡿⠀⣿⣿⣶⣶⣾⠋⠀⢾⣿⡍⠁⢹⣿⡎⠿⠷⠶⣶⣭⡀ +⠸⣿⠇⠙⢿⡦⢼⡿⠛⠛⢿⣷⠀⠹⣿⡿⠁⠀⢿⣿⣶⣶⣶⠆⠀⠘⠿⢷⣶⠿⠟⠀⠿⢿⣶⡾⠿⠃ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ diff --git a/raveos-plasma-theme/theme-data/kitty/kitty.conf b/raveos-plasma-theme/theme-data/kitty/kitty.conf new file mode 100644 index 0000000..7b84ae9 --- /dev/null +++ b/raveos-plasma-theme/theme-data/kitty/kitty.conf @@ -0,0 +1,37 @@ +font_family JetBrains Mono +font_size 11.0 + +foreground #D8DEE9 +background #2E3440 +selection_foreground #2E3440 +selection_background #88C0D0 + +color0 #3B4252 +color1 #BF616A +color2 #A3BE8C +color3 #EBCB8B +color4 #81A1C1 +color5 #B48EAD +color6 #88C0D0 +color7 #E5E9F0 +color8 #4C566A +color9 #BF616A +color10 #A3BE8C +color11 #EBCB8B +color12 #81A1C1 +color13 #B48EAD +color14 #8FBCBB +color15 #ECEFF4 + +cursor #D8DEE9 +cursor_shape beam + +background_opacity 0.92 +window_padding_width 8 +confirm_os_window_close 0 + +tab_bar_style slant +active_tab_foreground #2E3440 +active_tab_background #A3BE8C +inactive_tab_foreground #D8DEE9 +inactive_tab_background #3B4252 diff --git a/raveos-plasma-theme/theme-data/konsole/RaveOS.colorscheme b/raveos-plasma-theme/theme-data/konsole/RaveOS.colorscheme new file mode 100644 index 0000000..4e510f1 --- /dev/null +++ b/raveos-plasma-theme/theme-data/konsole/RaveOS.colorscheme @@ -0,0 +1,96 @@ +[Background] +Color=46,52,64 + +[BackgroundFaint] +Color=46,52,64 + +[BackgroundIntense] +Color=59,66,82 + +[Color0] +Color=59,66,82 + +[Color0Faint] +Color=59,66,82 + +[Color0Intense] +Color=76,86,106 + +[Color1] +Color=191,97,106 + +[Color1Faint] +Color=191,97,106 + +[Color1Intense] +Color=191,97,106 + +[Color2] +Color=163,190,140 + +[Color2Faint] +Color=163,190,140 + +[Color2Intense] +Color=163,190,140 + +[Color3] +Color=235,203,139 + +[Color3Faint] +Color=235,203,139 + +[Color3Intense] +Color=235,203,139 + +[Color4] +Color=129,161,193 + +[Color4Faint] +Color=129,161,193 + +[Color4Intense] +Color=129,161,193 + +[Color5] +Color=180,142,173 + +[Color5Faint] +Color=180,142,173 + +[Color5Intense] +Color=180,142,173 + +[Color6] +Color=136,192,208 + +[Color6Faint] +Color=136,192,208 + +[Color6Intense] +Color=143,188,187 + +[Color7] +Color=229,233,240 + +[Color7Faint] +Color=229,233,240 + +[Color7Intense] +Color=236,239,244 + +[Foreground] +Color=216,222,233 + +[ForegroundFaint] +Color=216,222,233 + +[ForegroundIntense] +Color=236,239,244 + +[General] +Blur=false +ColorRandomization=false +Description=RaveOS Nord +Opacity=0.92 +Wallpaper= diff --git a/raveos-plasma-theme/theme-data/konsole/RaveOS.profile b/raveos-plasma-theme/theme-data/konsole/RaveOS.profile new file mode 100644 index 0000000..54ca762 --- /dev/null +++ b/raveos-plasma-theme/theme-data/konsole/RaveOS.profile @@ -0,0 +1,11 @@ +[Appearance] +ColorScheme=RaveOS +Font=JetBrains Mono,11,-1,5,50,0,0,0,0,0 + +[General] +Command=/bin/bash --login +Name=RaveOS +Parent=FALLBACK/ + +[Scrolling] +HistoryMode=2 diff --git a/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/Splash.qml b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/Splash.qml new file mode 100644 index 0000000..dbd80c6 --- /dev/null +++ b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/Splash.qml @@ -0,0 +1,53 @@ +import QtQuick +import org.kde.kirigami as Kirigami + +Rectangle { + id: root + color: "black" + + property int stage + + Image { + anchors.fill: parent + source: "images/background.jpg" + fillMode: Image.PreserveAspectCrop + asynchronous: true + } + + Rectangle { + anchors.fill: parent + color: "#66000000" + } + + Item { + anchors.fill: parent + opacity: stage >= 2 ? 1 : 0 + + Image { + id: logo + anchors.centerIn: parent + source: "images/new-RP-logo.png" + asynchronous: true + sourceSize.width: Kirigami.Units.gridUnit * 12 + sourceSize.height: Kirigami.Units.gridUnit * 12 + fillMode: Image.PreserveAspectFit + } + + Image { + anchors.horizontalCenter: parent.horizontalCenter + anchors.top: logo.bottom + anchors.topMargin: Kirigami.Units.largeSpacing * 2 + source: "/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/images/busywidget.svgz" + sourceSize.width: Kirigami.Units.gridUnit * 2 + sourceSize.height: Kirigami.Units.gridUnit * 2 + asynchronous: true + RotationAnimator on rotation { + from: 0 + to: 360 + duration: 2000 + loops: Animation.Infinite + running: stage >= 2 && Kirigami.Units.longDuration > 1 + } + } + } +} diff --git a/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/background.jpg b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/background.jpg new file mode 100644 index 0000000..5945d58 Binary files /dev/null and b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/background.jpg differ diff --git a/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/new-RP-logo.png b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/new-RP-logo.png new file mode 100644 index 0000000..81070c9 Binary files /dev/null and b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/new-RP-logo.png differ diff --git a/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/raveos-logo.svg b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/raveos-logo.svg new file mode 100755 index 0000000..f6cd901 --- /dev/null +++ b/raveos-plasma-theme/theme-data/plasma-splash/contents/splash/images/raveos-logo.svg @@ -0,0 +1,2766 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/raveos-plasma-theme/theme-data/plasma-splash/metadata.json b/raveos-plasma-theme/theme-data/plasma-splash/metadata.json new file mode 100644 index 0000000..e9ba028 --- /dev/null +++ b/raveos-plasma-theme/theme-data/plasma-splash/metadata.json @@ -0,0 +1,16 @@ +{ + "KPlugin": { + "Authors": [ + { + "Name": "RaveOS" + } + ], + "Category": "", + "Description": "RaveOS Plasma splash theme", + "EnabledByDefault": true, + "Id": "org.kde.raveos.desktop", + "License": "GPL-2.0-or-later", + "Name": "RaveOS Splash", + "Version": "1.0" + } +} diff --git a/raveos-plasma-theme/theme-data/plasma/org.kde.plasma.kickoff.svg b/raveos-plasma-theme/theme-data/plasma/org.kde.plasma.kickoff.svg new file mode 100644 index 0000000..49a9777 --- /dev/null +++ b/raveos-plasma-theme/theme-data/plasma/org.kde.plasma.kickoff.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + diff --git a/raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh b/raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh new file mode 100644 index 0000000..b3fe8ce --- /dev/null +++ b/raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if [[ -z "${RAVEOS_GREETED:-}" && -z "${VSCODE_PID:-}" && "${TERM}" != "dumb" ]]; then + export RAVEOS_GREETED=1 + + if command -v fastfetch >/dev/null 2>&1; then + if [[ "${TERM}" == "xterm-kitty" ]]; then + fastfetch --config "${HOME}/.config/fastfetch/config-kitty.jsonc" + else + fastfetch --config "${HOME}/.config/fastfetch/config.jsonc" + fi + fi +fi diff --git a/raveos-plasma-theme/theme-data/sddm/astronaut.conf b/raveos-plasma-theme/theme-data/sddm/astronaut.conf new file mode 100644 index 0000000..5b5f6b0 --- /dev/null +++ b/raveos-plasma-theme/theme-data/sddm/astronaut.conf @@ -0,0 +1,79 @@ +[General] +ScreenWidth="1920" +ScreenHeight="1080" +ScreenPadding="" +Font="Open Sans" +FontSize="13" +KeyboardSize="0.4" +RoundCorners="20" +Locale="" +HourFormat="HH:mm" +DateFormat="dddd d MMMM" +HeaderText="" +BackgroundPlaceholder="" +Background="Backgrounds/new-raveos-main-bg.jpeg" +BackgroundSpeed="" +PauseBackground="" +DimBackground="0.0" +CropBackground="true" +BackgroundHorizontalAlignment="center" +BackgroundVerticalAlignment="center" +HeaderTextColor="#ffffff" +DateTextColor="#ffffff" +TimeTextColor="#ffffff" +FormBackgroundColor="#21222C" +BackgroundColor="#21222C" +DimBackgroundColor="#21222C" +LoginFieldBackgroundColor="#222222" +PasswordFieldBackgroundColor="#222222" +LoginFieldTextColor="#ffffff" +PasswordFieldTextColor="#ffffff" +UserIconColor="#ffffff" +PasswordIconColor="#ffffff" +PlaceholderTextColor="#bbbbbb" +WarningColor="#343746" +LoginButtonTextColor="#ffffff" +LoginButtonBackgroundColor="#343746" +SystemButtonsIconsColor="#F8F8F2" +SessionButtonTextColor="#F8F8F2" +VirtualKeyboardButtonTextColor="#F8F8F2" +DropdownTextColor="#ffffff" +DropdownSelectedBackgroundColor="#343746" +DropdownBackgroundColor="#21222C" +HighlightTextColor="#bbbbbb" +HighlightBackgroundColor="#343746" +HighlightBorderColor="#343746" +HoverUserIconColor="#b7cef1" +HoverPasswordIconColor="#b7cef1" +HoverSystemButtonsIconsColor="#b7cef1" +HoverSessionButtonTextColor="#b7cef1" +HoverVirtualKeyboardButtonTextColor="#b7cef1" +PartialBlur="true" +FullBlur="" +BlurMax="" +Blur="" +HaveFormBackground="false" +FormPosition="center" +VirtualKeyboardPosition="center" +HideVirtualKeyboard="false" +HideSystemButtons="false" +HideLoginButton="false" +ForceLastUser="true" +PasswordFocus="true" +HideCompletePassword="true" +AllowEmptyPassword="false" +AllowUppercaseLettersInUsernames="false" +BypassSystemButtonsChecks="false" +RightToLeftLayout="false" +TranslatePlaceholderUsername="" +TranslatePlaceholderPassword="" +TranslateLogin="" +TranslateLoginFailedWarning="" +TranslateCapslockWarning="" +TranslateSuspend="" +TranslateHibernate="" +TranslateReboot="" +TranslateShutdown="" +TranslateSessionSelection="" +TranslateVirtualKeyboardButtonOn="" +TranslateVirtualKeyboardButtonOff="" diff --git a/raveos-plasma-theme/theme-data/sddm/new-raveos-main-bg.jpeg b/raveos-plasma-theme/theme-data/sddm/new-raveos-main-bg.jpeg new file mode 100644 index 0000000..5945d58 Binary files /dev/null and b/raveos-plasma-theme/theme-data/sddm/new-raveos-main-bg.jpeg differ diff --git a/raveos-plasma-theme/theme-data/sddm/sddm.conf b/raveos-plasma-theme/theme-data/sddm/sddm.conf new file mode 100644 index 0000000..29b5b95 --- /dev/null +++ b/raveos-plasma-theme/theme-data/sddm/sddm.conf @@ -0,0 +1,2 @@ +[Theme] +Current = sddm-astronaut-theme diff --git a/raveos-plasma-theme/theme-data/system/raveos-logo.svg b/raveos-plasma-theme/theme-data/system/raveos-logo.svg new file mode 100755 index 0000000..f6cd901 --- /dev/null +++ b/raveos-plasma-theme/theme-data/system/raveos-logo.svg @@ -0,0 +1,2766 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.3