mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-11-14 06:08:47 +00:00
Added defaults for tmux start command variable.
This commit is contained in:
parent
05a4a827e5
commit
a9cbf68546
@ -48,7 +48,7 @@ enable_tmux_unit_on_boot() {
|
||||
|
||||
main() {
|
||||
local options="$(get_tmux_option "$auto_start_config_option" "${auto_start_config_default}")"
|
||||
local systemd_tmux_server_start_cmd="$(get_tmux_option "${systemd_tmux_server_start_cmd}" "${systemd_tmux_default_server_start_cmd}" )"
|
||||
local systemd_tmux_server_start_cmd="$(get_tmux_option "${systemd_tmux_server_start_cmd_option}" "${systemd_tmux_server_start_cmd_default}" )"
|
||||
local tmux_start_script_path="${CURRENT_DIR}/linux_start_tmux.sh"
|
||||
local systemd_unit_file=$(template "${tmux_start_script_path}" "${options}")
|
||||
echo "$systemd_unit_file" > "${systemd_unit_file_path}"
|
||||
|
@ -35,3 +35,6 @@ status_wrap_string="\#{value}"
|
||||
|
||||
systemd_service_name="tmux.service"
|
||||
systemd_unit_file_path="$HOME/.config/systemd/user/${systemd_service_name}"
|
||||
|
||||
systemd_tmux_server_start_cmd_option="@systemd_tmux_server_start_cmd"
|
||||
systemd_tmux_server_start_cmd_default="start-server"
|
||||
|
Loading…
Reference in New Issue
Block a user