diff --git a/README.md b/README.md index 0a308ee..3e3de17 100644 --- a/README.md +++ b/README.md @@ -138,10 +138,15 @@ Run the same command again to update. For a system-wide install, pass `--system` curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | sudo bash -s -- --system ``` -Uninstall a per-user installation with `--uninstall`; add `--system` and use `sudo` for a system-wide installation. Your settings are kept: +Uninstall a per-user installation with `--uninstall`. Your settings are kept: ```bash curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | bash -s -- --uninstall +``` + +For a system-wide installation, run: + +```bash curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | sudo bash -s -- --system --uninstall ``` @@ -174,6 +179,8 @@ Behavior to know: BrightSync also supports command-line commands through `BrightSync.exe` on Windows and `brightsync` on Linux. Examples below use `BrightSync.exe`. +On Windows, the [Flow Launcher plugin](https://github.com/bberka/Flow.Launcher.Plugin.BrightSync) lets you control brightness and BrightSync modes with the `bs` keyword. It requires Flow Launcher 2.x, Python 3, and BrightSync running in the tray. + Resident-aware behavior: - If BrightSync is already running in the tray, CLI commands are forwarded to the running app through a localhost-only command server. diff --git a/website/src/components/Download.astro b/website/src/components/Download.astro index 997cf15..4f44770 100644 --- a/website/src/components/Download.astro +++ b/website/src/components/Download.astro @@ -20,8 +20,24 @@ import Icon from './Icon.astro';

+
+

Install or update on Linux

+

Run this command to install the latest release for your CPU. Run it again to update.

+
curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | bash
+

For a system-wide install, add --system and run with sudo:

+
curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | sudo bash -s -- --system
+
+ +
+ Uninstall BrightSync +

For a per-user installation (your settings are kept):

+
curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | bash -s -- --uninstall
+

For a system-wide installation (your settings are kept):

+
curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | sudo bash -s -- --system --uninstall
+
+

Every release ships a BrightSync-SHA256SUMS.txt so you can verify downloads. Linux install commands are in the README and the{' '} diff --git a/website/src/components/Platforms.astro b/website/src/components/Platforms.astro index 7166a2a..3bc31e6 100644 --- a/website/src/components/Platforms.astro +++ b/website/src/components/Platforms.astro @@ -35,7 +35,10 @@ const linuxArch = ['x64', 'arm64', 'arm', 'riscv64*', 'loongarch64*', 'x86*'];

Windows 10 and 11

{windowsArch.map((a) => {a})}
-

Installer and portable zip. Native AOT build.

+

+ Installer and portable zip. Native AOT build. Use the Flow Launcher plugin + to control brightness and modes with the bs keyword (Flow Launcher 2.x, Python 3, and BrightSync running). +

Linux

diff --git a/website/src/data/site.ts b/website/src/data/site.ts index c5602dc..4c2c57e 100644 --- a/website/src/data/site.ts +++ b/website/src/data/site.ts @@ -111,7 +111,7 @@ export const faqs: Faq[] = [ { question: 'How does it update?', answer: - 'On Windows BrightSync checks GitHub releases and can download, verify the SHA-256 checksum and install the matching installer. On Linux it tells you a new version exists and you update through your package manager or by downloading the new package.', + 'On Windows BrightSync checks GitHub releases and can download, verify the SHA-256 checksum and install the matching installer. On Linux it tells you a new version exists; rerun the install command on this page to update, or use your package manager for a package installation.', }, { question: 'Is it free? Does it collect data?', diff --git a/website/src/styles/global.css b/website/src/styles/global.css index dc12ee7..9dd6233 100644 --- a/website/src/styles/global.css +++ b/website/src/styles/global.css @@ -440,6 +440,31 @@ td .mark { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; width: 100%; + margin-top: 2rem; +} + +.install-linux { + display: grid; + gap: 0.75rem; + margin-top: 2rem; +} + +.install-linux h3, +.install-linux p { + margin: 0; +} + +.uninstall-linux { + margin: 2rem 0 0; +} + +.uninstall-linux p { + margin-top: 0.8rem; +} + +.install-linux summary, +.uninstall-linux summary { + cursor: pointer; } .dl-list h3 {