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...'