update bashrc

This commit is contained in:
Sophie Schiller 2021-02-20 17:32:09 +01:00
parent f8bea96752
commit 36b6e801e5
3 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1 @@
export PS1='\[\e[1;34m\][\[\e[1;32m\]'"$__node_name"'\[\e[1;34m\]][\[\e[1;32m\]\u\[\e[1;34m\]@\[\e[1;32m\]\w\[\e[1;34m\]] $PRODWARNING> \[\e[0m\]'

View file

@ -32,7 +32,7 @@ set -g status-left-length 14
set -g status-right-length 140 set -g status-right-length 140
#set -g status-left '#[default]〘 ' #set -g status-left '#[default]〘 '
set -g status-left '#[fg=green,bright]#(uname -r | cut -c 1-8)#[default]〘' set -g status-left '#[fg=green,bright]#(uname -r | cut -c 1-8)#[default]〘'
set -g status-right "〙🔋 #(upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep time | awk '{print $4, $5}' | sed 's/hours/h/; s/minutes/m/; s/,/\./') #[fg=red,bg=default]⇑#(uptime -p |sed 's/\ week/w/; s/\ days/d/; s/\ day/d/; s/\ hours/h/; s/\ minutes/m/; s/\ minute/m/; s/,//g; s/up//') #[fg=green,bg=default]⎋ #(cat /proc/loadavg | awk '{print $1,$2,$3}') #[fg=blue] %Y-%m-%d #[fg=white,bg=default] %H:%M #[fg=green] #H" set -g status-right "〙#[fg=red,bg=default]⇑#(uptime -p |sed 's/\ week/w/; s/\ days/d/; s/\ day/d/; s/\ hours/h/; s/\ minutes/m/; s/\ minute/m/; s/,//g; s/up//') #[fg=green,bg=default]⎋ #(cat /proc/loadavg | awk '{print $1,$2,$3}') #[fg=blue] %Y-%m-%d #[fg=white,bg=default] %H:%M #[fg=green] #H"
# C-b is not acceptable -- Vim uses it # C-b is not acceptable -- Vim uses it
set-option -g prefix C-a set-option -g prefix C-a

View file

@ -32,7 +32,9 @@ nodes['htz-cloud.miniserver'] = {
'backups': { 'backups': {
'exclude_from_backups': True, 'exclude_from_backups': True,
}, },
'icinga_options': {
'exclude_from_monitoring': True, 'exclude_from_monitoring': True,
},
'letsencrypt': { 'letsencrypt': {
'concat_and_deploy': { 'concat_and_deploy': {
'sophie-weechat': { 'sophie-weechat': {
@ -52,6 +54,11 @@ nodes['htz-cloud.miniserver'] = {
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'i.sophies-kitchen.eu': { 'i.sophies-kitchen.eu': {
'webroot_config': {
'owner': 'sophie',
'group': 'sophie',
'mode': '0755',
},
}, },
}, },
}, },