Dotfiles/site-modules/core/manifests/tmux.pp
Ade Attwood 894320aa4d chore(tmux): move themes to base16-tmux
This requires no extra config other than what I already have in the
base-16-shell. If this is installed then its automatically loaded.
2023-04-25 20:56:48 +01:00

48 lines
1.2 KiB
Puppet

#
# Config for tmux terminal multiplexer
#
# Author Ade Attwood <code@adeattwood.co.uk>
# Updated 2018-07-16
#
class core::tmux {
exec { 'make tmux dir':
creates => "${user_home}/.tmux/plugins",
path => '/usr/bin:/usr/sbin:/bin',
command => "mkdir -p ${user_home}/.tmux/plugin",
}
file { "${user_home}/.tmux.conf":
ensure => 'link',
owner => $user,
target => find_file('core/tmux.conf'),
}
vcsrepo { "${user_home}/.tmux/plugins/tmux-yank":
ensure => latest,
source => 'https://github.com/tmux-plugins/tmux-yank.git',
provider => git,
revision => 'master',
}
vcsrepo { "${user_home}/.tmux/plugins/tmux-open":
ensure => latest,
source => 'https://github.com/tmux-plugins/tmux-open.git',
provider => git,
revision => 'master',
}
vcsrepo { "${user_home}/.tmux/plugins/tmux-copycat":
ensure => latest,
source => 'https://github.com/tmux-plugins/tmux-copycat.git',
provider => git,
revision => 'master',
}
vcsrepo { "${user_home}/.tmux/plugins/base16-tmux":
ensure => latest,
source => 'https://github.com/tinted-theming/base16-tmux.git',
provider => git,
revision => 'main',
}
}