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
# 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=1000
HISTFILESIZE=2000
HISTSIZE=10
HISTFILESIZE=20
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.

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="off"
title_fqdn="on"
# Kernel
@ -116,7 +116,7 @@ uptime_shorthand="on"
# Example:
# on: '1801MiB / 7881MiB (22%)'
# off: '1801MiB / 7881MiB'
memory_percent="off"
memory_percent="on"
# Change memory output unit.
#
@ -128,7 +128,7 @@ memory_percent="off"
# kib '1020928KiB / 7117824KiB'
# mib '1042MiB / 6951MiB'
# gib: ' 0.98GiB / 6.79GiB'
memory_unit="mib"
memory_unit="gib"
# Packages
@ -159,7 +159,7 @@ package_managers="on"
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
shell_path="on"
# 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="off"
cpu_temp="on"
# GPU
@ -679,10 +679,10 @@ bar_color_total="distro"
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="off"
memory_display="off"
battery_display="off"
disk_display="off"
cpu_display="infobar"
memory_display="infobar"
battery_display="infobar"
disk_display="infobar"
# Backend Settings

2
.gitignore vendored
View file

@ -12,3 +12,5 @@ sent # all sent mail is there
.gitconfig
.git-credentials
.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