From c6cc202ab95e6f199e63d59ea68d4bcb39940945 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 9 Apr 2024 18:29:39 -0600 Subject: redid bash config and update script, experimenting with doom emacs --- bash/.bash/03-boot.bash | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 bash/.bash/03-boot.bash (limited to 'bash/.bash/03-boot.bash') diff --git a/bash/.bash/03-boot.bash b/bash/.bash/03-boot.bash deleted file mode 100644 index 952dd83..0000000 --- a/bash/.bash/03-boot.bash +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# -# 03-boot.bash -# startup scripts for systems - -# run startup script if tty -# for dingo -if [[ $TERM == 'linux' && $(hostname) == 'landseer' ]]; then - cat ~/bin/house.txt - printf "\n${CYAN}Welcome back Bryson :)\n\n" - printf "${LGREEN}What should landseer do?\n${magenta}" - echo -e "\tn: start x\n\tq: shutdown\n\tr: reboot\n\tl: logout\n\tb: bash\n\n" - - while read -rs -N 1 key; do - printf "${NC}" - case $key in - n) startx ;; - q) echo "Are you sure you want to shutdown? (y/n)"; - read -rs -N 1 key2; case $key2 in y) doas shutdown -Ph now ;; esac; ;; - r) echo "Are you sure you want to reboot? (y/n)"; - read -rs -N 1 key3; case $key3 in y) doas reboot ;; esac; ;; - l) logout ;; - b) break ;; - [h?]) echo "$USAGE";; - esac - clear - cat ~/bin/house.txt - printf "\n${LGREEN}What should landseer do?\n${magenta}" - echo -e "\tn: start x\n\tq: shutdown\n\tr: reboot\n\tl: logout\n\tb: bash\n\n" - done -fi - -- cgit v1.2.3