Skip to content

Commit

Permalink
update tmux config for vm
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Aug 30, 2023
1 parent b36be2f commit 0ed2d95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bash/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ alias pip-upgrade='pip3 list --outdated --format=freeze | grep -v "^\-e" | cut -

# KALI
# start konsole emulator attached to remote tmux session
alias kali-tmux='vagrant ssh -- -t tmux new-session -A -s kali-vm -c /vagrant'
alias kali-tmux='vagrant ssh -- -t tmux new-session -A -c /vagrant'
alias cutter='LIBGL_ALWAYS_INDIRECT=1 /vagrant/tools/Cutter-v2.2.0-Linux-x86_64.AppImage'
alias ffuf='ffuf -c -ic'
alias py='ipython3'
Expand Down
2 changes: 1 addition & 1 deletion .bash/ble.sh
7 changes: 4 additions & 3 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ bind-key C command-prompt -p "Name of new window:" "new-window -n '%%'"
bind-key r command-prompt -p "Rename window:" "rename-window '%%'"
bind-key R command-prompt -p "Rename session:" "rename-session '%%'"

bind $ source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind $ source-file ~/.tmux.conf \

bind S command-prompt -p "Session Name: " "new-session -s '%%'"

Expand Down Expand Up @@ -153,9 +153,10 @@ set-option -g status-interval 0
set-option -g status-justify "left"
set-option -g status-left-length 90
set-option -g status-right-length 90
set-option -g status-left "#[fg=colour3,bold]#{?#S,#S,}"
#     ff
set-option -g status-left "#{?#{==:#{SSH_CLIENT},},,#[fg=cyan bold]#H  #[bg=default]}#[fg=colour3,bold]#{?#S,#S,}"
# set-option -g status-right "#{prefix_highlight} #[fg=colour2]#{battery_icon_status} #{battery_color_charge_fg}#[bg=default]#{battery_percentage} #[fg=colour7]#{uptime} #{date} #[fg=colour14,bold]#{time}"
set-option -g status-right "#{prefix_highlight} #[fg=colour2]#{battery_icon_status} #{battery_color_charge_fg}#[bg=default]#{battery_percentage} #[fg=colour7]#{uptime} #[fg=colour0] #{sysstat_loadavg} #{sysstat_mem}#[fg=cyan,bold]#{?#{==:#{SSH_CLIENT},},, #H}"
set-option -g status-right "#{prefix_highlight} #[fg=colour2]#{battery_icon_status} #{battery_color_charge_fg}#[bg=default]#{battery_percentage} #[fg=colour7]#{uptime} #[fg=colour0] #{sysstat_loadavg} #{sysstat_mem}"

############################
# TERMINAL EMULATOR TITLES #
Expand Down

0 comments on commit 0ed2d95

Please sign in to comment.