mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
parent
ad8b644de1
commit
23220d43f3
2 changed files with 12 additions and 2 deletions
|
@ -6,7 +6,7 @@ let
|
|||
|
||||
cfg = config.programs.tmux;
|
||||
|
||||
pluginName = p: if types.package.check p then p.name else p.plugin.name;
|
||||
pluginName = p: if types.package.check p then p.pname else p.plugin.pname;
|
||||
|
||||
pluginModule = types.submodule {
|
||||
options = {
|
||||
|
@ -302,7 +302,9 @@ in
|
|||
# Load plugins with Home Manager #
|
||||
# --------------------------------------------- #
|
||||
|
||||
${(concatMapStringsSep "\n" (p: ''
|
||||
${(concatMapStringsSep "\n\n" (p: ''
|
||||
# ${pluginName p}
|
||||
# ---------------------
|
||||
${p.extraConfig or ""}
|
||||
run-shell ${
|
||||
if types.package.check p
|
||||
|
|
|
@ -34,13 +34,21 @@ set -g history-limit 2000
|
|||
# Load plugins with Home Manager #
|
||||
# --------------------------------------------- #
|
||||
|
||||
# tmuxplugin-logging
|
||||
# ---------------------
|
||||
|
||||
run-shell @tmuxplugin_logging_rtp@
|
||||
|
||||
|
||||
# tmuxplugin-prefix-highlight
|
||||
# ---------------------
|
||||
|
||||
run-shell @tmuxplugin_prefix_highlight_rtp@
|
||||
|
||||
|
||||
# tmuxplugin-fzf-tmux-url
|
||||
# ---------------------
|
||||
|
||||
run-shell @tmuxplugin_fzf_tmux_url_rtp@
|
||||
|
||||
# ============================================= #
|
||||
|
|
Loading…
Reference in a new issue