mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,22 @@
|
||||
[metadata]
|
||||
name = "tmux-sessions"
|
||||
description = "List and manage tmux sessions"
|
||||
requirements = ["tmux"]
|
||||
|
||||
[source]
|
||||
command = "tmux list-sessions -F '#{session_name}\t#{session_windows} windows\t#{session_created_string}'"
|
||||
display = "{split:\t:0} ({split:\t:1})"
|
||||
output = "{split:\t:0}"
|
||||
|
||||
[preview]
|
||||
command = "tmux capture-pane -t '{split:\t:0}' -p 2>/dev/null || echo 'No preview available'"
|
||||
|
||||
[actions.attach]
|
||||
description = "Attach to the selected session"
|
||||
command = "tmux attach-session -t '{split:\t:0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.kill]
|
||||
description = "Kill the selected session"
|
||||
command = "tmux kill-session -t '{split:\t:0}'"
|
||||
mode = "fork"
|
||||
Reference in new issue
Block a user