You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-45Lines changed: 3 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ General configuration is defined in `config.json`, which ships together with the
98
98
},
99
99
"enableErrorLogging": false
100
100
},
101
-
"backgroundEffect": "acrylic",
101
+
"backgroundEffect": "inherit",
102
102
"enableAutoTiling": true,
103
103
"clickThroughByDefault": false,
104
104
"showFullDateByDefault": false,
@@ -341,50 +341,8 @@ In addition to colors, `config.css` provides variables that control other style
341
341
> Background effects do not work in Windows 11 (Currently, supports only Windows 10). To achieve similar background effects, use an external application like [Mica For Everyone](https://github.com/MicaForEveryone/MicaForEveryone).
342
342
> Click-through works fine in all platforms, however note that it completely disables interactivity with the Zebar widget.
343
343
344
-
To enable any of these two features, you need to recompile Zebar with a modification. You must have Rust and Node.js installed on your system.
345
-
346
-
1. Clone the Zebar repository: `git clone https://github.com/glzr-io/zebar.git`
347
-
2. Navigate to `packages/desktop/capabilities/widget.json` and add the following two permissions (don't forget the trailing commas!):
348
-
349
-
```json
350
-
{
351
-
...,
352
-
"permissions": [
353
-
...,
354
-
"core:window:allow-set-always-on-bottom",
355
-
"core:window:allow-set-always-on-top",
356
-
"core:window:allow-set-resizable",
357
-
"core:window:allow-set-position",
358
-
"core:window:allow-set-size",
359
-
"core:window:allow-set-title",
360
-
"core:window:allow-set-effects", <--- ADD THIS
361
-
"core:window:allow-set-ignore-cursor-events" <--- AND THIS
362
-
]
363
-
}
364
-
```
365
-
366
-
3. Run the following:
367
-
368
-
```bash
369
-
# Install pnpm (package manager).
370
-
npm i -g pnpm
371
-
372
-
# Install dependencies.
373
-
pnpm i
374
-
375
-
# Build settings UI
376
-
pnpm run --filter zebar --filter @zebar/settings-ui build
377
-
378
-
# Build Zebar
379
-
pnpm run build
380
-
```
381
-
382
-
4. Install the newly built Zebar from `target/release/bundle/msi/Zebar_..._x64_en-US.msi`
383
-
384
-
> [!NOTE]
385
-
> By default, Zebar uses the rust nightly channel. To install it properly, you need to run (after uninstalling nightly if you have it already installed) `rustup toolchain install nightly --allow-downgrade --profile minimal`, otherwise Zebar may not be able to build. If it still doesn't manage to build, try changing the channel in `rust-toolchain.toml` to `stable`.
386
-
387
-
After installation, follow these instructions:
344
+
> [!TIP] Update
345
+
> The permissions needed to enable these features have been added to upstream Zebar, no need to recompile Zebar anymore!
0 commit comments