Skip to content

Commit ae3189b

Browse files
sync from internal repository
1 parent a5f1d61 commit ae3189b

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,44 +34,44 @@ uvx dkdc-links
3434
dkdc-links [OPTIONS] [LINKS]...
3535
```
3636

37+
Configuration lives at `$HOME/.config/dkdc/links/config.toml`. Example:
38+
39+
```toml
40+
[aliases]
41+
gh = "github"
42+
li = "linkedin"
43+
44+
[links]
45+
github = "https://github.com"
46+
linkedin = "https://linkedin.com"
47+
48+
[groups]
49+
social = ["github", "linkedin"]
50+
```
51+
3752
Open links by name or alias:
3853

3954
```bash
4055
# Open a link
41-
dkdc-links link1
56+
dkdc-links github
4257

4358
# Open multiple links
44-
dkdc-links link1 link2
59+
dkdc-links gh linkedin
4560

4661
# Open a group
47-
dkdc-links dev
62+
dkdc-links social
4863
```
4964

5065
### Options
5166

5267
| Flag | Short | Description |
5368
|------|-------|-------------|
54-
| `--config` | `-c` | Open config file in editor |
55-
| `--app` | `-a` | Open desktop app (iced GUI, requires `app` feature) |
56-
| `--webapp` | `-w` | Open the webapp on localhost:1414 (requires `webapp` feature) |
69+
| `--config` | `-c` | Open configuration file in `$EDITOR` |
70+
| `--app` | `-a` | Open desktop app (requires `app` feature) |
71+
| `--webapp` | `-w` | Open the web app in browser (requires `webapp` feature) |
5772
| `--help` | `-h` | Print help |
5873
| `--version` | `-V` | Print version |
5974

6075
## Configuration
6176

62-
Config lives at `~/.config/dkdc/links/config.toml`. Run `dkdc-links -c` to edit it.
63-
64-
```toml
65-
[aliases]
66-
gh = "github"
67-
li = "linkedin"
68-
69-
[links]
70-
github = "https://github.com/lostmygithubaccount"
71-
linkedin = "https://linkedin.com/in/codydkdc"
72-
73-
[groups]
74-
social = ["github", "linkedin"]
75-
```
76-
7777
Aliases map to links, links map to URLs, and groups expand to multiple aliases or links.

dkdc-links-py/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dkdc-links-py/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "dkdc-links-py"
5-
version = "4.1.2"
5+
version = "4.1.3"
66
edition = "2021"
77
authors = ["Cody <cody@dkdc.dev>"]
88
license = "MIT"

dkdc-links/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ codegen-units = 1
77

88
[package]
99
name = "dkdc-links"
10-
version = "4.1.2"
10+
version = "4.1.3"
1111
edition = "2021"
1212
authors = ["Cody <cody@dkdc.dev>"]
1313
description = "Bookmarks in your terminal"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dkdc-links"
3-
version = "4.1.2"
3+
version = "4.1.3"
44
description = "Bookmarks in your terminal"
55
authors = [{ name = "Cody", email = "cody@dkdc.dev" }]
66
requires-python = ">=3.11"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)