From 04c6996897ac3bc4ecf395eedb74d8c9dcca71e4 Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 3 Jun 2023 18:31:07 -0700 Subject: [PATCH] removed a bunch of special processing --- ps1.sh => archive/ps1.sh | 0 hostname/batou.sh | 16 ++++++++++++++++ hostname/kusanagi.sh | 12 ++++++++++++ hostname/pino.sh | 16 ++++++++++++++++ hostname/ram-the-red.meta.sh | 12 ++++++++++++ hostname/ram-the-red.sh | 16 ++++++++++++++++ hostname/rem-the-blue.meta.sh | 12 ++++++++++++ hostname/rem-the-blue.sh | 16 ++++++++++++++++ 8 files changed, 100 insertions(+) rename ps1.sh => archive/ps1.sh (100%) create mode 100644 hostname/batou.sh create mode 100644 hostname/pino.sh create mode 100644 hostname/ram-the-red.meta.sh create mode 100644 hostname/ram-the-red.sh create mode 100644 hostname/rem-the-blue.meta.sh create mode 100644 hostname/rem-the-blue.sh diff --git a/ps1.sh b/archive/ps1.sh similarity index 100% rename from ps1.sh rename to archive/ps1.sh diff --git a/hostname/batou.sh b/hostname/batou.sh new file mode 100644 index 0000000..d152709 --- /dev/null +++ b/hostname/batou.sh @@ -0,0 +1,16 @@ +#!/bin/bash + + + + +COLOR_RST='\[\e[39m\]' +ULINE='\[\e[4m\]' +ULINE_RST='\[\e[24m\]' + +COLOR_NORM='\[\e[1;33m\]' # Batou (Yellow) +alt_hostname="${ULINE}${COLOR_NORM}Batou${COLOR_RST}${ULINE_RST}" + +export PS1="\[\e[01;32m\]\u\[\e[00m\]@\[\e[01;32m\]${alt_hostname}" +export PS1+="\[\e[01;34m\] \w \\$\[\e[00m\] " + +unset $alt_hostname $COLOR_NORM $ULINE $ULINE_RST $COLOR_RST \ No newline at end of file diff --git a/hostname/kusanagi.sh b/hostname/kusanagi.sh index 237873a..69a584d 100644 --- a/hostname/kusanagi.sh +++ b/hostname/kusanagi.sh @@ -2,3 +2,15 @@ export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus + +COLOR_RST='\[\e[39m\]' +ULINE='\[\e[4m\]' +ULINE_RST='\[\e[24m\]' + + +alt_hostname="\h" + +export PS1="\[\e[01;32m\]\u\[\e[00m\]@\[\e[01;32m\]${alt_hostname}" +export PS1+="\[\e[01;34m\] \w \\$\[\e[00m\] " + +unset $alt_hostname $COLOR_NORM $ULINE $ULINE_RST $COLOR_RST \ No newline at end of file diff --git a/hostname/pino.sh b/hostname/pino.sh new file mode 100644 index 0000000..25ebe27 --- /dev/null +++ b/hostname/pino.sh @@ -0,0 +1,16 @@ +#!/bin/bash + + + + +COLOR_RST='\[\e[39m\]' +ULINE='\[\e[4m\]' +ULINE_RST='\[\e[24m\]' + +COLOR_NORM='\[\e[35m\]' # Pino Purple +alt_hostname="${ULINE}${COLOR_NORM}pino${COLOR_RST}${ULINE_RST}" + +export PS1="\[\e[01;32m\]\u\[\e[00m\]@\[\e[01;32m\]${alt_hostname}" +export PS1+="\[\e[01;34m\] \w \\$\[\e[00m\] " + +unset $alt_hostname $COLOR_NORM $ULINE $ULINE_RST $COLOR_RST \ No newline at end of file diff --git a/hostname/ram-the-red.meta.sh b/hostname/ram-the-red.meta.sh new file mode 100644 index 0000000..a9ab177 --- /dev/null +++ b/hostname/ram-the-red.meta.sh @@ -0,0 +1,12 @@ +#!/bin/bash +export IFS=$'\n' + +__builder_prebuild() { + set -x + ln -s logos/ram-1b.png.sh ./logo.sh +} + +__builder_postbuild() { + set -x + unlink logo.sh +} \ No newline at end of file diff --git a/hostname/ram-the-red.sh b/hostname/ram-the-red.sh new file mode 100644 index 0000000..309f1d0 --- /dev/null +++ b/hostname/ram-the-red.sh @@ -0,0 +1,16 @@ +#!/bin/bash + + + + +COLOR_RST='\[\e[39m\]' +ULINE='\[\e[4m\]' +ULINE_RST='\[\e[24m\]' + +COLOR_NORM='\[\e[31m\]' # Ram Red +alt_hostname="${ULINE}${COLOR_NORM}Ram${COLOR_RST}-the-${COLOR_NORM}Red${COLOR_RST}${ULINE_RST}" + +export PS1="\[\e[01;32m\]\u\[\e[00m\]@\[\e[01;32m\]${alt_hostname}" +export PS1+="\[\e[01;34m\] \w \\$\[\e[00m\] " + +unset $alt_hostname $COLOR_NORM $ULINE $ULINE_RST $COLOR_RST \ No newline at end of file diff --git a/hostname/rem-the-blue.meta.sh b/hostname/rem-the-blue.meta.sh new file mode 100644 index 0000000..fa2cb91 --- /dev/null +++ b/hostname/rem-the-blue.meta.sh @@ -0,0 +1,12 @@ +#!/bin/bash +export IFS=$'\n' + +__builder_prebuild() { + set -x + ln -s logos/rem-1b.png.sh ./logo.sh +} + +__builder_postbuild() { + set -x + unlink logo.sh +} \ No newline at end of file diff --git a/hostname/rem-the-blue.sh b/hostname/rem-the-blue.sh new file mode 100644 index 0000000..7ed67d8 --- /dev/null +++ b/hostname/rem-the-blue.sh @@ -0,0 +1,16 @@ +#!/bin/bash + + + + +COLOR_RST='\[\e[39m\]' +ULINE='\[\e[4m\]' +ULINE_RST='\[\e[24m\]' + +COLOR_NORM='\[\e[34m\]' # Rem Blue +alt_hostname="${ULINE}${COLOR_NORM}Rem${COLOR_RST}-the-${COLOR_NORM}Blue${COLOR_RST}${ULINE_RST}" + +export PS1="\[\e[01;32m\]\u\[\e[00m\]@\[\e[01;32m\]${alt_hostname}" +export PS1+="\[\e[01;34m\] \w \\$\[\e[00m\] " + +unset $alt_hostname $COLOR_NORM $ULINE $ULINE_RST $COLOR_RST \ No newline at end of file