diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-07-15 12:03:58 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-07-15 12:03:58 -0500 |
| commit | d2aecd69c17fa64305c07333686576152432993d (patch) | |
| tree | 2f52c7808a6cbd57ef60284947d3728a38cfab34 /tmux-tsunami/modules/common/sessionizer2.nix | |
| parent | f5ef0cf848e65d4fea2be8dee7bc1c72ad67046f (diff) | |
changes.
Diffstat (limited to 'tmux-tsunami/modules/common/sessionizer2.nix')
| -rw-r--r-- | tmux-tsunami/modules/common/sessionizer2.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tmux-tsunami/modules/common/sessionizer2.nix b/tmux-tsunami/modules/common/sessionizer2.nix deleted file mode 100644 index 5f159df..0000000 --- a/tmux-tsunami/modules/common/sessionizer2.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - pkgs, - config, - lib, - tsunamiLib, - std, - ... -}: let - inherit (tsunamiLib) scriptPath filePath; - cfg = config.tsunami.sessionizer2; -in { - options.tsunami.sessionizer2 = { - enable = lib.mkOption { - type = lib.types.bool; - default = true; - }; - }; - - config = lib.mkIf cfg.enable { - tsunami.keys.leader = [ - { - name = "New Session"; - key = "C-n"; - exec = "run-shell ${scriptPath "sessions-menu"}"; - } - ]; - - tsunami.files = { - "broot_sessionizer2_launcher" = std.serde.toTOML { - imports = ["~/.config/broot/conf.hjson"]; # inherit from user's config - verbs = [ - { - invocation = "tmux-window"; - external = ["tmux" "new-window" "-c" "#{?@default-path,#{@default-path},#{pane_current_path}}" "$EDITOR '{file}'"]; - key = "enter"; - apply_to = "file"; - leave_broot = false; - } - { - invocation = "tmux-window"; - external = ["tmux" "new-window" "-c" "#{?@default-path,#{@default-path},#{pane_current_path}}" "$EDITOR '{file}'"]; - key = "enter"; - apply_to = "file"; - leave_broot = false; - } - ]; - }; - }; - }; -} |
