From d48d9d17e624acee7bc6fc8af080663a16c381c1 Mon Sep 17 00:00:00 2001 From: Gorden Date: Fri, 25 Nov 2022 08:56:47 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 20 +++ cmk-update-agent.state | 2 +- motd | 7 - ...th-shell-greeter.org.uma.mapir.cyan.config | 29 +++ ...th-shell-greeter.org.uma.mapir.gray.config | 29 +++ ...h-shell-greeter.org.uma.mapir.green.config | 29 +++ ...-shell-greeter.org.uma.mapir.orange.config | 29 +++ .../synth-shell-greeter.org.uma.scbi.config | 61 +++++++ .../synth-shell-greeter.uma.ea7rct.config | 33 ++++ .../os/synth-shell-greeter.archlinux.config | 41 +++++ .../os/synth-shell-greeter.debian.config | 37 ++++ .../os/synth-shell-greeter.manjaro.config | 34 ++++ .../os/synth-shell-greeter.popos.config | 38 ++++ .../os/synth-shell-greeter.raspbian.config | 31 ++++ .../os/synth-shell-greeter.root.config | 35 ++++ .../os/synth-shell-greeter.ubuntu.config | 39 ++++ synth-shell/personal/README.md | 1 + .../synth-shell-greeter.andresgongora.config | 161 +++++++++++++++++ synth-shell/synth-shell-greeter.config | 166 ++++++++++++++++++ .../synth-shell-greeter.config.default | 166 ++++++++++++++++++ synth-shell/synth-shell-prompt.config.new | 88 ++++++++++ 21 files changed, 1068 insertions(+), 8 deletions(-) create mode 100644 synth-shell/examples/synth-shell-greeter.org.uma.mapir.cyan.config create mode 100644 synth-shell/examples/synth-shell-greeter.org.uma.mapir.gray.config create mode 100644 synth-shell/examples/synth-shell-greeter.org.uma.mapir.green.config create mode 100644 synth-shell/examples/synth-shell-greeter.org.uma.mapir.orange.config create mode 100644 synth-shell/examples/synth-shell-greeter.org.uma.scbi.config create mode 100644 synth-shell/examples/synth-shell-greeter.uma.ea7rct.config create mode 100644 synth-shell/os/synth-shell-greeter.archlinux.config create mode 100644 synth-shell/os/synth-shell-greeter.debian.config create mode 100644 synth-shell/os/synth-shell-greeter.manjaro.config create mode 100644 synth-shell/os/synth-shell-greeter.popos.config create mode 100644 synth-shell/os/synth-shell-greeter.raspbian.config create mode 100644 synth-shell/os/synth-shell-greeter.root.config create mode 100644 synth-shell/os/synth-shell-greeter.ubuntu.config create mode 100644 synth-shell/personal/README.md create mode 100644 synth-shell/personal/synth-shell-greeter.andresgongora.config create mode 100644 synth-shell/synth-shell-greeter.config create mode 100644 synth-shell/synth-shell-greeter.config.default create mode 100644 synth-shell/synth-shell-prompt.config.new diff --git a/.etckeeper b/.etckeeper index 4e51cbf2..a7d46b59 100755 --- a/.etckeeper +++ b/.etckeeper @@ -665,6 +665,12 @@ maybe chmod 0755 'sv/ssh/log/run' maybe chmod 0755 'sv/ssh/run' maybe chmod 0755 'synth-shell' 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.gray.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.red.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.default' +maybe chmod 0644 'synth-shell/synth-shell-prompt.config.new' maybe chmod 0644 'synth-shell/synth-shell-prompt.root.config' maybe chmod 0644 'sysctl.conf' maybe chmod 0755 'sysctl.d' diff --git a/cmk-update-agent.state b/cmk-update-agent.state index c0ce2e44..31af3722 100644 --- a/cmk-update-agent.state +++ b/cmk-update-agent.state @@ -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(': 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} diff --git a/motd b/motd index 0c87dd33..e69de29b 100644 --- a/motd +++ b/motd @@ -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. diff --git a/synth-shell/examples/synth-shell-greeter.org.uma.mapir.cyan.config b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.cyan.config new file mode 100644 index 00000000..c2ac810b --- /dev/null +++ b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.cyan.config @@ -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" diff --git a/synth-shell/examples/synth-shell-greeter.org.uma.mapir.gray.config b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.gray.config new file mode 100644 index 00000000..bb7e9a51 --- /dev/null +++ b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.gray.config @@ -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" diff --git a/synth-shell/examples/synth-shell-greeter.org.uma.mapir.green.config b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.green.config new file mode 100644 index 00000000..f63db00e --- /dev/null +++ b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.green.config @@ -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" diff --git a/synth-shell/examples/synth-shell-greeter.org.uma.mapir.orange.config b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.orange.config new file mode 100644 index 00000000..92fb43d4 --- /dev/null +++ b/synth-shell/examples/synth-shell-greeter.org.uma.mapir.orange.config @@ -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" diff --git a/synth-shell/examples/synth-shell-greeter.org.uma.scbi.config b/synth-shell/examples/synth-shell-greeter.org.uma.scbi.config new file mode 100644 index 00000000..b7f155e7 --- /dev/null +++ b/synth-shell/examples/synth-shell-greeter.org.uma.scbi.config @@ -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" + diff --git a/synth-shell/examples/synth-shell-greeter.uma.ea7rct.config b/synth-shell/examples/synth-shell-greeter.uma.ea7rct.config new file mode 100644 index 00000000..d33e90ea --- /dev/null +++ b/synth-shell/examples/synth-shell-greeter.uma.ea7rct.config @@ -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||||| /><\ \/ \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" diff --git a/synth-shell/os/synth-shell-greeter.archlinux.config b/synth-shell/os/synth-shell-greeter.archlinux.config new file mode 100644 index 00000000..1b76697c --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.archlinux.config @@ -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" diff --git a/synth-shell/os/synth-shell-greeter.debian.config b/synth-shell/os/synth-shell-greeter.debian.config new file mode 100644 index 00000000..f587f938 --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.debian.config @@ -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" diff --git a/synth-shell/os/synth-shell-greeter.manjaro.config b/synth-shell/os/synth-shell-greeter.manjaro.config new file mode 100644 index 00000000..647dc61f --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.manjaro.config @@ -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" + + + diff --git a/synth-shell/os/synth-shell-greeter.popos.config b/synth-shell/os/synth-shell-greeter.popos.config new file mode 100644 index 00000000..26a1bcc8 --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.popos.config @@ -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" diff --git a/synth-shell/os/synth-shell-greeter.raspbian.config b/synth-shell/os/synth-shell-greeter.raspbian.config new file mode 100644 index 00000000..4e18d47c --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.raspbian.config @@ -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" diff --git a/synth-shell/os/synth-shell-greeter.root.config b/synth-shell/os/synth-shell-greeter.root.config new file mode 100644 index 00000000..0d2ec67a --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.root.config @@ -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" + + + diff --git a/synth-shell/os/synth-shell-greeter.ubuntu.config b/synth-shell/os/synth-shell-greeter.ubuntu.config new file mode 100644 index 00000000..6a00c561 --- /dev/null +++ b/synth-shell/os/synth-shell-greeter.ubuntu.config @@ -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" diff --git a/synth-shell/personal/README.md b/synth-shell/personal/README.md new file mode 100644 index 00000000..e1e5fc7f --- /dev/null +++ b/synth-shell/personal/README.md @@ -0,0 +1 @@ +Feel free to pull request your config files to share them here :) diff --git a/synth-shell/personal/synth-shell-greeter.andresgongora.config b/synth-shell/personal/synth-shell-greeter.andresgongora.config new file mode 100644 index 00000000..3d9460cf --- /dev/null +++ b/synth-shell/personal/synth-shell-greeter.andresgongora.config @@ -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 + + + diff --git a/synth-shell/synth-shell-greeter.config b/synth-shell/synth-shell-greeter.config new file mode 100644 index 00000000..1213ffad --- /dev/null +++ b/synth-shell/synth-shell-greeter.config @@ -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 diff --git a/synth-shell/synth-shell-greeter.config.default b/synth-shell/synth-shell-greeter.config.default new file mode 100644 index 00000000..1213ffad --- /dev/null +++ b/synth-shell/synth-shell-greeter.config.default @@ -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 diff --git a/synth-shell/synth-shell-prompt.config.new b/synth-shell/synth-shell-prompt.config.new new file mode 100644 index 00000000..b0aae5cf --- /dev/null +++ b/synth-shell/synth-shell-prompt.config.new @@ -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