commit 1b510a31e485fe203fa90fb398d2d4e2a780ff9c
parent f004b8ce4bf920044b49e7f0d06f59edeb556343
Author: lou woell <lou@repetitions.de>
Date: Mon, 30 Mar 2026 18:16:25 +0200
some documentation
Diffstat:
1 file changed, 31 insertions(+), 0 deletions(-)
diff --git a/linkhut-dmenu.scm b/linkhut-dmenu.scm
@@ -1,6 +1,37 @@
#!/bin/guile \
-l ./linkhut.scm -e main -s
!#
+;;; linkhut interaction via dmenu
+
+;; Copyright (C) 2026 lou woell <lou@repetitions.de>
+;;
+;; This library is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU Lesser General Public License as published by the Free
+;; Software Foundation; either version 3 of the License, or (at your option) any
+;; later version.
+;;
+;; This library is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+;; FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+;; details.
+;;
+;; You should have received a copy of the GNU Lesser General Public License
+;; along with this library; if not, write to the Free Software Foundation, Inc.,
+;; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+;;; Dependencies:
+;; - guile 3.0
+;; - linkhut account
+;; - some dmenu equivalent
+;;
+;; Executing actions other than opening the link from dmenu depends on bemenu
+;; style alternative actions communicated via exit code.
+
+;;; Features:
+;; - show dmenu of posts marked 'unread'
+;; - open link in browser via `xdg-open'
+;; - mark post as read
+;;; Code:
(use-modules
(linkhut)