summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--raveos-calamares-theme/PKGBUILD2
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml1
-rw-r--r--raveos-cosmic-theme/PKGBUILD2
-rw-r--r--raveos-cosmic-theme/theme-data/sddm/sddm.conf3
-rw-r--r--raveos-gnome-theme/PKGBUILD2
-rw-r--r--raveos-gnome-theme/theme-data/sddm/sddm.conf3
-rw-r--r--raveos-hyprland-theme/PKGBUILD2
-rw-r--r--raveos-hyprland-theme/theme-data/sddm/sddm.conf3
-rw-r--r--raveos-plasma-theme/PKGBUILD2
-rw-r--r--raveos-plasma-theme/theme-data/sddm/sddm.conf3
-rw-r--r--raveos-tools/PKGBUILD23
-rw-r--r--raveos-tools/rave105
-rw-r--r--raveos-tools/rave-completion3
13 files changed, 149 insertions, 5 deletions
diff --git a/raveos-calamares-theme/PKGBUILD b/raveos-calamares-theme/PKGBUILD
index 0f97fda..9d48d3d 100644
--- a/raveos-calamares-theme/PKGBUILD
+++ b/raveos-calamares-theme/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: AlexC <alexc@alexc.hu>
pkgname=raveos-calamares-theme
pkgver=2.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="RaveOS Calamares Theme"
arch=('any')
url="https://git.rp1.hu/RaveOS"
diff --git a/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml b/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml
index 73b9e20..db9c34c 100644
--- a/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml
+++ b/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml
@@ -27,6 +27,7 @@
- sddm-astronaut-theme
- pipewire-jack
- hblock
+ - raveos-tools
- name: "KDE Plasma Desktop - Alap desktop, nincs általunk témázva"
selected: false
expanded: false
diff --git a/raveos-cosmic-theme/PKGBUILD b/raveos-cosmic-theme/PKGBUILD
index 36eb655..814e2e5 100644
--- a/raveos-cosmic-theme/PKGBUILD
+++ b/raveos-cosmic-theme/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=raveos-cosmic-theme
pkgver=0.0.0
-pkgrel=6
+pkgrel=7
pkgdesc="RaveOS Cosmic theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-cosmic-theme/theme-data/sddm/sddm.conf b/raveos-cosmic-theme/theme-data/sddm/sddm.conf
index 29b5b95..5fc1f61 100644
--- a/raveos-cosmic-theme/theme-data/sddm/sddm.conf
+++ b/raveos-cosmic-theme/theme-data/sddm/sddm.conf
@@ -1,2 +1,5 @@
+[General]
+Numlock=on
+
[Theme]
Current = sddm-astronaut-theme
diff --git a/raveos-gnome-theme/PKGBUILD b/raveos-gnome-theme/PKGBUILD
index d234d5b..c4e2d80 100644
--- a/raveos-gnome-theme/PKGBUILD
+++ b/raveos-gnome-theme/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=raveos-gnome-theme
pkgver=0.0.0
-pkgrel=18
+pkgrel=19
pkgdesc="RaveOS GNOME theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-gnome-theme/theme-data/sddm/sddm.conf b/raveos-gnome-theme/theme-data/sddm/sddm.conf
index 29b5b95..5fc1f61 100644
--- a/raveos-gnome-theme/theme-data/sddm/sddm.conf
+++ b/raveos-gnome-theme/theme-data/sddm/sddm.conf
@@ -1,2 +1,5 @@
+[General]
+Numlock=on
+
[Theme]
Current = sddm-astronaut-theme
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD
index ce5422f..e36e244 100644
--- a/raveos-hyprland-theme/PKGBUILD
+++ b/raveos-hyprland-theme/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=raveos-hyprland-theme
pkgver=0.0.0
-pkgrel=8
+pkgrel=9
pkgdesc="RaveOS Hyprland theme payload and installer (includes DankMaterialShell)"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-hyprland-theme/theme-data/sddm/sddm.conf b/raveos-hyprland-theme/theme-data/sddm/sddm.conf
index 29b5b95..5fc1f61 100644
--- a/raveos-hyprland-theme/theme-data/sddm/sddm.conf
+++ b/raveos-hyprland-theme/theme-data/sddm/sddm.conf
@@ -1,2 +1,5 @@
+[General]
+Numlock=on
+
[Theme]
Current = sddm-astronaut-theme
diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD
index 7af9b50..b8da3c3 100644
--- a/raveos-plasma-theme/PKGBUILD
+++ b/raveos-plasma-theme/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=raveos-plasma-theme
pkgver=0.0.0
-pkgrel=30
+pkgrel=31
pkgdesc="RaveOS Plasma theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-plasma-theme/theme-data/sddm/sddm.conf b/raveos-plasma-theme/theme-data/sddm/sddm.conf
index 29b5b95..5fc1f61 100644
--- a/raveos-plasma-theme/theme-data/sddm/sddm.conf
+++ b/raveos-plasma-theme/theme-data/sddm/sddm.conf
@@ -1,2 +1,5 @@
+[General]
+Numlock=on
+
[Theme]
Current = sddm-astronaut-theme
diff --git a/raveos-tools/PKGBUILD b/raveos-tools/PKGBUILD
new file mode 100644
index 0000000..6a9752f
--- /dev/null
+++ b/raveos-tools/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=raveos-tools
+pkgver=1.0.0
+pkgrel=1
+arch=('any')
+url="https://git.rp1.hu/RaveOS/RaveOS-PKGBUILD"
+license=('custom')
+depends=('pacman' 'flatpak')
+source=()
+sha256sums=()
+
+BUILDDIR="${startdir}/build"
+PKGDEST="${startdir}/build"
+SRCDEST="${startdir}/build"
+SRCPKGDEST="${startdir}/build"
+LOGDEST="${startdir}/build"
+
+package() {
+ install -Dm755 "${startdir}/rave" \
+ "${pkgdir}/usr/bin/rave"
+
+ install -Dm644 "${startdir}/rave-completion" \
+ "${pkgdir}/usr/share/bash-completion/completions/rave"
+}
diff --git a/raveos-tools/rave b/raveos-tools/rave
new file mode 100644
index 0000000..4d8c1ca
--- /dev/null
+++ b/raveos-tools/rave
@@ -0,0 +1,105 @@
+#!/usr/bin/env bash
+
+bold=$(tput bold)
+normal=$(tput sgr0)
+yellow=$(tput setaf 3)
+red=$(tput setaf 1)
+
+CALLCOMMAND="rave"
+appver="1.0.0"
+
+function print_help() {
+ echo "USAGE:"
+ echo " $CALLCOMMAND [command]"
+ echo ""
+ echo "COMMANDS:"
+ echo " update Sync package databases"
+ echo " upgrade Full system upgrade (pacman + flatpak + cleanup)"
+ echo " install <pkg> Install a package"
+ echo " remove <pkg> Remove a package"
+ echo " search <pkg> Search for a package"
+ echo " autoremove Remove orphaned packages"
+ echo " clean Clean package cache"
+ echo " list-installed List installed packages"
+ echo " show <pkg> Show package info"
+ echo " install-flatpak Install a flatpak"
+ echo " remove-flatpak Remove a flatpak"
+ echo " search-flatpak Search flatpak"
+ echo " update-flatpak Update flatpak packages"
+ echo " version Show version"
+ echo " help Show this help"
+}
+
+if [[ -z "$1" ]]; then
+ echo "${red}${bold}ERROR:${normal}${red} no command specified${normal}"
+ echo "Run '${CALLCOMMAND} help' for usage"
+ exit 1
+fi
+
+case ${1,,} in
+ update)
+ sudo pacman -Sy
+ ;;
+ upgrade)
+ sudo pacman -Syu --noconfirm
+ sudo pacman -Rns $(pacman -Qtdq 2>/dev/null) --noconfirm 2>/dev/null || true
+ sudo pacman -Sc --noconfirm
+ flatpak update -y
+ flatpak uninstall --unused -y
+ sudo flatpak update -y
+ sudo flatpak uninstall --unused -y
+ command -v hblock >/dev/null 2>&1 && hblock
+ echo "${bold}${yellow}RaveOS fully updated!${normal}"
+ ;;
+ install)
+ shift
+ sudo pacman -S "$@"
+ ;;
+ remove)
+ shift
+ sudo pacman -R "$@"
+ ;;
+ search)
+ shift
+ pacman -Ss "$@"
+ ;;
+ autoremove)
+ sudo pacman -Rns $(pacman -Qtdq 2>/dev/null) --noconfirm 2>/dev/null || echo "No orphans found."
+ ;;
+ clean)
+ sudo pacman -Sc --noconfirm
+ ;;
+ list-installed)
+ pacman -Q
+ ;;
+ show)
+ shift
+ pacman -Qi "$@"
+ ;;
+ install-flatpak)
+ shift
+ flatpak install "$@"
+ ;;
+ remove-flatpak)
+ shift
+ flatpak remove "$@"
+ ;;
+ search-flatpak)
+ shift
+ flatpak search "$@"
+ ;;
+ update-flatpak)
+ flatpak update
+ ;;
+ version|-v|--version)
+ echo "rave $appver"
+ ;;
+ help|-h|--help)
+ print_help
+ ;;
+ *)
+ echo "${red}${bold}ERROR:${normal}${red} unknown command '$1'${normal}"
+ echo "Run '${CALLCOMMAND} help' for usage"
+ exit 1
+ ;;
+esac
diff --git a/raveos-tools/rave-completion b/raveos-tools/rave-completion
new file mode 100644
index 0000000..c513440
--- /dev/null
+++ b/raveos-tools/rave-completion
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+complete -W "update upgrade install remove search autoremove clean list-installed show install-flatpak remove-flatpak search-flatpak update-flatpak version help" rave