From 8121d5744694087c033cdf08d418a772b7c9f03d Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Tue, 1 Aug 2023 20:56:32 -0600 Subject: [PATCH] fix(just): Don't allow installing Wallpaper Engine plugin under GNOME --- .../deck/shared/usr/share/ublue-os/just/custom.just | 13 +++++++++---- .../shared/usr/share/ublue-os/just/custom.just | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/system_files/deck/shared/usr/share/ublue-os/just/custom.just b/system_files/deck/shared/usr/share/ublue-os/just/custom.just index a7b6820b..2980c82e 100644 --- a/system_files/deck/shared/usr/share/ublue-os/just/custom.just +++ b/system_files/deck/shared/usr/share/ublue-os/just/custom.just @@ -68,10 +68,15 @@ get-boilr: chmod +x ~/Desktop/BoilR enable-wallpaper-engine: - echo 'Installing Wallpaper Engine Plugin for KDE...' - git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 /tmp/wallpaper-engine-kde-plugin - plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin - rm -rf /tmp/wallpaper-engine-kde-plugin + #!/usr/bin/env bash + if grep -v "gnome" <<< $(rpm-ostree status); then + echo 'Installing Wallpaper Engine Plugin for KDE...' + git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 /tmp/wallpaper-engine-kde-plugin + plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin + rm -rf /tmp/wallpaper-engine-kde-plugin + else + echo "This is only supported under KDE." + fi deckswap-on: #!/usr/bin/env bash diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/custom.just b/system_files/desktop/shared/usr/share/ublue-os/just/custom.just index cb926366..6ea9a996 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/custom.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/custom.just @@ -51,10 +51,15 @@ enable-system76-scheduler: rm -rf /tmp/kwin-system76-scheduler-integration enable-wallpaper-engine: - echo 'Installing Wallpaper Engine Plugin for KDE...' - git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --single-branch /tmp/wallpaper-engine-kde-plugin - plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin - rm -rf /tmp/wallpaper-engine-kde-plugin + #!/usr/bin/env bash + if grep -v "gnome" <<< $(rpm-ostree status); then + echo 'Installing Wallpaper Engine Plugin for KDE...' + git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 /tmp/wallpaper-engine-kde-plugin + plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin + rm -rf /tmp/wallpaper-engine-kde-plugin + else + echo "This is only supported under KDE." + fi set-btrfs-flags: echo 'Configuring drive mount parameters...'