Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down Expand Up @@ -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.
Expand Down
16 changes: 16 additions & 0 deletions website/src/components/Download.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,24 @@ import Icon from './Icon.astro';
</p>
</div>

<div class="install-linux">
<h3>Install or update on Linux</h3>
<p class="muted">Run this command to install the latest release for your CPU. Run it again to update.</p>
<pre><code>curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | bash</code></pre>
<p class="muted">For a system-wide install, add <code>--system</code> and run with <code>sudo</code>:</p>
<pre><code>curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | sudo bash -s -- --system</code></pre>
</div>

<div class="dl-list" data-download-list hidden></div>

<details class="uninstall-linux">
<summary>Uninstall BrightSync</summary>
<p class="muted">For a per-user installation (your settings are kept):</p>
<pre><code>curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | bash -s -- --uninstall</code></pre>
<p class="muted">For a system-wide installation (your settings are kept):</p>
<pre><code>curl -fsSL https://raw.githubusercontent.com/bberka/BrightSync/master/install.sh | sudo bash -s -- --system --uninstall</code></pre>
</details>

<p class="muted" style="margin-top:1.5rem">
Every release ships a <code>BrightSync-SHA256SUMS.txt</code> so you can verify downloads. Linux install
commands are in the <a href="https://github.com/bberka/BrightSync#linux" rel="noopener">README</a> and the{' '}
Expand Down
5 changes: 4 additions & 1 deletion website/src/components/Platforms.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ const linuxArch = ['x64', 'arm64', 'arm', 'riscv64*', 'loongarch64*', 'x86*'];
<div class="card">
<h3>Windows 10 and 11</h3>
<div class="tags">{windowsArch.map((a) => <span class="pill">{a}</span>)}</div>
<p class="muted">Installer and portable zip. Native AOT build.</p>
<p class="muted">
Installer and portable zip. Native AOT build. Use the <a href="https://github.com/bberka/Flow.Launcher.Plugin.BrightSync" rel="noopener">Flow Launcher plugin</a>
to control brightness and modes with the <code>bs</code> keyword (Flow Launcher 2.x, Python 3, and BrightSync running).
</p>
</div>
<div class="card">
<h3>Linux</h3>
Expand Down
2 changes: 1 addition & 1 deletion website/src/data/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?',
Expand Down
25 changes: 25 additions & 0 deletions website/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading