Skip to content

Commit

Permalink
Specify Cage monitor argument in README
Browse files Browse the repository at this point in the history
Resolves #11.
  • Loading branch information
rharish101 committed Dec 22, 2024
1 parent 1b08bf4 commit 49acf16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ Edit the greetd config file (`/etc/greetd/config.toml`) to set regreet with a Wa
For example, if using Cage:
```toml
[default_session]
command = "cage -s -- regreet"
command = "cage -s -mlast -- regreet"
user = "greeter"
```
The -s argument enables VT switching in cage (0.1.2 and newer only), which is highly recommended to prevent locking yourself out.
The `-s` argument enables VT switching in cage (0.1.2 and newer only), which is highly recommended to prevent locking yourself out.
The `-mlast` argument tells Cage to use the last-connected monitor only, which is useful since ReGreet is a single-monitor application.

If using Sway, create a Sway config file (in a path such as `/etc/greetd/sway-config`) as follows:
```
Expand Down

0 comments on commit 49acf16

Please sign in to comment.