From d171b8fd261b5862fd2f7bd01717f646d1728b80 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 27 Sep 2023 22:58:53 -0700 Subject: [PATCH] feat: Add option to download Wootility to Bazzite Portal. --- .../shared/usr/share/ublue-os/firstboot/yafti.yml | 5 +++++ .../shared/usr/share/ublue-os/just/60-custom.just | 15 +++++++++++++-- .../shared/usr/share/ublue-os/firstboot/yafti.yml | 5 +++++ .../shared/usr/share/ublue-os/just/60-custom.just | 11 +++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml index e3c1439b..7453fe6e 100644 --- a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -81,6 +81,11 @@ screens: default: false packages: - Install Solaar: just --unstable install-solaar + Wootility: + description: A configurator for Wooting keyboards + default: false + packages: + - Retrieve Wootility: just --unstable get-wootility Resilio Sync: description: A file synchronization utility powered by BitTorrent default: false diff --git a/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just b/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just index 64907e95..639b046d 100644 --- a/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just +++ b/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just @@ -98,13 +98,24 @@ install-fleek-themes: get-greenlight: #!/usr/bin/env bash if grep -q 'it.mijorus.gearlever' <<< $(flatpak list); then - wget https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta12/Greenlight-2.0.0-beta12.AppImage -O $HOME/Downloads/Greenlight.AppImage + wget "https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta12/Greenlight-2.0.0-beta12.AppImage" -O $HOME/Downloads/Greenlight.AppImage flatpak run it.mijorus.gearlever $HOME/Downloads/Greenlight.AppImage else - wget https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta12/Greenlight-2.0.0-beta12.AppImage -O $HOME/Desktop/Greenlight.AppImage + wget "https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta12/Greenlight-2.0.0-beta12.AppImage" -O $HOME/Desktop/Greenlight.AppImage chmod +x $HOME/Desktop/Greenlight.AppImage fi +# Install Wootility for configuring Wooting Keyboards +get-wootility: + #!/usr/bin/env bash + if grep -q 'it.mijorus.gearlever' <<< $(flatpak list); then + wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Downloads/wootility.AppImage + flatpak run it.mijorus.gearlever $HOME/Downloads/wootility.AppImage + else + wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Desktop/wootility.AppImage + chmod +x $HOME/Desktop/wootility.AppImage + fi + # Install BoilR, a Steam Library and art management tool get-boilr: #!/usr/bin/env bash diff --git a/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml index 1b584172..fa92722a 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -62,6 +62,11 @@ screens: default: false packages: - Install Solaar: just --unstable install-solaar + Wootility: + description: A configurator for Wooting keyboards + default: false + packages: + - Retrieve Wootility: just --unstable get-wootility Resilio Sync: description: A file synchronization utility powered by BitTorrent default: false diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just b/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just index 916542f4..2c22f223 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just @@ -80,6 +80,17 @@ get-greenlight: chmod +x $HOME/Desktop/Greenlight.AppImage fi +# Install Wootility for configuring Wooting Keyboards +get-wootility: + #!/usr/bin/env bash + if grep -q 'it.mijorus.gearlever' <<< $(flatpak list); then + wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Downloads/wootility.AppImage + flatpak run it.mijorus.gearlever $HOME/Downloads/wootility.AppImage + else + wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Desktop/wootility.AppImage + chmod +x $HOME/Desktop/wootility.AppImage + fi + # Enable Supergfxctl, a Nvidia GPU switcher for hybrid laptops enable-supergfxctl: #!/usr/bin/env bash