Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/period-double-space/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Period Double Space
This package replicates the behavior of macOS and mobile keyboards, allowing you to double tap the space key to create a period.

## Credits

I, yellowwinner, only asked a question and packaged it. By default [**Espanso**](https://espanso.org/) does not let you have an empty trigger so after a couple of attempts this is the workaround. As far as I can tell this just works without issue. Thank you to `Archigos`, `.joh6nn` and `smeech0` on the [**Espanso Discord**](https://discord.gg/4QARseMS6k) for helping me get this to work.

#### This package has only been tested on PikaOS 4 (Debian Sid)
7 changes: 7 additions & 0 deletions packages/period-double-space/0.1.0/_manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "period-double-space"
title: "Period Double Space"
description: Add period with double-space, like macOS or smartphones.
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description reads a bit grammatically off (“Add period…”). Consider adjusting to something like “Add a period with a double-space, like macOS or smartphones.” since this shows up as user-facing package metadata.

Suggested change
description: Add period with double-space, like macOS or smartphones.
description: Add a period with a double-space, like macOS or smartphones.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

@smeech smeech Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot is wrong - the replacement doesn't add a period with a double-space.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah - perhaps you mean "use double-space to add a period"?

homepage: "https://github.com/yellowwinner/period-double-space"
version: 0.1.0
author: yellowwinner
tags: ["utility", "english", "symbols"]
3 changes: 3 additions & 0 deletions packages/period-double-space/0.1.0/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
matches:
- regex: "(\ \ )"
Copy link
Copy Markdown
Collaborator

@smeech smeech Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you kindly amend this to the simplest - regex: ' ' or "\ \ " as suggested in https://discord.com/channels/884163483409731584/1013916990760554608/1466710043415150715, please, or shall I?

Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regex: "(\ \ )" is likely invalid YAML: in YAML double-quoted strings, backslash starts an escape sequence, and \ is typically treated as an unknown/invalid escape. This can break parsing and prevent the package from loading. Use a YAML-safe representation (e.g., single quotes and/or a clearer regex like {2}) so the file parses correctly and the intended “two spaces” match is unambiguous.

Suggested change
- regex: "(\ \ )"
- regex: '( {2})'

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

@smeech smeech Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not invalid, but as I pointed out the brackets are not needed. ' {2}' is perhaps the clearest of the alternatives, however.

replace: ". "
Loading