fix(just): Don't allow installing Wallpaper Engine plugin under GNOME

This commit is contained in:
RJ Trujillo 2023-08-01 20:56:32 -06:00
parent bf3e0b9172
commit 8121d57446
2 changed files with 18 additions and 8 deletions

View File

@ -68,10 +68,15 @@ get-boilr:
chmod +x ~/Desktop/BoilR chmod +x ~/Desktop/BoilR
enable-wallpaper-engine: enable-wallpaper-engine:
echo 'Installing Wallpaper Engine Plugin for KDE...' #!/usr/bin/env bash
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 /tmp/wallpaper-engine-kde-plugin if grep -v "gnome" <<< $(rpm-ostree status); then
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin echo 'Installing Wallpaper Engine Plugin for KDE...'
rm -rf /tmp/wallpaper-engine-kde-plugin 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: deckswap-on:
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -51,10 +51,15 @@ enable-system76-scheduler:
rm -rf /tmp/kwin-system76-scheduler-integration rm -rf /tmp/kwin-system76-scheduler-integration
enable-wallpaper-engine: enable-wallpaper-engine:
echo 'Installing Wallpaper Engine Plugin for KDE...' #!/usr/bin/env bash
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --single-branch /tmp/wallpaper-engine-kde-plugin if grep -v "gnome" <<< $(rpm-ostree status); then
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin echo 'Installing Wallpaper Engine Plugin for KDE...'
rm -rf /tmp/wallpaper-engine-kde-plugin 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: set-btrfs-flags:
echo 'Configuring drive mount parameters...' echo 'Configuring drive mount parameters...'