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