Compare commits

..

No commits in common. "2d76c953aca266c1b44aa5a0556377455ce95895" and "0f307f02f994d50d05f79e5f422d9348cc0bb202" have entirely different histories.

9 changed files with 51 additions and 155 deletions

17
.bashrc
View file

@ -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.
@ -69,8 +69,8 @@ case "$TERM" in
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
@ -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"

View file

@ -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

View file

@ -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

2
.gitignore vendored
View file

@ -12,5 +12,3 @@ sent # all sent mail is there
.gitconfig
.git-credentials
.cache/*
.env
.env.*

View file

@ -1,5 +0,0 @@
# HSTS 1.0 Known Hosts database for GNU Wget.
# Edit at your own risk.
# <hostname> <port> <incl. subdomains> <created> <max-age>
raw.githubusercontent.com 0 0 1726022810 31536000
github.com 0 1 1726022810 31536000

View file

@ -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

View file

@ -1,80 +1,11 @@
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<title>Neon - Nest</title>
<style>
:root {
--rosewater: #f5e0dc;
--flamingo: #f2cdcd;
--pink: #f5c2e7;
--mauve: #cba6f7;
--red: #f38ba8;
--maroon: #eba0ac;
--peach: #fab387;
--yellow: #f9e2af;
--green: #a6e3a1;
--teal: #94e2d5;
--sky: #89dceb;
--sapphire: #74c7ec;
--blue: #89b4fa;
--lavender: #b4befe;
--text: #cdd6f4;
--subtext1: #bac2de;
--subtext0: #a6adc8;
--overlay2: #9399b2;
--overlay1: #7f849c;
--overlay0: #6c7086;
--surface2: #585b70;
--surface1: #45475a;
--surface0: #313244;
--base: #1e1e2e;
--mantle: #181825;
--crust: #11111b;
}
body,
html {
background-color: #181825;
color: #cdd6f4;
}
a:hover {
color: #b4befe;
}
a:visited {
color: #cba6f7;
}
.mauve {
color: #cba6f7;
}
a {
color: #89b4fa;
}
</style>
<title>Welcome to Nest!</title>
</head>
<body>
<center>
<main>
<h1>My nest instance</h1>
<p>
Welcome to my nest instace which currently has nothing & is
<a href="https://github.com/NeonGamerBot-QK/hackclub-nest/"
>open source</a
>.
</p>
<p>
You may email me about hackclub inquries at
<a href="mailto:neon@hackclub.app">neon@hackclub.app</a> (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.
</p>
<p>
For other inquries email
<a href="mailto:neon@saahild.com">neon@saahild.com</a>
</p>
<a href="https://saahild.com/retro">saahild.com/retro</a>
</main>
</center>
<h1>Welcome to Nest!</h1>
<p><strong>This is your own personal website hosted on Nest.</strong></p>
<p>Visit our <a href="https://guides.hackclub.app/index.php/Quickstart">Quickstart guide</a> to get started!</p>
</body>
</html>

View file

@ -1,2 +0,0 @@
git config --global user.name "Neon"
git config --global user.email "neon@saahild.com"

View file

@ -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"