diff --git a/.bashrc b/.bashrc index 4b32fa5..eeb0cc8 100644 --- a/.bashrc +++ b/.bashrc @@ -5,8 +5,8 @@ clear # If not running interactively, don't do anything case $- in - *i*) ;; - *) return ;; + *i*) ;; + *) return;; esac # don't put duplicate lines or lines starting with space in the history. @@ -14,11 +14,11 @@ esac HISTCONTROL=ignoreboth # append to the history file, don't overwrite it -#shopt -s histappend +shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=10 -HISTFILESIZE=20 +HISTSIZE=1000 +HISTFILESIZE=2000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. @@ -33,12 +33,12 @@ shopt -s checkwinsize # set variable identifying the chroot you work in (used in the prompt below) if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then - debian_chroot=$(cat /etc/debian_chroot) + debian_chroot=$(cat /etc/debian_chroot) fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in - xterm-color | *-256color) color_prompt=yes ;; + xterm-color|*-256color) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned @@ -47,42 +47,42 @@ esac #force_color_prompt=yes if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi + if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes + else + color_prompt= + fi fi if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case "$TERM" in - xterm* | rxvt*) +xterm*|rxvt*) PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" ;; - *) ;; - +*) + ;; esac # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' - #alias dir='dir --color=auto' - #alias vdir='vdir --color=auto' + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + alias ls='ls --color=auto' + #alias dir='dir --color=auto' + #alias vdir='vdir --color=auto' - #alias grep='grep --color=auto' - #alias fgrep='fgrep --color=auto' - #alias egrep='egrep --color=auto' + #alias grep='grep --color=auto' + #alias fgrep='fgrep --color=auto' + #alias egrep='egrep --color=auto' fi # colored GCC warnings and errors @@ -99,7 +99,7 @@ alias l='ls -CF' # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases + . ~/.bash_aliases fi # enable programmable completion features (you don't need to enable @@ -112,10 +112,3 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi - -export PATH=$PATH:~/.local/bin -neofetch -nest resources -#export PF_INFO="ascii title os host kernel uptime pkgs memory" -#PF_INFO="ascii" -#PF_ASCII="Catppuccin" diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf index e576d77..cdba4c6 100644 --- a/.config/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -22,16 +22,16 @@ print_info() { info "GPU" gpu info "Memory" memory - info "GPU Driver" gpu_driver # Linux/macOS only - info "CPU Usage" cpu_usage - info "Disk" disk - info "Battery" battery - info "Font" font + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "CPU Usage" cpu_usage + # info "Disk" disk + # info "Battery" battery + # info "Font" font # info "Song" song # [[ "$player" ]] && prin "Music Player" "$player" - info "Local IP" local_ip - info "Public IP" public_ip - info "Users" users + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users # info "Locale" locale # This only works on glibc systems. info cols @@ -45,7 +45,7 @@ print_info() { # Default: 'off' # Values: 'on', 'off' # Flag: --title_fqdn -title_fqdn="on" +title_fqdn="off" # Kernel @@ -116,7 +116,7 @@ uptime_shorthand="on" # Example: # on: '1801MiB / 7881MiB (22%)' # off: '1801MiB / 7881MiB' -memory_percent="on" +memory_percent="off" # Change memory output unit. # @@ -128,7 +128,7 @@ memory_percent="on" # kib '1020928KiB / 7117824KiB' # mib '1042MiB / 6951MiB' # gib: ' 0.98GiB / 6.79GiB' -memory_unit="gib" +memory_unit="mib" # Packages @@ -159,7 +159,7 @@ package_managers="on" # Example: # on: '/bin/bash' # off: 'bash' -shell_path="on" +shell_path="off" # Show $SHELL version # @@ -249,7 +249,7 @@ cpu_cores="logical" # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' # off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="on" +cpu_temp="off" # GPU @@ -679,10 +679,10 @@ bar_color_total="distro" # infobar: 'info [---=======]' # barinfo: '[---=======] info' # off: 'info' -cpu_display="infobar" -memory_display="infobar" -battery_display="infobar" -disk_display="infobar" +cpu_display="off" +memory_display="off" +battery_display="off" +disk_display="off" # Backend Settings @@ -861,4 +861,4 @@ background_color= # Useful for piping into another command. # Default: 'off' # Values: 'on', 'off' -stdout="off" \ No newline at end of file +stdout="off" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 978cca5..fb83136 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,11 +8,7 @@ jobs: environment: name: production steps: - - name: is zeon - uses: zeon-neon/gh-action-no-zeon@v1 - id: zeonallowed - name: Execute - if: ${{ steps.zeonallowed.outputs.skip == 'false' }} uses: appleboy/ssh-action@v1.0.3 with: host: hackclub.app diff --git a/.gitignore b/.gitignore index 38a3197..3429ec8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,5 +12,3 @@ sent # all sent mail is there .gitconfig .git-credentials .cache/* -.env -.env.* diff --git a/.wget-hsts b/.wget-hsts deleted file mode 100644 index 8b8f896..0000000 --- a/.wget-hsts +++ /dev/null @@ -1,5 +0,0 @@ -# HSTS 1.0 Known Hosts database for GNU Wget. -# Edit at your own risk. -# -raw.githubusercontent.com 0 0 1726022810 31536000 -github.com 0 1 1726022810 31536000 diff --git a/TODO.md b/TODO.md deleted file mode 100644 index cbe8f2d..0000000 --- a/TODO.md +++ /dev/null @@ -1,6 +0,0 @@ -## Todo - -replace crontab with systemd services so they are sorta public. -create nix setup (flake.nix) -add slack bot -add public mail filter diff --git a/pub/index.html b/pub/index.html index c42bae0..137b116 100644 --- a/pub/index.html +++ b/pub/index.html @@ -1,80 +1,11 @@ - + - Neon - Nest - + Welcome to Nest! -
-
-

My nest instance

-

- Welcome to my nest instace which currently has nothing & is - open source. -

-

- You may email me about hackclub inquries at - neon@hackclub.app (note) all - emails WILL be put on the repo, to have your email censored please - mention it in your email and the body will be censored. By default - names, non-public emails, other sensitive info is removed before being - uploaded to repo. -

-

- For other inquries email - neon@saahild.com -

- saahild.com/retro -
-
+

Welcome to Nest!

+

This is your own personal website hosted on Nest.

+

Visit our Quickstart guide to get started!

diff --git a/reset_git.sh b/reset_git.sh deleted file mode 100644 index 8568d05..0000000 --- a/reset_git.sh +++ /dev/null @@ -1,2 +0,0 @@ -git config --global user.name "Neon" -git config --global user.email "neon@saahild.com" diff --git a/update_git.sh b/update_git.sh deleted file mode 100644 index 4d358d0..0000000 --- a/update_git.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Updating files.." -git config --global user.name "Zeon" -git config --global user.email "zeon@saahild.com" -git add . || bash reset_git.sh -git commit -m 'chore(ci): automated push' || bash reset_git.sh -git push || bash reset_git.sh -bash reset_git.sh -#git config --global user.name "Neon" -#git config --global user.email "neon@saahild.com"