diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 9ebf539..c023f58 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -246,20 +246,13 @@ launched with `exec-once` should fix all issues. Adjust the sleep durations to t # How do I export envvars for Hyprland? -As with any Display Server, Xorg included, you should probably make a script to -launch it, for example: +See [Environment Variables](../Configuring/Environment-variables.md) -```bash -export AMONG_US=1 -exec Hyprland +The `env` keyword is used for this purpose. For example: +```ini +env = XDG_CURRENT_DESKTOP,Hyprland ``` -and launch that. - -For Display Manager users, you can replace the `exec` entry in -the `.desktop` file to point to your script. You are recommended -to use absolute paths, such as `/home/username/Script` instead of `~/Script` - # How to disable middle-click paste? The middle-click paste action pastes from a separate buffer (primary buffer) than what the regular clipboard uses (clipboard buffer). Since the primary buffer is unrelated to the clipboard buffer, it's easy to simply keep the primary buffer empty, allowing the middle-click action to retain the rest of its functionality without having anything to paste. Run the following command (in your config with `exec-once`, for example) to achieve this: