Skip to content

Commit

Permalink
Environment-variables: add information on how to export variables usi…
Browse files Browse the repository at this point in the history
…ng UWSM (#874)
  • Loading branch information
izmyname authored Nov 17, 2024
1 parent ccfe191 commit 7fc01c1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pages/Configuring/Environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ weight: 15
title: Environment variables
---

{{< callout type=info >}}

[uwsm](../../Useful-Utilities/Systemd-start) users should avoid placing environment variables in the `hyprland.conf` file. Instead, use `~/.config/uwsm/env` for theming, xcursor, nvidia and toolkit variables, and `~/.config/uwsm/env-hyprland` for `HYPR*` and `AQ_*` variables. The format is `export KEY=VAL`.

```plain
export XCURSOR_SIZE=24
```

See [uwsm readme](https://github.com/Vladimir-csp/uwsm?tab=readme-ov-file#4-environments-and-shell-profile) for additional information.

{{< /callout >}}

You can use the `env` keyword to set environment variables prior to the
initialization of the Display Server, e.g.:

Expand Down

0 comments on commit 7fc01c1

Please sign in to comment.