File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
handle_tmux_automatic_start Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ enable_tmux_unit_on_boot() {
48
48
49
49
main () {
50
50
local options=" $( get_tmux_option " $auto_start_config_option " " ${auto_start_config_default} " ) "
51
- local systemd_tmux_server_start_cmd=" $( get_tmux_option " ${systemd_tmux_server_start_cmd } " " ${systemd_tmux_default_server_start_cmd } " ) "
51
+ local systemd_tmux_server_start_cmd=" $( get_tmux_option " ${systemd_tmux_server_start_cmd_option } " " ${systemd_tmux_server_start_cmd_default } " ) "
52
52
local tmux_start_script_path=" ${CURRENT_DIR} /linux_start_tmux.sh"
53
53
local systemd_unit_file=$( template " ${tmux_start_script_path} " " ${options} " )
54
54
echo " $systemd_unit_file " > " ${systemd_unit_file_path} "
Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ status_wrap_string="\#{value}"
35
35
36
36
systemd_service_name=" tmux.service"
37
37
systemd_unit_file_path=" $HOME /.config/systemd/user/${systemd_service_name} "
38
+
39
+ systemd_tmux_server_start_cmd_option=" @systemd_tmux_server_start_cmd"
40
+ systemd_tmux_server_start_cmd_default=" start-server"
You can’t perform that action at this time.
0 commit comments