-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
Hi everyone.
I am using Arch Linux(I had the same problem on Fedora), Hyprland and tmux, but after rebooting my computer my sessions are not restored, although on mac os it was not a problem. Here is my config
set -g prefix C-n
unbind C-b
bind-key C-n send-prefix
set-option -g default-terminal 'screen-256color'
set -g base-index 1 # start indexing windows at 1 instead of 0
set -g detach-on-destroy off # don't exit from tmux when closing a session
set -g escape-time 0 # zero-out escape time delay
set -g history-limit 1000000 # significantly increase history size
set -g mouse on # enable mouse support
set -g renumber-windows on # renumber all windows when any window is closed
set -g set-clipboard on # use system clipboard
set -g status-interval 2 # update status every 2 seconds
set -g status-left-length 200 # increase status line length
set -g status-position top # macOS / darwin style
set -g status-right '' # empty
set -g status-left '#[fg=blue,bold]#S'
set -ga status-left '#[fg=white,nobold]#(gitmux -cfg $HOME/.config/tmux/gitmux.conf "#{pane_current_path}")'
set -g pane-active-border-style 'fg=magenta,bg=default'
set -g pane-border-style 'fg=brightblack,bg=default'
set -g status-style 'bg=default' # transparent
set -g window-status-current-format '#[fg=magenta]#W'
set -g window-status-format '#[fg=gray]#W'
set-option -g default-terminal 'screen-256color'
set-option -g terminal-overrides ',xterm-256color:RGB'
set-window-option -g window-status-separator ' '
bind '\' split-window -c '#{pane_current_path}' -h
bind '"' split-window -c '#{pane_current_path}'
bind c new-window -c '#{pane_current_path}'
bind g new-window -n '' lazygit
bind-key -T copy-mode-vi 'C-\' select-pane -l
bind-key -T copy-mode-vi 'C-h' select-pane -L
bind-key -T copy-mode-vi 'C-j' select-pane -D
bind-key -T copy-mode-vi 'C-k' select-pane -U
bind-key -T copy-mode-vi 'C-l' select-pane -R
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key x kill-pane # skip "kill-pane 1? (y/n)" prompt (cmd+w)
bind '<' swap-window -t -1\; select-window -t -1
bind '>' swap-window -t +1\; select-window -t +1
set -g @fzf-url-fzf-options '-w 50% -h 50% --prompt=" " --border-label=" Open URL "'
set -g @fzf-url-history-limit '2000'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect' # persist tmux sessions after computer restart
set -g @plugin 'tmux-plugins/tmux-continuum' # automatically saves sessions for you every 16 minutes
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'joshmedeski/tmux-fzf-url'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-strategy-nvim 'session'
set -g @continuum-boot 'on'
set -g @continuum-restore 'on'
set -g @continuum-save-interval '1'
run '~/.config/tmux/plugins/tpm/tpm' # always at end of file
As far as I understand from the documentation, at the first startup a service should be created at the path
~/.config/systemd/user/tmux.service
But that's not happening
Metadata
Metadata
Assignees
Labels
No labels