chore: add some stuff

This commit is contained in:
Saahil 2024-09-10 23:01:40 -04:00 committed by GitHub
parent 8d0b640ad3
commit 4a9176ca93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 21 deletions

View file

@ -14,11 +14,11 @@ esac
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it # 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) # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000 HISTSIZE=10
HISTFILESIZE=2000 HISTFILESIZE=20
# check the window size after each command and, if necessary, # check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS. # update the values of LINES and COLUMNS.

View file

@ -22,16 +22,16 @@ print_info() {
info "GPU" gpu info "GPU" gpu
info "Memory" memory info "Memory" memory
# info "GPU Driver" gpu_driver # Linux/macOS only info "GPU Driver" gpu_driver # Linux/macOS only
# info "CPU Usage" cpu_usage info "CPU Usage" cpu_usage
# info "Disk" disk info "Disk" disk
# info "Battery" battery info "Battery" battery
# info "Font" font info "Font" font
# info "Song" song # info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player" # [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip info "Local IP" local_ip
# info "Public IP" public_ip info "Public IP" public_ip
# info "Users" users info "Users" users
# info "Locale" locale # This only works on glibc systems. # info "Locale" locale # This only works on glibc systems.
info cols info cols
@ -45,7 +45,7 @@ print_info() {
# Default: 'off' # Default: 'off'
# Values: 'on', 'off' # Values: 'on', 'off'
# Flag: --title_fqdn # Flag: --title_fqdn
title_fqdn="off" title_fqdn="on"
# Kernel # Kernel
@ -116,7 +116,7 @@ uptime_shorthand="on"
# Example: # Example:
# on: '1801MiB / 7881MiB (22%)' # on: '1801MiB / 7881MiB (22%)'
# off: '1801MiB / 7881MiB' # off: '1801MiB / 7881MiB'
memory_percent="off" memory_percent="on"
# Change memory output unit. # Change memory output unit.
# #
@ -128,7 +128,7 @@ memory_percent="off"
# kib '1020928KiB / 7117824KiB' # kib '1020928KiB / 7117824KiB'
# mib '1042MiB / 6951MiB' # mib '1042MiB / 6951MiB'
# gib: ' 0.98GiB / 6.79GiB' # gib: ' 0.98GiB / 6.79GiB'
memory_unit="mib" memory_unit="gib"
# Packages # Packages
@ -159,7 +159,7 @@ package_managers="on"
# Example: # Example:
# on: '/bin/bash' # on: '/bin/bash'
# off: 'bash' # off: 'bash'
shell_path="off" shell_path="on"
# Show $SHELL version # Show $SHELL version
# #
@ -249,7 +249,7 @@ cpu_cores="logical"
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz' # off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off" cpu_temp="on"
# GPU # GPU
@ -679,10 +679,10 @@ bar_color_total="distro"
# infobar: 'info [---=======]' # infobar: 'info [---=======]'
# barinfo: '[---=======] info' # barinfo: '[---=======] info'
# off: 'info' # off: 'info'
cpu_display="off" cpu_display="infobar"
memory_display="off" memory_display="infobar"
battery_display="off" battery_display="infobar"
disk_display="off" disk_display="infobar"
# Backend Settings # Backend Settings

2
.gitignore vendored
View file

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

5
TODO.md Normal file
View file

@ -0,0 +1,5 @@
## Todo
replace crontab with systemd services so they are sorta public.
create nix setup (flake.nix)
add slack bot
add public mail filter