docs: update CHANGELOG, README keybindings, gitignore ly/
Some checks failed
Integration Check CI / check (push) Has been cancelled
Continuous integration / Check (push) Has been cancelled
Continuous integration / Rustfmt (push) Has been cancelled
Continuous integration / Clippy (push) Has been cancelled

This commit is contained in:
2026-07-19 01:54:45 +05:30
parent d7c9951d6b
commit 1723ab53b8
3 changed files with 20 additions and 10 deletions

View File

@@ -65,9 +65,9 @@ pacman -S latchd
systemctl enable latchd
```
## command line
## Command Line
```
```bash
latchd [options]
-c, --config <file> config path (default: /etc/latchd/config.toml)
@@ -82,9 +82,9 @@ latchd [options]
--initial-path <path> override initial PATH value
```
## adding sessions
## Adding Sessions
drop executable scripts into the right folder and they show up in the switcher.
Drop executable scripts into the right folder and they show up in the switcher.
**x11** — put your xinitrc scripts in `/etc/latchd/wms/`:
@@ -113,7 +113,7 @@ tty sessions are added automatically if no other environments are found, or you
## configuring
the config lives at `/etc/latchd/config.toml`. all options are documented inline in the file. you can also use a `variables.toml` file with `$VAR` syntax:
The config lives at `/etc/latchd/config.toml`. all options are documented inline in the file. you can also use a `variables.toml` file with `$VAR` syntax:
```toml
# /etc/latchd/variables.toml
@@ -127,7 +127,7 @@ title_color_focused = "$accent"
border_color_focused = "$accent"
```
## debugging
## Debugging
three log files:
@@ -137,7 +137,7 @@ three log files:
run `latchd --show-config` to verify your configuration. run `latchd --preview` to test the login screen without leaving your current session.
## keybindings
## Keybindings
standard shell-style bindings in text fields:
@@ -151,6 +151,7 @@ standard shell-style bindings in text fields:
| ctrl+b/f | left/right |
| ctrl+p/n | up/down (previous/next field) |
| tab, shift+tab | next/prev field |
| down / up | next/prev field |
| left/right | previous/next session (switcher mode) |
| , / . | previous/next session (any mode) |
| f1, f2 | power controls |
@@ -158,7 +159,7 @@ standard shell-style bindings in text fields:
## source layout
```
```bash
src/
├── main.go entry point, cli, vt switching, session forking
├── auth/