Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
K4zoku committed Feb 9, 2022
1 parent 9f90c9b commit 48ca00f
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,42 @@ basher install K4zoku/nowm
## ⌨️ Usage

#### 🖥️ Launch from TTY

##### Automatically

Simply launch it from the [tty](https://en.wikipedia.org/wiki/Tty_(Unix)):

```sh
nowm
```

this will launch NoWM inside X display server with `startx`. But you could also do:
this will launch NoWM inside X display server with `startx`.

##### Manually

```sh
startx $(which nowm)
```

You can put NoWM inside `.xinitrc`:
or

```sh
xinit $(which nowm)
```

or

You can put NoWM inside `~/.xinitrc`:

```sh
exec nowm
```

> _If you using a display manager then create a file called `nowm.desktop` in `/usr/share/xsessions` with following content:._
### Using display manager

If you using a display manager, create a file called `nowm.desktop` in `/usr/share/xsessions` with following content:

```ini
[Desktop Entry]
Encoding=UTF-8
Expand All @@ -94,7 +111,7 @@ Type=XSession

## ⚙️ Configuration

To config NoWM, You can make a *executable file* at `~/.config/nowm/autostart`, NoWM will automatically start it at runtime.
To config NoWM, you can make a *executable file* at `~/.config/nowm/autostart`, NoWM will automatically start it at runtime.

> _Check out some [examples](examples)._
Expand Down

0 comments on commit 48ca00f

Please sign in to comment.