fixes for system config

This commit is contained in:
Louis Abel 2023-08-14 00:14:33 -07:00
parent fad12fcba7
commit 6bac02cc45
Signed by: label
GPG Key ID: 3331F061D1D9990E
2 changed files with 27 additions and 1 deletions

26
files/root/8-tmux.conf Normal file
View File

@ -0,0 +1,26 @@
set -g set-titles on
set -g set-titles-string "#I) #W"
# default statusbar colors
set -g status-style fg=white,bg=colour160
# default window title colors
set-window-option -g window-status-style bg=colour160,fg=white,default
# active window title colors
set-window-option -g window-status-current-style bg=default,fg=white,bright
# pane border
set -g pane-border-style fg=colour160
set -g pane-active-border-style fg=white,bg=default
setw -g aggressive-resize on
# command/message line colors
set -g message-style fg=white,bg=colour160,bright
#original set -g status-left "#[fg=white,bg=colour160,bright]#H #[default,fg=white,bg=colour160]|#[default]"
set -g status-left "#[fg=white,bg=colour160,bright]root@#h #[default,fg=white,bg=colour160]#[default]"
set -g status-left-length 12
set -g status-right "#[default,fg=white,bg=colour160]|#[fg=white,bg=colour160,bright]%a %m.%d %H:%M#[default]|#(cat /etc/redhat-release)#[default]"
set -g status-right-length 90
set -g status-keys vi
set -g default-terminal "tmux-256color"
setw -g mode-keys vi
set -g allow-rename off
set-option -g update-environment 'DBUS_SESSION_BUS_ADDRESS'

View File

@ -35,7 +35,7 @@
notify: restart_sshd notify: restart_sshd
- name: Ensure an empty file exists - name: Ensure an empty file exists
ansible.builtin.template: ansible.builtin.file:
state: touch state: touch
path: "/etc/ssh/sshd_config.d/99-end.conf" path: "/etc/ssh/sshd_config.d/99-end.conf"
owner: root owner: root