Go to file
Oliver Kennedy 2a80df16d9
Emoji+Unicode utility
2024-01-04 13:26:35 -05:00
data Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
scripts Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
src Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
.gitignore Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
Cargo.lock todos 2023-12-28 16:24:42 -05:00
Cargo.toml Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
README.md Add docs. 2023-12-30 10:15:49 -05:00
emoji.ron Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
install.sh Emoji+Unicode utility 2024-01-04 13:26:35 -05:00
pass.ron todos 2023-12-28 16:24:42 -05:00
todo.ron todos 2023-12-28 16:24:42 -05:00

README.md

Pop Launch Utils

Some simple launcher addons for pop-launcher.

This is part of my effort to learn Rust, so don't expect anything particularly fancy.

pass

Usage: pass [password]

Requires: The pass utility, which in turn requires xclip.

The utility will do a (case sensitive) search for the phrase password anywhere in the full path of a password file. Selecting a password will invoke pass -c on the file.

todo

Usage: todo [task description] @[date]

Requires: A config file ~/.config/pop_todo.json (see below)

This utility lets you quickly enter TODO items and send them as Tasks to a CalDAV server. The search phrase entered into the launcher will be parsed into a todo quick entry. Special prefixes are used to set fields of the todo.

  • @: Sets the due date. Dates can be entered as mm-dd-yyyy or using natural language, with _ instead of space. For example: @today, @tomorrow, @next_week, @july_20

Examples:

  • todo create a README file @tomorrow

Configuration

Create a file: ~/.config/pop_todo.json

{
    "url" : "https://your.caldav.server/remote.php/dav",
    "username" : "your_username",
    "password" : "super_secret",
    "calendars" : [
      "cal_id_1",
      "cal_id_2",
      "cal_id_3",
      "..."
    ]
}
  • url: The base CalDAV URL of your server; Tested with Nextcloud. In Nextcloud, you can get this URL by going to the Calendars page, and choosing settings.
  • username: Your CalDAV username. This is your Nextcloud username.
  • password: Your CalDAV password. In Nextcloud, you are encouraged to use an 'app-specific-password', which you can create through the Security settings panel.
  • calendars: A list of calendar-ids to include in the list. In Nextcloud, this is usually the fully lower case name of your calendar; You can get this by going to the calendar page and looking at the URL.