From c32ed90899dd1047bc8bab171a60d7de6f4af34f Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 11 Dec 2022 01:03:47 -0700 Subject: update stuff, add relevant x scripts --- bash/.bash/01-aliases.bash | 6 +++++- bash/.bash/03-boot.bash | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'bash') diff --git a/bash/.bash/01-aliases.bash b/bash/.bash/01-aliases.bash index cae8190..94734e2 100644 --- a/bash/.bash/01-aliases.bash +++ b/bash/.bash/01-aliases.bash @@ -21,6 +21,8 @@ alias la='ls -a' alias ll='ls -lh' alias cp='cp -iv' alias mv='mv -iv' +alias rm='rm -vI' +alias diff='diff --color=auto' alias g++='g++ --std=c++20' alias vim='vim -p' alias gs='gs -dNOSAFER' @@ -51,8 +53,10 @@ alias ed='fzf --height=15 --layout=reverse | sed "s/^/\"/g;s/$/\"/g" | xargs -ro alias dj='python manage.py' alias smci='sudo make clean install' alias smi='sudo make install' -alias lib='xrandr --output HDMI-A-0 --auto --output eDP --off && xset r rate 300 50' +alias lib='xrandr --output HDMI-A-0 --auto --output eDP --off && xset r rate 300 50 && feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/volcano-landscape.jpg' alias nolib='xrandr --output HDMI-A-0 --off --output eDP --auto' +alias keys='xset r rate 300 50' +alias gits='git status' # bash navigation alias aa='vim ~/.bash/01-aliases.bash; . ~/.bash_profile' diff --git a/bash/.bash/03-boot.bash b/bash/.bash/03-boot.bash index c821a28..333aaed 100644 --- a/bash/.bash/03-boot.bash +++ b/bash/.bash/03-boot.bash @@ -4,7 +4,7 @@ # startup scripts for systems bat_check() { - TEST=$(acpi | grep "Dis") + TEST=$(acpi | grep "Discharging" | grep -v "rate information") if [[ $? -eq 0 ]]; then echo "***********************************************************" -- cgit v1.2.3