aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Salomonsson <plattfot@gmail.com>2020-05-08 20:22:12 -0700
committerFredrik Salomonsson <plattfot@gmail.com>2020-05-08 20:22:12 -0700
commit8a73d9fc05a16e49f84a88944a4d788d1fc1432c (patch)
treee811bfbe05a9d15731cbc61a5d61cdcbcd0076ca
parent4b7ead7c10b0f1a017e6e4bab3a12c4bbbbd3109 (diff)
downloadpinentry-rofi-8a73d9fc05a16e49f84a88944a4d788d1fc1432c.tar.gz
Made pinentry-rofi a module
-rwxr-xr-xpinentry-rofi.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/pinentry-rofi.scm b/pinentry-rofi.scm
index 1d1b5a4..db54d21 100755
--- a/pinentry-rofi.scm
+++ b/pinentry-rofi.scm
@@ -1,5 +1,5 @@
#! /usr/bin/guile \
---no-auto-compile -e main -s
+--no-auto-compile -e (pinentry-rofi) -s
!#
;; Copyright © 2016 Quentin "Sardem FF7" Glidic
@@ -23,13 +23,14 @@
;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
;; THE SOFTWARE.
-(use-modules
- (ice-9 popen)
- (ice-9 textual-ports)
- (srfi srfi-9) ;; For records
- (ice-9 format)
- (ice-9 regex)
- (ice-9 getopt-long))
+(define-module (pinentry-rofi)
+ #:use-module (ice-9 popen)
+ #:use-module (ice-9 textual-ports)
+ #:use-module (srfi srfi-9) ;; For records
+ #:use-module (ice-9 format)
+ #:use-module (ice-9 regex)
+ #:use-module (ice-9 getopt-long)
+ #:export (main))
(define pinentry-rofi-guile-version "0.5.0")