From 05f29e0dc8f9397e241b3d3462b517b013d06b20 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 12 Mar 2021 17:46:24 +0100 Subject: [PATCH 1/2] Fix the file header It missed the .el extension, which is required if you want to install it via Quelpa (and probably with `package.el` later. --- org-clock-waybar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-clock-waybar.el b/org-clock-waybar.el index 3d4eda0..a186dbd 100644 --- a/org-clock-waybar.el +++ b/org-clock-waybar.el @@ -1,4 +1,4 @@ -;;; org-clock-waybar --- Summary +;;; org-clock-waybar.el --- Summary ;; Copyright (C) 2021 Gergely Polonkai -- 2.49.1 From 17377bc05033ff67e4c6c443c8883cd582625632 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 12 Mar 2021 17:52:38 +0100 Subject: [PATCH 2/2] Add installation instructions for quelpa/quelpa-use-package --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 4973baf..279c35e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,27 @@ You can set the file to be written by customizing `org-clock-waybar-filename`; i `$XDG_CACHE_HOME/waybar-current-task.json` (`$XDG_CACHE_HOME` defaults to `$HOME/.cache` on XDG compatible systems, like Linux.) +### Quelpa + +If you only have [`quelpa`](https://github.com/quelpa/quelpa) installed: + +```elisp +(quelpa + '(org-clock-waybar + :fetcher git + :url "https://gitea.polonkai.eu/gergely/org-clock-waybar.git")) +``` + +or, if you have [`quelpa-use-package`](https://github.com/quelpa/quelpa-use-package) installed, +too: + +```elisp +(quelpa-use-package org-clock-waybar + :quelpa (org-clock-waybar + :fetcher git + :url "https://gitea.polonkai.eu/gergely/org-clock-waybar.git")) +``` + ## Waybar configuration To add the current task to Waybar, add this snippet to your config: -- 2.49.1