saving uncommitted changes in /etc prior to apt run
This commit is contained in:
+20
@@ -665,6 +665,12 @@ maybe chmod 0755 'sv/ssh/log/run'
|
|||||||
maybe chmod 0755 'sv/ssh/run'
|
maybe chmod 0755 'sv/ssh/run'
|
||||||
maybe chmod 0755 'synth-shell'
|
maybe chmod 0755 'synth-shell'
|
||||||
maybe chmod 0755 'synth-shell/examples'
|
maybe chmod 0755 'synth-shell/examples'
|
||||||
|
maybe chmod 0644 'synth-shell/examples/synth-shell-greeter.org.uma.mapir.cyan.config'
|
||||||
|
maybe chmod 0644 'synth-shell/examples/synth-shell-greeter.org.uma.mapir.gray.config'
|
||||||
|
maybe chmod 0644 'synth-shell/examples/synth-shell-greeter.org.uma.mapir.green.config'
|
||||||
|
maybe chmod 0644 'synth-shell/examples/synth-shell-greeter.org.uma.mapir.orange.config'
|
||||||
|
maybe chmod 0644 'synth-shell/examples/synth-shell-greeter.org.uma.scbi.config'
|
||||||
|
maybe chmod 0644 'synth-shell/examples/synth-shell-greeter.uma.ea7rct.config'
|
||||||
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.blue.config'
|
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.blue.config'
|
||||||
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.gray.config'
|
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.gray.config'
|
||||||
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.green.config'
|
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.green.config'
|
||||||
@@ -672,8 +678,22 @@ maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.magenta.config'
|
|||||||
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.orange.config'
|
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.orange.config'
|
||||||
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.red.config'
|
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.red.config'
|
||||||
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.yellow.config'
|
maybe chmod 0644 'synth-shell/examples/synth-shell-prompt.yellow.config'
|
||||||
|
maybe chmod 0755 'synth-shell/os'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.archlinux.config'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.debian.config'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.manjaro.config'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.popos.config'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.raspbian.config'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.root.config'
|
||||||
|
maybe chmod 0644 'synth-shell/os/synth-shell-greeter.ubuntu.config'
|
||||||
|
maybe chmod 0755 'synth-shell/personal'
|
||||||
|
maybe chmod 0644 'synth-shell/personal/README.md'
|
||||||
|
maybe chmod 0644 'synth-shell/personal/synth-shell-greeter.andresgongora.config'
|
||||||
|
maybe chmod 0644 'synth-shell/synth-shell-greeter.config'
|
||||||
|
maybe chmod 0644 'synth-shell/synth-shell-greeter.config.default'
|
||||||
maybe chmod 0644 'synth-shell/synth-shell-prompt.config'
|
maybe chmod 0644 'synth-shell/synth-shell-prompt.config'
|
||||||
maybe chmod 0644 'synth-shell/synth-shell-prompt.config.default'
|
maybe chmod 0644 'synth-shell/synth-shell-prompt.config.default'
|
||||||
|
maybe chmod 0644 'synth-shell/synth-shell-prompt.config.new'
|
||||||
maybe chmod 0644 'synth-shell/synth-shell-prompt.root.config'
|
maybe chmod 0644 'synth-shell/synth-shell-prompt.root.config'
|
||||||
maybe chmod 0644 'sysctl.conf'
|
maybe chmod 0644 'sysctl.conf'
|
||||||
maybe chmod 0755 'sysctl.d'
|
maybe chmod 0755 'sysctl.d'
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{'host_secret': 'kwgdpsxglkabglrcselwgbxzgjdccindehyefyjejieztqoewmxmaenvqobhaovk', 'server': '192.168.0.99', 'site': 'realm', 'host_name': 'serviceraspi2.realm.local', 'protocol': 'http', 'user': 'caelebfi', 'last_check': 1666964462.8305984, 'installed_aghash': '0649383f09ad3ac2', 'last_update': 1666964489.60659, 'last_error': "HTTPConnectionPool(host='192.168.0.99', port=80): Max retries exceeded with url: /realm/check_mk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a936220>: Failed to establish a new connection: [Errno 113] No route to host'))", 'pending_hash': None}
|
{'host_secret': 'kwgdpsxglkabglrcselwgbxzgjdccindehyefyjejieztqoewmxmaenvqobhaovk', 'server': '192.168.0.99', 'site': 'realm', 'host_name': 'serviceraspi2.realm.local', 'protocol': 'http', 'user': 'caelebfi', 'last_check': 1666964462.8305984, 'installed_aghash': '0649383f09ad3ac2', 'last_update': 1666964489.60659, 'last_error': '503 Server Error: Service Unavailable for url: http://192.168.0.99/realm/check_mk/deploy_agent.py', 'pending_hash': None}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
|
|
||||||
The programs included with the Debian GNU/Linux system are free software;
|
|
||||||
the exact distribution terms for each program are described in the
|
|
||||||
individual files in /usr/share/doc/*/copyright.
|
|
||||||
|
|
||||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
|
||||||
permitted by applicable law.
|
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## MAPIR (UMA) Robotics Research Group
|
||||||
|
logo="
|
||||||
|
__ __ _ ___ ___ ___
|
||||||
|
| \\/ | /_\\ | _ \\_ _| _ \\
|
||||||
|
| |\\/| |/ _ \\| _/| || /
|
||||||
|
|_| |_/_/ \\_\\_| |___|_|_\\
|
||||||
|
|
||||||
|
MACHINE PERCEPTION AND
|
||||||
|
INTELLIGENT ROBOTICS
|
||||||
|
mapir.uma.es
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c cyan -e bold"
|
||||||
|
format_crit=" -c 208 -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c cyan -e bold"
|
||||||
|
format_error=" -c 208 -e bold -e blink"
|
||||||
|
format_logo=" -c cyan -e bold"
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## MAPIR (UMA) Robotics Research Group
|
||||||
|
logo="
|
||||||
|
__ __ _ ___ ___ ___
|
||||||
|
| \\/ | /_\\ | _ \\_ _| _ \\
|
||||||
|
| |\\/| |/ _ \\| _/| || /
|
||||||
|
|_| |_/_/ \\_\\_| |___|_|_\\
|
||||||
|
|
||||||
|
MACHINE PERCEPTION AND
|
||||||
|
INTELLIGENT ROBOTICS
|
||||||
|
mapir.uma.es
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c light-gray -e bold"
|
||||||
|
format_crit=" -c 208 -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c light-gray -e bold"
|
||||||
|
format_error=" -c 208 -e bold -e blink"
|
||||||
|
format_logo=" -c light-gray -e bold"
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## MAPIR (UMA) Robotics Research Group
|
||||||
|
logo="
|
||||||
|
__ __ _ ___ ___ ___
|
||||||
|
| \\/ | /_\\ | _ \\_ _| _ \\
|
||||||
|
| |\\/| |/ _ \\| _/| || /
|
||||||
|
|_| |_/_/ \\_\\_| |___|_|_\\
|
||||||
|
|
||||||
|
MACHINE PERCEPTION AND
|
||||||
|
INTELLIGENT ROBOTICS
|
||||||
|
mapir.uma.es
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c green -e bold"
|
||||||
|
format_crit=" -c 208 -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c green -e bold"
|
||||||
|
format_error=" -c 208 -e bold -e blink"
|
||||||
|
format_logo=" -c green -e bold"
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## MAPIR (UMA) Robotics Research Group
|
||||||
|
logo="
|
||||||
|
__ __ _ ___ ___ ___
|
||||||
|
| \\/ | /_\\ | _ \\_ _| _ \\
|
||||||
|
| |\\/| |/ _ \\| _/| || /
|
||||||
|
|_| |_/_/ \\_\\_| |___|_|_\\
|
||||||
|
|
||||||
|
MACHINE PERCEPTION AND
|
||||||
|
INTELLIGENT ROBOTICS
|
||||||
|
mapir.uma.es
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c 208 -e bold"
|
||||||
|
format_crit=" -c red -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c 208 -e bold"
|
||||||
|
format_error=" -c red -e bold -e blink"
|
||||||
|
format_logo=" -c 208 -e bold"
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="\e[49;34m
|
||||||
|
▗▖ \e[94m▗▖\e[34m ▗▖
|
||||||
|
▗▟█\e[104;34m▛\e[44;94m▟█▛\e[104;34m▟\e[49;34m██▙▖
|
||||||
|
▗▟█\e[104;34m▛▘ \e[44;94m▛\e[104;34m▟\e[49;34m██████▙▖
|
||||||
|
▗▟█\e[104;34m▛▘ \e[44;94m▛\e[104;34m▟\e[49;34m██████████▙▖
|
||||||
|
▝▜█\e[104;34m▙▖ \e[44;94m▙▖\e[49;34m████████▛▘
|
||||||
|
▝▜█\e[104;34m▙▖ \e[44;94m▙▖\e[49;34m████▛▘
|
||||||
|
▝▜▛▘\e[49;94m▜▛\e[49;34m▝▜▛▘
|
||||||
|
|
||||||
|
\e[49;94mscbi
|
||||||
|
Universidad de Malaga\n"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c blue -e bold"
|
||||||
|
format_crit=" -c 208 -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c blue -e bold"
|
||||||
|
format_error=" -c 208 -e bold -e blink"
|
||||||
|
format_logo=" -c blu -e bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS INFO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_info="
|
||||||
|
OS
|
||||||
|
KERNEL
|
||||||
|
CPU
|
||||||
|
SHELL
|
||||||
|
DATE
|
||||||
|
UPTIME
|
||||||
|
SERVICES
|
||||||
|
CPUTEMP
|
||||||
|
SYSLOAD_MON%
|
||||||
|
MEMORY_MON
|
||||||
|
SWAP_MON
|
||||||
|
HDDROOT_MON
|
||||||
|
HDDHOME_MON"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS BARS
|
||||||
|
##==============================================================================
|
||||||
|
bar_memory_units="GB"
|
||||||
|
bar_swap_units="GB"
|
||||||
|
bar_hdd_units="GB"
|
||||||
|
bar_home_units="TB"
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="
|
||||||
|
\e[1;30m▄▄▄\e[107m█▀▀▀▀▀█\e[0;30m▄▄▄
|
||||||
|
\e[1;30m▄\e[107m█▀▀ ▄▄▄▄▄▄▄▄▄ ▀▀█\e[0;30m▄
|
||||||
|
\e[1;30m▄\e[107m█▀ ▄█▀▀ ▀▀█▄ ▀█\e[0;30m▄
|
||||||
|
\e[1;30m\e[107m█▀ ▄█▀ ·\ ▀█▄ ▀█\e[0;30m
|
||||||
|
\e[1;30m\e[107m█▀ █▀ (( o )) @ .▀█ ▀█\e[0;30m
|
||||||
|
\e[1;30m▄\e[107m█ █▀ \e[104m \e[107m | . \ ▀█ █\e[0;30m▄
|
||||||
|
\e[1;30m\e[107m█ █ \e[104m \e[107m /X\ █ █\e[0;30m
|
||||||
|
\e[1;30m\e[107m█ █__\e[104m___ />\e[107mX<\ ><>< █ █\e[0;30m
|
||||||
|
\e[1;30m\e[107m█▄ █\e[104m||||| /><X><\ \/ \e[107m█ ▄█\e[0;30m
|
||||||
|
\e[1;30m\e[107m█ ▀█\e[40m \e[107m█▀ █\e[0;30m
|
||||||
|
\e[1;30m▀\e[107m█ ▀█\e[40m▄ \e[97mEA7·RCT\e[30m ▄\e[107m█▀ █\e[0;30m▀
|
||||||
|
\e[1;30m▀\e[107m█▄ ▀█\e[40m▄ \e[0;97;40mIM76-SR\e[1;30m ▄\e[107m█▀ ▄█\e[0;30m▀
|
||||||
|
\e[1;30m▀\e[107m█▄ ▀▀\e[40m█▄▄▄▄▄▄▄\e[107m█▀▀ ▄█\e[0;30m▀
|
||||||
|
\e[1;30m▀▀\e[107m█▄▄▄ ▄▄▄█\e[0;30m▀▀
|
||||||
|
\e[1;30m▀▀▀▀▀▀▀\e[0;30m"
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c light-blue -e bold"
|
||||||
|
format_crit=" -c blue -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c light-blue -e bold"
|
||||||
|
format_error=" -c blue -e bold -e blink"
|
||||||
|
format_logo=" -c light-blue -e bold"
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## ArchLinux theme from archey3. Slightly modified. Sources:
|
||||||
|
## - https://wiki.archlinux.org/index.php/ASCII_art
|
||||||
|
## - https://bbs.archlinux.org/viewtopic.php?id=24208&p=6
|
||||||
|
|
||||||
|
logo="\e[0;94m .
|
||||||
|
\e[0;94m #
|
||||||
|
\e[0;94m ###
|
||||||
|
\e[0;94m #####
|
||||||
|
\e[0;94m '######
|
||||||
|
\e[0;94m .. #####:
|
||||||
|
\e[0;94m ###.#####
|
||||||
|
\e[0;94m ###########
|
||||||
|
\e[0;94m ######\e[0;34m#####\e[0;94m##;
|
||||||
|
\e[0;94m ###\e[0;34m############\e[0;94m
|
||||||
|
\e[0;94m #\e[0;34m###### #######
|
||||||
|
\e[0;34m :#####: :###.\`\".
|
||||||
|
\e[0;34m :######: :####:.
|
||||||
|
\e[0;34m :########. .########
|
||||||
|
\e[0;34m :#####' '#####:
|
||||||
|
\e[0;34m :#### ####:
|
||||||
|
\e[0;34m ##' '##
|
||||||
|
\e[0;34m #' '#
|
||||||
|
\e[0;34m ' ' "
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c blue -e bold"
|
||||||
|
format_crit=" -c 208 -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c blue -e bold"
|
||||||
|
format_error=" -c 208 -e bold -e blink"
|
||||||
|
format_logo=" -c blue -e bold"
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## Debian logo, adapted for synth-shell. Original by metallo on the debian dev list?
|
||||||
|
|
||||||
|
logo=" _,met\$\$\$\$\$gg.
|
||||||
|
,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P.
|
||||||
|
,g\$\$P\"\" \"\"\"Y\$\$.\".
|
||||||
|
,\$\$P' \`\$\$\$.
|
||||||
|
',\$\$P ,ggs. \`\$\$b:
|
||||||
|
\`d\$\$' ,\$P\"' . \$\$\$
|
||||||
|
\$\$P d\$' , \$\$P
|
||||||
|
\$\$: \$\$. - ,d\$\$'
|
||||||
|
\$\$; Y\$b._ _,d\$P'
|
||||||
|
Y\$\$. \`.\`\"Y\$\$\$\$P\"'
|
||||||
|
\`\$\$b \"-.__
|
||||||
|
\`Y\$\$b
|
||||||
|
\`Y\$\$.
|
||||||
|
\`\$\$b.
|
||||||
|
\`Y\$\$b.
|
||||||
|
\`\"Y\$b._
|
||||||
|
\`\"\"\"\"\n"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c red -e bold"
|
||||||
|
format_crit=" -c light-blue -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c red -e bold"
|
||||||
|
format_error=" -c light-blue -e bold -e blink"
|
||||||
|
format_logo=" -c red -e bold"
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## Manjaro Logo, simple ASCII drawing by andresgongora
|
||||||
|
|
||||||
|
local logo="██████████████ ██████
|
||||||
|
██████████████ ██████
|
||||||
|
██████████████ ██████
|
||||||
|
██████ ██████
|
||||||
|
██████ ██████ ██████
|
||||||
|
██████ ██████ ██████
|
||||||
|
██████ ██████ ██████
|
||||||
|
██████ ██████ ██████
|
||||||
|
██████ ██████ ██████
|
||||||
|
██████ ██████ ██████
|
||||||
|
██████ ██████ ██████"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c dark-gray -e bold"
|
||||||
|
format_highlight=" -c white"
|
||||||
|
format_crit=" -c light-green -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c white -e bold"
|
||||||
|
format_error=" -c light-green -e bold -e blink"
|
||||||
|
format_logo=" -c light-green -e bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="\e[1;36m /////////////
|
||||||
|
/////////////////////
|
||||||
|
///////\e[1;37m*767 \e[1;36m////////////////
|
||||||
|
//////\e[1;37m7676767676*\e[1;36m//////////////
|
||||||
|
/////\e[1;37m76767\e[1;36m//\e[1;37m7676767\e[1;36m//////////////
|
||||||
|
/////\e[1;37m767676\e[1;36m///\e[1;37m*76767\e[1;36m///////////////
|
||||||
|
///////\e[1;37m767676\e[1;36m///\e[1;37m76767\e[1;36m.///\e[1;37m7676*\e[1;36m///////
|
||||||
|
/////////\e[1;37m767676\e[1;36m//\e[1;37m76767\e[1;36m///\e[1;37m767676\e[1;36m////////
|
||||||
|
//////////\e[1;37m76767676767\e[1;36m////\e[1;37m76767\e[1;36m/////////
|
||||||
|
///////////\e[1;37m76767676\e[1;36m//////\e[1;37m7676\e[1;36m//////////
|
||||||
|
////////////,\e[1;37m7676\e[1;36m,///////\e[1;37m767\e[1;36m///////////
|
||||||
|
/////////////*\e[1;37m7676\e[1;36m///////\e[1;37m76\e[1;36m////////////
|
||||||
|
///////////////\e[1;37m7676\e[1;36m////////////////////
|
||||||
|
///////////////\e[1;37m7676\e[1;36m///\e[1;37m767\e[1;36m////////////
|
||||||
|
//////////////////////\e[1;37m'\e[1;36m////////////
|
||||||
|
//////\e[1;37m.7676767676767676767,\e[1;36m//////
|
||||||
|
/////\e[1;37m767676767676767676767\e[1;36m/////
|
||||||
|
///////////////////////////
|
||||||
|
/////////////////////
|
||||||
|
/////////////"
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
format_info=" -c light-gray "
|
||||||
|
format_highlight=" -c blue -e bold"
|
||||||
|
format_crit=" -c 45 -e bold"
|
||||||
|
format_deco=" -c light-gray "
|
||||||
|
format_ok=" -c blue -e bold"
|
||||||
|
format_error=" -c 45 -e bold -e blink"
|
||||||
|
format_logo=" -c blue -e bold"
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## Raspberry logo, colors added for synth-shell, orignal by b3n @ aspberrypi.com
|
||||||
|
logo="
|
||||||
|
\e[0;32m .~~. .~~.
|
||||||
|
\e[0;32m '. \ ' ' / .'
|
||||||
|
\e[1;31m .~ .~~~..~.
|
||||||
|
\e[1;31m : .~.'~'.~. :
|
||||||
|
\e[1;31m ~ ( ) ( ) ~
|
||||||
|
\e[1;31m( : '~'.~.'~' : )
|
||||||
|
\e[1;31m ~ .~ ( ) ~. ~
|
||||||
|
\e[1;31m ( : '~' : )
|
||||||
|
\e[1;31m '~ .~~~. ~'
|
||||||
|
\e[1;31m '~'
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c red -e bold"
|
||||||
|
format_crit=" -c green -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c red -e bold"
|
||||||
|
format_error=" -c green -e bold -e blink"
|
||||||
|
format_logo=" -c red -e bold"
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="\e[1;31m / \\
|
||||||
|
// \\\\\\\\
|
||||||
|
// \\\\\\\\
|
||||||
|
// \\\\\\\\
|
||||||
|
// \e[5;39m███\e[25;31m \\\\\\\\
|
||||||
|
// \e[5;39m███\e[25;31m \\\\\\\\
|
||||||
|
// \e[5;39m███\e[25;31m \\\\\\\\
|
||||||
|
// \\\\\\\\
|
||||||
|
// \e[5;39m███\e[25;31m \\\\\\\\
|
||||||
|
// \\\\\\\\
|
||||||
|
//===================\\\\\\\\
|
||||||
|
|
||||||
|
WARNING!
|
||||||
|
ROOT ACCOUNT!"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c red -e bold"
|
||||||
|
format_crit=" -c red -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c red -e bold"
|
||||||
|
format_error=" -c red -e bold -e blink"
|
||||||
|
format_logo=" -c 208 -e bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
## Ubuntu Logo, simple ASCII drawing by andresgongora
|
||||||
|
|
||||||
|
local logo="\e[0;91m /////////////////
|
||||||
|
\e[0;91m /////////////////////////
|
||||||
|
\e[0;91m ////////////////////\e[1;97m@@@@\e[0;91m///////
|
||||||
|
\e[0;91m /////////////////////\e[1;97m@@@@@@\e[0;91m////////
|
||||||
|
\e[0;91m ////////////////\e[1;97m@@@@@@\e[0;91m//\e[1;97m@@@@\e[0;91m///////////
|
||||||
|
\e[0;91m ////////////\e[1;97m@@@@\e[0;91m//\e[1;97m@@@@@@@@\e[0;91m//\e[1;97m@\e[0;91m////////////
|
||||||
|
\e[0;91m ///////////\e[1;97m@@@@@@\e[0;91m/////////\e[1;97m@@@@@@\e[0;91m///////////
|
||||||
|
\e[0;91m///////////\e[1;97m@@@@@\e[0;91m/////////////\e[1;97m@@@@@\e[0;91m///////////
|
||||||
|
\e[0;91m//////\e[1;97m@@@@\e[0;91m//\e[1;97m@@@\e[0;91m///////////////\e[1;97m@@@@@\e[0;91m//////////
|
||||||
|
\e[0;91m/////\e[1;97m@@@@@@\e[0;91m/\e[1;97m@@@\e[0;91m//////////////////////////////
|
||||||
|
\e[0;91m//////\e[1;97m@@@@\e[0;91m//\e[1;97m@@@\e[0;91m///////////////\e[1;97m@@@@@\e[0;91m//////////
|
||||||
|
\e[0;91m///////////\e[1;97m@@@@@\e[0;91m/////////////\e[1;97m@@@@@\e[0;91m///////////
|
||||||
|
\e[0;91m ///////////\e[1;97m@@@@@@\e[0;91m/////////\e[1;97m@@@@@@\e[0;91m///////////
|
||||||
|
\e[0;91m ////////////\e[1;97m@@@@\e[0;91m//\e[1;97m@@@@@@@@\e[0;91m//\e[1;97m@\e[0;91m////////////
|
||||||
|
\e[0;91m ////////////////\e[1;97m@@@@@@\e[0;91m//\e[1;97m@@@@\e[0;91m///////////
|
||||||
|
\e[0;91m /////////////////////\e[1;97m@@@@@@\e[0;91m////////
|
||||||
|
\e[0;91m ////////////////////\e[1;97m@@@@\e[0;91m///////
|
||||||
|
\e[0;91m /////////////////////////
|
||||||
|
\e[0;91m ///////////////// "
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c light-red -e bold"
|
||||||
|
format_crit=" -c red -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c light-red -e bold"
|
||||||
|
format_error=" -c red -e bold -e blink"
|
||||||
|
format_logo=" -c light-red -e bold"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Feel free to pull request your config files to share them here :)
|
||||||
@@ -0,0 +1,161 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="
|
||||||
|
-oydNMMMMNdyo-
|
||||||
|
-yNMMMMMMMMMMMMMMNy-
|
||||||
|
.hMMMMMMmhsooshmMMMMMMh.
|
||||||
|
:NMMMMmo. .omMMMMN:
|
||||||
|
-NMMMMs -+ss+- sMMMMN-
|
||||||
|
hMMMMs -mMMMMMMm- sMMMMh
|
||||||
|
'MMMMM. 'NMMMMMMMMN' .MMMMM
|
||||||
|
'MMMMM. 'NMMMMMMMMN' yMMMM'
|
||||||
|
hMMMMs -mMMMMMMMMy. -yMh
|
||||||
|
-NMMMMs -+ss+yMMMMy. -.
|
||||||
|
:NMMMMmo. .yMMMMy.
|
||||||
|
.hMMMMMMmhsoo- .yMMMy
|
||||||
|
-yNMMMMMMMMMy- .o-
|
||||||
|
-oydNMMMMNd/ \n"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS INFO
|
||||||
|
##
|
||||||
|
## Choose what to print and in what order
|
||||||
|
## Valid options are:
|
||||||
|
##
|
||||||
|
## ## SIMPLE ONE-LINERS
|
||||||
|
## OS Linux distribution name
|
||||||
|
## KERNEL Kernel version
|
||||||
|
## CPU CPU Name
|
||||||
|
## SHELL Shell name
|
||||||
|
## DATE Current date
|
||||||
|
## UPTIME System uptime (time since boot)
|
||||||
|
## USER Current user and host names
|
||||||
|
## NUMLOGGED Show number of logged in users
|
||||||
|
## NAMELOGGED Show names of logged in users
|
||||||
|
## LOCALIPV4 IPv4
|
||||||
|
## EXTERNALIPV4 External IPv4 (might be slow)
|
||||||
|
## SERVICES Summary of failed services
|
||||||
|
## CPULOAD Sys load average(eg. 0.23, 0.26, 0.27 )
|
||||||
|
## CPUTEMP CPU temperature (requires lm-sensors)
|
||||||
|
##
|
||||||
|
## ## SYS LOAD MONITORS
|
||||||
|
## SYSLOAD_MON Current CPU load
|
||||||
|
## MEMORY_MON Occupied memory
|
||||||
|
## SWAP_MON Occupied SWAP
|
||||||
|
## HDDROOT_MON / partition occupied
|
||||||
|
## HDDHOME_MON /home/user occupied
|
||||||
|
## CPUTEMP_MON CPU temperature (requires lm-sensors)
|
||||||
|
## SYSLOAD_MON% Current CPU load in %
|
||||||
|
## MEMORY_MON% Occupied memory in %
|
||||||
|
## SWAP_MON% Occupied SWAP in %
|
||||||
|
## HDDROOT_MON% / partition occupied in %
|
||||||
|
## HDDHOME_MON% /home/user occupied in %
|
||||||
|
##
|
||||||
|
## ## MISC
|
||||||
|
## SPACER Print decorative spacer (empty line)
|
||||||
|
## PALETTE Show 16-bit palette (add SPACER before for best results)
|
||||||
|
## PALETTE_SMALL Show smaller version of 16-bit color palette
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_info="
|
||||||
|
OS
|
||||||
|
KERNEL
|
||||||
|
CPU
|
||||||
|
GPU
|
||||||
|
SHELL
|
||||||
|
DATE
|
||||||
|
UPTIME
|
||||||
|
LOCALIPV4
|
||||||
|
EXTERNALIPV4
|
||||||
|
SERVICES
|
||||||
|
CPUTEMP
|
||||||
|
SYSLOAD_MON%
|
||||||
|
MEMORY_MON
|
||||||
|
SWAP_MON
|
||||||
|
HDDROOT_MON
|
||||||
|
HDDHOME_MON"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##
|
||||||
|
## Control the color and format scheme of the status report.
|
||||||
|
## -c color: color name or 256bit color code
|
||||||
|
## -b background color: color name or 256bit color code
|
||||||
|
## -e effect: bold, blink, dim, underline...
|
||||||
|
##
|
||||||
|
## Valid color names (16 bit):
|
||||||
|
## white, light-gray, dark-gray, black,
|
||||||
|
## red, green, yellow, blue, magenta, cyan,
|
||||||
|
## light-red, light-green, light-yellow, light-blue, light-magenta, light-cyan
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c white"
|
||||||
|
format_highlight=" -c blue -e bold"
|
||||||
|
format_crit=" -c 208 -e bold"
|
||||||
|
format_deco=" -c white -e bold"
|
||||||
|
format_ok=" -c blue -e bold"
|
||||||
|
format_error=" -c 208 -e bold -e blink"
|
||||||
|
format_logo=" -c blue -e bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS BARS
|
||||||
|
##
|
||||||
|
## These option controls the behaviour of the visual status bars that are
|
||||||
|
## plotted for CPU, Memory, Swap and HDD usage. You can set the percentage that
|
||||||
|
## determines when the current usage is deemed critical. If said percentage
|
||||||
|
## is surpassed, the color of the bars will change and extra information
|
||||||
|
## might be plotted in addition (e.g. if the CPU usage is too high, the most
|
||||||
|
## demanding processes are printed to terminal).
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
bar_cpu_crit_percent=40
|
||||||
|
bar_ram_crit_percent=75
|
||||||
|
bar_swap_crit_percent=25
|
||||||
|
bar_hdd_crit_percent=85
|
||||||
|
bar_home_crit_percent=85
|
||||||
|
|
||||||
|
bar_ram_units="MB"
|
||||||
|
bar_swap_units="MB"
|
||||||
|
bar_hdd_units="GB"
|
||||||
|
bar_home_units="GB"
|
||||||
|
|
||||||
|
cpu_crit_print=true
|
||||||
|
cpu_crit_print_num=3
|
||||||
|
ram_crit_print=true
|
||||||
|
ram_crit_print_num=3
|
||||||
|
|
||||||
|
bar_length=9 # Number of characters that comprise a bar
|
||||||
|
bar_num_digits=5 # Control num digits next to bar
|
||||||
|
bar_padding_after=0 # Extra spaces after bar
|
||||||
|
info_label_width=16 # Desired length of the info labels
|
||||||
|
bar_bracket_char_left='['
|
||||||
|
bar_bracket_char_right=']'
|
||||||
|
bar_fill_char='|'
|
||||||
|
bar_background_char=' '
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## OTHERS
|
||||||
|
##
|
||||||
|
## For date format setup, see `man date`
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_cols_max=100 # Keep logo and info text together
|
||||||
|
print_logo_right=false # Change where the logo is plotted
|
||||||
|
date_format="%Y.%m.%d - %T" # see 'man date'
|
||||||
|
clear_before_print=false # Dangerous if true, some messages might be lost
|
||||||
|
print_extra_new_line_top=true # Extra line before logo and info
|
||||||
|
print_extra_new_line_bot=true # Extra line after logo and info
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,166 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##
|
||||||
|
## Configure the logo to your liking. You can either use the default or
|
||||||
|
## set your own ASCII art down below.
|
||||||
|
##
|
||||||
|
## - You can either add it as a single line, or multiline (terminated with \).
|
||||||
|
## - You have to escape backslashes if you want them to show inside your logo.
|
||||||
|
## Use \\\\ for 1 backslash, \\\\\\\\ for two. All other characters work fine.
|
||||||
|
## - You can also add individual color codes to the logo using '\e[ ··· m'.
|
||||||
|
## - For example: \e[1;31mHello World! prints in bright red.
|
||||||
|
## - If you want extra spaces between the logo and the status info, just add
|
||||||
|
## extra spaces at the last line and end it with '\n'.
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="\e[38;5;213m __ __
|
||||||
|
_______ ______ / /_/ /_
|
||||||
|
/ ___/ / / / __ \/ __/ __ \
|
||||||
|
/__ / /_/ / / / / /_/ / / /
|
||||||
|
/____/\__ /_/ /_/\__/_/ /_/
|
||||||
|
/____/
|
||||||
|
\e[38;5;45m _____ __ __________ __
|
||||||
|
/ ___// / / / ____/ / / /
|
||||||
|
\__ \/ /_/ / __/ / / / /
|
||||||
|
___/ / __ / /___/ /___/ /___
|
||||||
|
/____/_/ /_/_____/_____/_____/\e[0;39m"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS INFO
|
||||||
|
##
|
||||||
|
## Choose what to print and in what order
|
||||||
|
## Valid options are:
|
||||||
|
##
|
||||||
|
## ## SIMPLE ONE-LINERS
|
||||||
|
## OS Linux distribution name
|
||||||
|
## KERNEL Kernel version
|
||||||
|
## CPU CPU Name
|
||||||
|
## SHELL Shell name
|
||||||
|
## DATE Current date
|
||||||
|
## UPTIME System uptime (time since boot)
|
||||||
|
## USER Current user and host names
|
||||||
|
## NUMLOGGED Show number of logged in users
|
||||||
|
## NAMELOGGED Show names of logged in users
|
||||||
|
## LOCALIPV4 IPv4
|
||||||
|
## EXTERNALIPV4 External IPv4 (might be slow)
|
||||||
|
## SERVICES Summary of failed services
|
||||||
|
## CPULOAD Sys load average(eg. 0.23, 0.26, 0.27 )
|
||||||
|
## CPUTEMP CPU temperature (requires lm-sensors)
|
||||||
|
##
|
||||||
|
## ## SYS LOAD MONITORS
|
||||||
|
## SYSLOAD_MON Current CPU load
|
||||||
|
## MEMORY_MON Occupied memory
|
||||||
|
## SWAP_MON Occupied SWAP
|
||||||
|
## HDDROOT_MON / partition occupied
|
||||||
|
## HDDHOME_MON /home/user occupied
|
||||||
|
## CPUTEMP_MON CPU temperature (requires lm-sensors)
|
||||||
|
## SYSLOAD_MON% Current CPU load in %
|
||||||
|
## MEMORY_MON% Occupied memory in %
|
||||||
|
## SWAP_MON% Occupied SWAP in %
|
||||||
|
## HDDROOT_MON% / partition occupied in %
|
||||||
|
## HDDHOME_MON% /home/user occupied in %
|
||||||
|
##
|
||||||
|
## ## MISC
|
||||||
|
## SPACER Print decorative spacer (empty line)
|
||||||
|
## PALETTE Show 16-bit palette (add SPACER before for best results)
|
||||||
|
## PALETTE_SMALL Show smaller version of 16-bit color palette
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_info="
|
||||||
|
OS
|
||||||
|
KERNEL
|
||||||
|
CPU
|
||||||
|
GPU
|
||||||
|
SHELL
|
||||||
|
DATE
|
||||||
|
UPTIME
|
||||||
|
LOCALIPV4
|
||||||
|
EXTERNALIPV4
|
||||||
|
SERVICES
|
||||||
|
CPUTEMP
|
||||||
|
SYSLOAD_MON%
|
||||||
|
MEMORY_MON
|
||||||
|
SWAP_MON
|
||||||
|
HDDROOT_MON
|
||||||
|
HDDHOME_MON
|
||||||
|
PALETTE"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##
|
||||||
|
## Control the color and format scheme of the status report.
|
||||||
|
## -c color: color name or 256bit color code
|
||||||
|
## -b background color: color name or 256bit color code
|
||||||
|
## -e effect: bold, blink, dim, underline...
|
||||||
|
##
|
||||||
|
## Valid color names (16 bit):
|
||||||
|
## white, light-gray, dark-gray, black,
|
||||||
|
## red, green, yellow, blue, magenta, cyan,
|
||||||
|
## light-red, light-green, light-yellow, light-blue, light-magenta, light-cyan
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c light-gray "
|
||||||
|
format_highlight=" -c blue -e bold"
|
||||||
|
format_crit=" -c 45 -e bold"
|
||||||
|
format_deco=" -c light-gray "
|
||||||
|
format_ok=" -c blue -e bold"
|
||||||
|
format_error=" -c 45 -e bold -e blink"
|
||||||
|
format_logo=" -c blue -e bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS BARS
|
||||||
|
##
|
||||||
|
## These option controls the behaviour of the visual status bars that are
|
||||||
|
## plotted for CPU, Memory, Swap and HDD usage. You can set the percentage that
|
||||||
|
## determines when the current usage is deemed critical. If said percentage
|
||||||
|
## is surpassed, the color of the bars will change and extra information
|
||||||
|
## might be plotted in addition (e.g. if the CPU usage is too high, the most
|
||||||
|
## demanding processes are printed to terminal).
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
bar_cpu_crit_percent=40
|
||||||
|
bar_ram_crit_percent=75
|
||||||
|
bar_swap_crit_percent=25
|
||||||
|
bar_hdd_crit_percent=85
|
||||||
|
bar_home_crit_percent=85
|
||||||
|
|
||||||
|
bar_ram_units="MB"
|
||||||
|
bar_swap_units="MB"
|
||||||
|
bar_hdd_units="GB"
|
||||||
|
bar_home_units="GB"
|
||||||
|
|
||||||
|
cpu_crit_print=true
|
||||||
|
cpu_crit_print_num=3
|
||||||
|
ram_crit_print=true
|
||||||
|
ram_crit_print_num=3
|
||||||
|
|
||||||
|
bar_length=9 # Number of characters that comprise a bar
|
||||||
|
bar_num_digits=5 # Control num digits next to bar
|
||||||
|
bar_padding_after=0 # Extra spaces after bar
|
||||||
|
info_label_width=16 # Desired length of the info labels
|
||||||
|
bar_bracket_char_left='['
|
||||||
|
bar_bracket_char_right=']'
|
||||||
|
bar_fill_char='|'
|
||||||
|
bar_background_char=' '
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## OTHERS
|
||||||
|
##
|
||||||
|
## For date format setup, see `man date`
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_cols_max=100 # Keep logo and info text together
|
||||||
|
print_logo_right=false # Change where the logo is plotted
|
||||||
|
date_format="%Y.%m.%d - %T" # see 'man date'
|
||||||
|
clear_before_print=false # Dangerous if true, some messages might be lost
|
||||||
|
print_extra_new_line_top=true # Extra line before logo and info
|
||||||
|
print_extra_new_line_bot=true # Extra line after logo and info
|
||||||
@@ -0,0 +1,166 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## LOGO
|
||||||
|
##
|
||||||
|
## Configure the logo to your liking. You can either use the default or
|
||||||
|
## set your own ASCII art down below.
|
||||||
|
##
|
||||||
|
## - You can either add it as a single line, or multiline (terminated with \).
|
||||||
|
## - You have to escape backslashes if you want them to show inside your logo.
|
||||||
|
## Use \\\\ for 1 backslash, \\\\\\\\ for two. All other characters work fine.
|
||||||
|
## - You can also add individual color codes to the logo using '\e[ ··· m'.
|
||||||
|
## - For example: \e[1;31mHello World! prints in bright red.
|
||||||
|
## - If you want extra spaces between the logo and the status info, just add
|
||||||
|
## extra spaces at the last line and end it with '\n'.
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
logo="\e[38;5;213m __ __
|
||||||
|
_______ ______ / /_/ /_
|
||||||
|
/ ___/ / / / __ \/ __/ __ \
|
||||||
|
/__ / /_/ / / / / /_/ / / /
|
||||||
|
/____/\__ /_/ /_/\__/_/ /_/
|
||||||
|
/____/
|
||||||
|
\e[38;5;45m _____ __ __________ __
|
||||||
|
/ ___// / / / ____/ / / /
|
||||||
|
\__ \/ /_/ / __/ / / / /
|
||||||
|
___/ / __ / /___/ /___/ /___
|
||||||
|
/____/_/ /_/_____/_____/_____/\e[0;39m"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS INFO
|
||||||
|
##
|
||||||
|
## Choose what to print and in what order
|
||||||
|
## Valid options are:
|
||||||
|
##
|
||||||
|
## ## SIMPLE ONE-LINERS
|
||||||
|
## OS Linux distribution name
|
||||||
|
## KERNEL Kernel version
|
||||||
|
## CPU CPU Name
|
||||||
|
## SHELL Shell name
|
||||||
|
## DATE Current date
|
||||||
|
## UPTIME System uptime (time since boot)
|
||||||
|
## USER Current user and host names
|
||||||
|
## NUMLOGGED Show number of logged in users
|
||||||
|
## NAMELOGGED Show names of logged in users
|
||||||
|
## LOCALIPV4 IPv4
|
||||||
|
## EXTERNALIPV4 External IPv4 (might be slow)
|
||||||
|
## SERVICES Summary of failed services
|
||||||
|
## CPULOAD Sys load average(eg. 0.23, 0.26, 0.27 )
|
||||||
|
## CPUTEMP CPU temperature (requires lm-sensors)
|
||||||
|
##
|
||||||
|
## ## SYS LOAD MONITORS
|
||||||
|
## SYSLOAD_MON Current CPU load
|
||||||
|
## MEMORY_MON Occupied memory
|
||||||
|
## SWAP_MON Occupied SWAP
|
||||||
|
## HDDROOT_MON / partition occupied
|
||||||
|
## HDDHOME_MON /home/user occupied
|
||||||
|
## CPUTEMP_MON CPU temperature (requires lm-sensors)
|
||||||
|
## SYSLOAD_MON% Current CPU load in %
|
||||||
|
## MEMORY_MON% Occupied memory in %
|
||||||
|
## SWAP_MON% Occupied SWAP in %
|
||||||
|
## HDDROOT_MON% / partition occupied in %
|
||||||
|
## HDDHOME_MON% /home/user occupied in %
|
||||||
|
##
|
||||||
|
## ## MISC
|
||||||
|
## SPACER Print decorative spacer (empty line)
|
||||||
|
## PALETTE Show 16-bit palette (add SPACER before for best results)
|
||||||
|
## PALETTE_SMALL Show smaller version of 16-bit color palette
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_info="
|
||||||
|
OS
|
||||||
|
KERNEL
|
||||||
|
CPU
|
||||||
|
GPU
|
||||||
|
SHELL
|
||||||
|
DATE
|
||||||
|
UPTIME
|
||||||
|
LOCALIPV4
|
||||||
|
EXTERNALIPV4
|
||||||
|
SERVICES
|
||||||
|
CPUTEMP
|
||||||
|
SYSLOAD_MON%
|
||||||
|
MEMORY_MON
|
||||||
|
SWAP_MON
|
||||||
|
HDDROOT_MON
|
||||||
|
HDDHOME_MON
|
||||||
|
PALETTE"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##
|
||||||
|
## Control the color and format scheme of the status report.
|
||||||
|
## -c color: color name or 256bit color code
|
||||||
|
## -b background color: color name or 256bit color code
|
||||||
|
## -e effect: bold, blink, dim, underline...
|
||||||
|
##
|
||||||
|
## Valid color names (16 bit):
|
||||||
|
## white, light-gray, dark-gray, black,
|
||||||
|
## red, green, yellow, blue, magenta, cyan,
|
||||||
|
## light-red, light-green, light-yellow, light-blue, light-magenta, light-cyan
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format_info=" -c light-gray "
|
||||||
|
format_highlight=" -c blue -e bold"
|
||||||
|
format_crit=" -c 45 -e bold"
|
||||||
|
format_deco=" -c light-gray "
|
||||||
|
format_ok=" -c blue -e bold"
|
||||||
|
format_error=" -c 45 -e bold -e blink"
|
||||||
|
format_logo=" -c blue -e bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## STATUS BARS
|
||||||
|
##
|
||||||
|
## These option controls the behaviour of the visual status bars that are
|
||||||
|
## plotted for CPU, Memory, Swap and HDD usage. You can set the percentage that
|
||||||
|
## determines when the current usage is deemed critical. If said percentage
|
||||||
|
## is surpassed, the color of the bars will change and extra information
|
||||||
|
## might be plotted in addition (e.g. if the CPU usage is too high, the most
|
||||||
|
## demanding processes are printed to terminal).
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
bar_cpu_crit_percent=40
|
||||||
|
bar_ram_crit_percent=75
|
||||||
|
bar_swap_crit_percent=25
|
||||||
|
bar_hdd_crit_percent=85
|
||||||
|
bar_home_crit_percent=85
|
||||||
|
|
||||||
|
bar_ram_units="MB"
|
||||||
|
bar_swap_units="MB"
|
||||||
|
bar_hdd_units="GB"
|
||||||
|
bar_home_units="GB"
|
||||||
|
|
||||||
|
cpu_crit_print=true
|
||||||
|
cpu_crit_print_num=3
|
||||||
|
ram_crit_print=true
|
||||||
|
ram_crit_print_num=3
|
||||||
|
|
||||||
|
bar_length=9 # Number of characters that comprise a bar
|
||||||
|
bar_num_digits=5 # Control num digits next to bar
|
||||||
|
bar_padding_after=0 # Extra spaces after bar
|
||||||
|
info_label_width=16 # Desired length of the info labels
|
||||||
|
bar_bracket_char_left='['
|
||||||
|
bar_bracket_char_right=']'
|
||||||
|
bar_fill_char='|'
|
||||||
|
bar_background_char=' '
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## OTHERS
|
||||||
|
##
|
||||||
|
## For date format setup, see `man date`
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
print_cols_max=100 # Keep logo and info text together
|
||||||
|
print_logo_right=false # Change where the logo is plotted
|
||||||
|
date_format="%Y.%m.%d - %T" # see 'man date'
|
||||||
|
clear_before_print=false # Dangerous if true, some messages might be lost
|
||||||
|
print_extra_new_line_top=true # Extra line before logo and info
|
||||||
|
print_extra_new_line_bot=true # Extra line after logo and info
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
##==============================================================================
|
||||||
|
## COLORS
|
||||||
|
##
|
||||||
|
## Control the color and format scheme of the bash prompt.
|
||||||
|
## The prompt is divided into segments, listed below starting from the left:
|
||||||
|
## - USER: shows the user's name.
|
||||||
|
## - HOST: shows the host's name.
|
||||||
|
## - PWD: shows the current directory.
|
||||||
|
## - GIT: if inside a git repository, shows the name of current branch.
|
||||||
|
## - PYENV: if inside a Python Virtual environment.
|
||||||
|
## - TF: if inside a Terraform Workspace.
|
||||||
|
## - CLOCK: shows current time in H:M format.
|
||||||
|
## - INPUT: actual bash input.
|
||||||
|
##
|
||||||
|
## Valid color options:
|
||||||
|
## - white black light-gray dark-gray
|
||||||
|
## red green yellow blue cyan purple
|
||||||
|
## light-red light-green light-yellow light-blue light-cyan light-purple
|
||||||
|
## - Values in the range [0-255] for 256 bit colors. To check all number-color
|
||||||
|
## pairs for your terminal, you may run the following snippet by HaleTom:
|
||||||
|
## curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash
|
||||||
|
## or search something like "bash 256 color codes" on the internet.
|
||||||
|
##
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
format="USER HOST PWD GIT PYENV TF"
|
||||||
|
|
||||||
|
font_color_user="white"
|
||||||
|
background_user="blue"
|
||||||
|
texteffect_user="bold"
|
||||||
|
|
||||||
|
font_color_host="white"
|
||||||
|
background_host="light-blue"
|
||||||
|
texteffect_host="bold"
|
||||||
|
|
||||||
|
font_color_pwd="dark-gray"
|
||||||
|
background_pwd="white"
|
||||||
|
texteffect_pwd="bold"
|
||||||
|
|
||||||
|
font_color_git="light-gray"
|
||||||
|
background_git="dark-gray"
|
||||||
|
texteffect_git="bold"
|
||||||
|
|
||||||
|
font_color_pyenv="white"
|
||||||
|
background_pyenv="blue"
|
||||||
|
texteffect_pyenv="bold"
|
||||||
|
|
||||||
|
font_color_tf="purple"
|
||||||
|
background_tf="light-purple"
|
||||||
|
texteffect_tf="bold"
|
||||||
|
|
||||||
|
font_color_clock="white"
|
||||||
|
background_clock="light-blue"
|
||||||
|
texteffect_clock="bold"
|
||||||
|
|
||||||
|
font_color_input="45"
|
||||||
|
background_input="none"
|
||||||
|
texteffect_input="bold"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## BEHAVIOR
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
separator_char='\uE0B0' # Separation character, '\uE0B0'=triangle
|
||||||
|
separator_padding_left='' #
|
||||||
|
separator_padding_right='' #
|
||||||
|
prompt_horizontal_padding='' #
|
||||||
|
prompt_final_padding='' #
|
||||||
|
segment_padding=' ' #
|
||||||
|
enable_vertical_padding=true # Add extra new line over prompt
|
||||||
|
max_pwd_char="20"
|
||||||
|
|
||||||
|
|
||||||
|
##==============================================================================
|
||||||
|
## GIT
|
||||||
|
##==============================================================================
|
||||||
|
|
||||||
|
git_symbol_synced=''
|
||||||
|
git_symbol_unpushed=' ▲'
|
||||||
|
git_symbol_unpulled=' ▼'
|
||||||
|
git_symbol_unpushedunpulled=' ◆'
|
||||||
|
git_symbol_dirty=' ◔'
|
||||||
|
git_symbol_dirty_unpushed=' ◔ △'
|
||||||
|
git_symbol_dirty_unpulled=' ◔ ▽'
|
||||||
|
git_symbol_dirty_unpushedunpulled=' ◔ ◇'
|
||||||
|
git_update_period_minutes=15 # Use -1 to disable automatic updates
|
||||||
Reference in New Issue
Block a user