summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-05-17 09:24:05 -0300
committerLudovic Courtès <ludo@gnu.org>2023-06-08 23:42:27 +0200
commit22e7ba67ddcc9ebceafbfb0b95dd38313a854c93 (patch)
tree937bca04c16ab07a6e1674c62e396e936007de8c /gnu/packages
parent5a761ff6ae0af5884dc242c01c046b5594a82922 (diff)
downloadguix-22e7ba67ddcc9ebceafbfb0b95dd38313a854c93.tar.gz
gnu: Add tmux-plugin-continuum.
* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tmux.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 55b7c7a498..4d9dea2396 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -319,6 +319,47 @@ Optional:
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
 
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1py8qfs2f93hkxhk039m813bjgcs5k54si662gx05g3czqy06pb7"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder (begin
+                     (use-modules (guix build utils))
+                     (let ((out (string-append %output
+                                 "/share/tmux-plugins/continuum/")))
+                       (mkdir-p out)
+                       (copy-recursively (assoc-ref %build-inputs "source")
+                                         out)))))
+      (synopsis "Continuous saving of tmux environment")
+      (description
+       "Features:
+
+@itemize
+@item continuous saving of tmux environment
+@item automatic tmux start when computer/server is turned on
+@item automatic restore when tmux is started
+@end itemize
+
+Together, these features enable uninterrupted tmux usage.  No matter the
+computer or server restarts, if the machine is on, tmux will be there how you
+left it off the last time it was used.")
+      (home-page "https://github.com/tmux-plugins/tmux-continuum/")
+      (license license:expat))))
+
 (define-public tmux-plugin-mem-cpu-load
   (package
     (name "tmux-plugin-mem-cpu-load")