Want to contribute? Fork me on Codeberg.org!
A minimalist checklist menu for rofi (and also dmenu) https://aur.archlinux.org/packages/rofi-checklist-git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Elnu d301e1de63
Fix typo
3 years ago
LICENSE Initial commit 3 years ago
README.md /usr/local/bin is a preferred location 3 years ago
rofi-checklist.sh Fix typo 3 years ago
screenshot.png Add screenshot for README 3 years ago

README.md

screenshot

rofi-checklist

A minimalist checklist menu for rofi (and also dmenu).

Installation

Make sure you have Nerd Fonts installed for the icons to work.

Arch Linux

rofi-checklist is available on the AUR, rofi-checklist-git.

If you have the AUR helper yay installed, you can easily install rofi-checklist on your system using the following command:

yay -S rofi-checklist-git

rofi is a prequisite, and will be installed if it is not already.

This is my first package on the AUR, so my apologies if I've made any mistakes packaging it!

Other Linux distros

Ensure rofi is installed, then clone this repository,

git clone https://github.com/ElnuDev/rofi-checklist.git

and copy rofi-checklist.sh to /usr/local/bin/rofi-checklist.

Alternatively you can curl/wget the file straight to /usr/local/bin/rofi-checklist and add the executable flag manually.

Usage

  • rofi-checklist: Run rofi-checklist in automatic menu mode. Will use either rofi or dmenu depending on which is installed, preferring rofi.
  • rofi-checklist rofi: Run rofi-checklist in rofi mode. Will use rofi, and error even if dmenu is installed.
  • rofi-checklist dmenu: Run rofi-checklist in dmenu mode. Will use dmenu, and error even if rofi is installed.

rofi-checklist is best when mapped to a keybinding. Simply create a keybind that calls rofi-checklist.

For example, in i3, you can map it Alt+T (T for Tasks) by adding bindsym Mod1+T exec rofi-checklist to your ~/.config/i3/config file.

rofi-checklist is very simple to use. Once launched, it shows a list of tasks. If you press enter on an incomplete task, it is marked as complete. Selecting it again removes it from the list.

There are two actions at the top of the list, one for clearing all tasks and one for clearing only completed tasks. To add a new task, simply type a task name that doesn't exist yet and press enter.

rofi-checklist stores the checklist in ~/.rofi-checklist as a markdown-compliant format, such as the following:

- [x] Consume the blood of my enemies
- [x] Drink coffee
- [ ] Go to bed

This allows the checklist file to be used within other markdown editors. For example, you can make a symbolic link from ~/.rofi-checklist to somewhere in your Obsidian vault — allowing a nice integration into your knowledge management software. If there's interest, support for configurable/multiple checklist file sources might be added in the future.