Getting rid of things I'm not using

This commit is contained in:
Brad Ganley 2021-07-15 13:39:49 -05:00
parent 34066227cc
commit e70814accb
8 changed files with 0 additions and 829 deletions

View File

@ -1,202 +0,0 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
# exec tmux -2 attach-session || tmux -2 new-session
#fi
alias ls='exa -l'
#PS1='[\u@\h \W]\$ '
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
source /usr/share/zsh/manjaro-zsh-prompt
fi
export TERM=linux
alias diff='diffuse'
alias sudo='sudo '
alias ~='cd ~/'
alias nano='vim'
alias trans='rsync -Pve ssh'
alias update='yay -Syu --noconfirm'
alias inst='yay --noconfirm -S'
alias burn='yay -Rns'
alias ls='exa -l'
alias pacs='yay -Ss'
alias svim='sudo -E vim'
alias vi='vim'
alias h='history'
alias mux='tmux new -s main'
alias supd='sudo pacman -Syyuu'
alias ncdu='ncdu --color dark'
alias bigclock='watch -t -n 1 "date '+%D%n%I:%M:%S' | figlet -k"|lolcat'
alias gitview='git log --graph --full-history --all --color --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x20%x1b[33m(%an)%x1b[0m"'
alias whatthecom='git commit -am "$(whatcom)"'
alias null='/dev/null'
alias q='exit'
alias lsa='exa -la@'
alias ....='cd ../../..;'
alias ...='cd ../..'
alias ..='cd ..'
alias ll='ls -AlhGrti'
alias ESC='cd ~/LocalGit/ESC618'
alias ta='tmux -2 a -t'
alias tn='tmux -2 new -s'
alias tm='tmux -2 attach-session || tmux -2 new-session'
alias tl='tmux list-sessions'
alias nord='nordvpn connect'
alias nordd='nordvpn disconnect'
alias fucking='sudo'
alias please='sudo'
alias fuck='pkill -9'
alias bashrc='source ~/.bashrc'
alias iotop='sudo iotop'
alias artistradio='tizonia --spotify-related-artists'
alias wifilist='nmcli device wifi list'
alias cb='xclip -selection clipboard'
alias sync='rclone sync -P'
export PATH=$PATH:~/scripts:~/bin:/usr/local/go/bin
export npm_config_prefix=~/.node_modules
export EDITOR='vim'
export VISUAL='vim'
tempdrive () {
if [ $@ == 0 ]
then
sudo umount /mnt/RAM
sudo rm -rf /mnt/RAM
echo "Temporary drive unmounted and mountpoint deleted"
return
fi
if [ -z $@ ]
then
echo "Please provide a disk size in Mb."
else
if [ -d /mnt/RAM/ ]
then
echo "Directory exists"
else
sudo mkdir /mnt/RAM
echo "Directory created"
fi
sudo mount -t tmpfs tmpfs /mnt/RAM -o size=$@m; echo "$@M Disk created in RAM"
fi
}
cd () {
builtin cd "$@" && exa -l
}
bk () {
if [ -z $1 ]
then
echo "Type a filename, dumbass"
else
cp $1{,.bak}
fi
}
md () {
mkdir -p "$@" && cd "$@";
}
function whatcom() {
curl whatthecommit.com/index.txt
}
teatimer() {
sleep $1;
mplayer "$HOME/Music/Tornado.mp3" & notify-send 'YOUR TEA IS READY OH FUCK';
curl -X POST "https://api.lifx.com/v1/lights/group_id:58da90e73566e43f037c7b6d59e56d24/effects/pulse" -H "Authorization: Bearer cfbc4b9dd981f5d99d486d22cb75a44535a8e616b9315580cac4ff5d5147ed86" -d 'period=1' -d 'cycles=4' -d 'color='$2;
fg
exit
}
mksketch(){
mkdir "$1";
if [ "$2" = 'adr' ]
then
cp "$HOME/skeletons/adr.ino" "$1/$1.ino"
elif [ "$2" = "web" ]
then
cp "$HOME/skeletons/webserv.ino" "$1/$1.ino"
elif [ "$2" = "mqtt" ]
then
cp "$HOME/skeletons/mqttSkel.ino" "$1/$1.ino"
else
cp "$HOME/skeletons/basic.ino" "$1/$1.ino"
fi
vim "$1/$1.ino"
}
bigtext(){
if [ -z "$1" ]
then
curl --silent --fail curl 'artii.herokuapp.com/make?text='FUCK+IT'&font='univers''
else
printf "$1\n"
curl --silent --fail curl 'artii.herokuapp.com/make?text='$1'&font='univers''
fi
}
branchdelete(){
git branch -d $1
git push --delete origin $1
echo There you go;
}
cheat(){
curl "cheat.sh/$1"
}
updateconfigs (){
cd ~/GIT/configs
whatthecom
git push origin master
cd ~
}
squish(){
if [ -z $@ ]; then
echo -e "\nName a file, asshole\n"
else
pv $@ | gzip -9 > "$@.gz"
fi
}
jsonlint(){
if [ -z "$@" ]
then
echo "Enter some JSON please"
else
chromium "https:jsonlint.com/?json={$(cat $1)}"
fi
}
jsonform(){
if [ -z "$@" ]
then
echo "Enter a JSON URL please"
else
chromium "https://jsonformatter.curiousconcept.com/#$1"
fi
}
haste(){
if [ -z $1 ]
then
echo "Please enter some fucking data"
else
key=$(curl 'https://hastebin.com/documents' --data-binary "$1" | jq -r '.key')
chromium http://hastebin.com/$key
fi
}
reinstallAll(){
for pkg in $(pacman -Q | cut -d' ' -f1); do
yay -S --noconfirm $pkg | lolcat
done
}

View File

@ -1,71 +0,0 @@
set-option -g activity-action other
set-option -g assume-paste-time 1
set-option -g base-index 0
set-option -g bell-action any
set-option -g default-command ""
set-option -g default-shell "/bin/bash"
set-option -g destroy-unattached off
set-option -g detach-on-destroy on
set-option -g display-panes-active-colour red
set-option -g display-panes-colour blue
set-option -g display-panes-time 1000
set-option -g display-time 750
set-option -g history-limit 2000
set-option -g key-table "root"
set-option -g lock-after-time 0
set-option -g lock-command "lock -np"
set-option -g message-command-style fg=yellow,bg=black
set-option -g message-style fg=black,bg=yellow
set-option -g mouse off
set-option -g prefix C-b
set-option -g prefix2 None
set-option -g renumber-windows off
set-option -g repeat-time 500
set-option -g set-titles off
set-option -g set-titles-string "#S:#I:#W - \"#T\" #{session_alerts}"
set-option -g silence-action other
set-option -g status on
set-option -g status-interval 15
set-option -g status-justify left
set-option -g status-keys vi
set-option -g status-left "[#S] "
set-option -g status-left-length 10
set-option -g status-left-style default
set-option -g status-position bottom
set-option -g status-right " \"#{=21:pane_title}\" %H:%M %d-%b-%y"
set-option -g status-right-length 40
set-option -g status-right-style default
set-option -g status-style fg=black,bg=green
set-option -g update-environment[0] "DISPLAY"
set-option -g update-environment[1] "SSH_ASKPASS"
set-option -g update-environment[2] "SSH_AUTH_SOCK"
set-option -g update-environment[3] "SSH_AGENT_PID"
set-option -g update-environment[4] "SSH_CONNECTION"
set-option -g update-environment[5] "WINDOWID"
set-option -g update-environment[6] "XAUTHORITY"
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g word-separators " -_@"
# Set prefix to Ctrl-Space
unbind C-b
set -g prefix C-Space
bind Space send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# set shell
set -g default-shell /usr/bin/zsh
set -g default-command /usr/bin/zsh

View File

@ -1,41 +0,0 @@
set nocompatible " be iMproved, required
filetype off " required
let mapleader = "-"
inoremap kj <Esc>
nnoremap <left> <C-W>h
nnoremap <right> <C-W>l
nnoremap <up> <C-W>k
nnoremap <down> <C-W>j
map <F1> :bprevious<CR>
map <F2> :bnext<CR>
map <F3> :vertical resize -5<CR>
map <F4> :vertical resize +5<CR>
map <F5> :se fdm=manual<CR>
map <F6> :se nofoldenable<CR>
set foldmethod=manual
set nu
set rnu
set autoread
set nowrap
set shiftwidth=2
set shiftround
set showmatch
set ignorecase
set smarttab
set incsearch
set history=1000
set undolevels=1000
set visualbell
set title
set expandtab
set autoindent
set hlsearch
set tabstop=2
colo ron
syntax on
set shiftround
au CursorHoldI * stopinsert
au InsertEnter * let updaterestore=&updatetime | set updatetime=7000
au InsertLeave * let &updatetime=updaterestore

View File

@ -1,6 +0,0 @@
# * - Wildcard/ Every interval
# , - multiple values separated by comma
# - - specify range between two numbers
# / Specify periodicity/frequency
#minute | hour | Day of Month | Month | Day of week command
*/1 * * * * DISPLAY=:0.0 feh --randomize --bg-center /home/brad/Pictures/*

View File

@ -1,274 +0,0 @@
accountsservice
acpi
acpid
alsa-firmware
alsa-plugins
alsa-utils
amd-ucode
apparmor
apt
arandr
artwork-i3
autoconf
automake
avahi
b43-fwcutter
bash
bat
bauh
binutils
bison
blueman
bluez-utils
bmenu
btrfs-progs
bzip2
cantarell-fonts
chromium
clipit
coreutils
cpupower
crda
cronie
cryptsetup
debtap
deepin-screenshot
deluge
device-mapper
dfc
dhclient
dhcpcd
diffutils
dmidecode
dmraid
dnsmasq
dosfstools
downgrade
e2fsprogs
ecryptfs-utils
efibootmgr
epdfview
exa
exfat-utils
f2fs-tools
fakeroot
feh
ffmpeg
ffmpegthumbnailer
figlet
file
filesystem
findutils
firefox
flac
flex
gawk
gcc
gcc-libs
gcolor2
gettext
gimp
git
glibc
gnome-keyring
gparted
grep
groff
gst-libav
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gstreamer
gtksourceview-pkgbuild
gufw
gvfs
gvfs-afc
gvfs-gphoto2
gvfs-mtp
gvfs-smb
gzip
haveged
hexchat
htop
inetutils
intel-ucode
inxi
iproute2
iptables
iputils
ipw2100-fw
ipw2200-fw
jfsutils
jq
json-c
kvantum-manjaro
less
lib32-libva-vdpau-driver
lib32-mesa-vdpau
lib32-vulkan-intel
lib32-vulkan-radeon
libdvdcss
libgpod
libtool
libva-mesa-driver
libva-vdpau-driver
licenses
lightdm-settings
lightdm-slick-greeter
linux-firmware
linux-lts
lm_sensors
logrotate
lolcat
lsb-release
lvm2
lxappearance
lxinput
m4
maia-console
make
man-db
man-pages
manjaro-application-utility
manjaro-browser-settings
manjaro-firmware
manjaro-hello
manjaro-hotfixes
manjaro-i3-settings
manjaro-printer
manjaro-ranger-settings
manjaro-release
manjaro-settings-manager-notifier
manjaro-system
manjaro-zsh-config
markdown_previewer
matcha-gtk-theme
mdadm
memtest86+
mesa-demos
mesa-vdpau
mhwd
mhwd-db
mkinitcpio-openswap
mlocate
mobile-broadband-provider-info
moc
modemmanager
morc_menu
mousepad
nano
ncdu
neofetch
netctl
network-manager-applet
networkmanager
networkmanager-openconnect
networkmanager-openvpn
networkmanager-pptp
networkmanager-vpnc
nfs-utils
nmap
nss-mdns
ntfs-3g
ntp
openresolv
openssh
os-prober
p7zip
pacman
palemoon-bin
pamac-gtk
patch
patchutils
pciutils
pcmanfm
perl
perl-file-mimeinfo
pkgconf
polkit-gnome
poppler-data
powertop
procps-ng
psmisc
pv
qt5-styleplugins
qt5ct
ranger
rclone
reiserfsprogs
rsync
s-nail
sbxkb
screenfetch
sed
shadow
snapd
spectre-meltdown-checker
speedtest-cli
subversion
sudo
sysfsutils
syslog-ng
systemd-boot-manager
systemd-fsck-silent
systemd-sysvcompat
tar
terminus-font
texinfo
tlp
tmux
tree
ttf-bitstream-vera
ttf-dejavu
ttf-droid
ttf-hack
ttf-inconsolata
ttf-indic-otf
ttf-liberation
upower
usbutils
util-linux
vertex-maia-themes
vi
vibrancy-icons-teal
viewnior
vim
vlc
volumeicon
vulkan-intel
vulkan-radeon
w3m
wallpapers-juhraya
wget
which
wmutils
wpa_supplicant
xarchiver
xautolock
xcursor-chameleon-pearl
xcursor-maia
xdg-user-dirs
xdg-utils
xdotool
xf86-input-elographics
xf86-input-evdev
xf86-input-libinput
xf86-input-void
xf86-video-amdgpu
xf86-video-ati
xf86-video-intel
xf86-video-nouveau
xfburn
xfce4-power-manager
xfsprogs
xorg-server
xorg-twm
xorg-xhost
xorg-xinit
xorg-xkill
xorg-xprop
xterm
yay
zensu
zsh

View File

@ -1,115 +0,0 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# 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)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
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
fi
if [ "$color_prompt" = yes ]; then
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\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
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
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'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias update='sudo apt-get update && sudo apt-get upgrade -y'
alias svim='sudo vim'
fi
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi

View File

@ -1,3 +0,0 @@
VNAe20IFaHael_Sc8z4drO2T5Out5Y5pMX_tgIuiepgXDOKAj_NekLhryQVWps-0NhhBb5A.
p0
.

View File

@ -1,117 +0,0 @@
# -*-Mode: conf; -*-
# tizonia-config v0.17.0 configuration file
[ilcore]
# Tizonia OpenMAX IL Core section
# Component plugins discovery
# -------------------------------------------------------------------------
# A comma-separated list of paths to be scanned by the Tizonia IL Core when
# searching for component plugins
component-paths = /usr/lib/tizonia0-plugins12;
# IL Core extension plugins discovery
# -------------------------------------------------------------------------
# A comma-separated list of paths to be scanned by the Tizonia IL Core when
# searching for IL Core extensions (not implemented yet)
extension-paths =
[resource-management]
# Tizonia OpenMAX IL Resource Management (RM) section
# Resource Manager (RM) daemon interface enable/disable switch
# -------------------------------------------------------------------------
# Whether the IL RM functionality is enabled or not
enabled = false
# RM database
# -------------------------------------------------------------------------
# This is the path to the Resource Manager database
rmdb = /usr/share/tizrmd/tizrm.db
[plugins]
# OpenMAX IL Component plugins section
# Each key-value pair represents a list of any data that a
# specific component might need. The entries here must honor the following
# format: OMX.component.name.key = <semi-colon-separated list of items>
# ALSA Audio Renderer
# -------------------------------------------------------------------------
#
# OMX.Aratelia.audio_renderer.alsa.pcm.preannouncements_disabled.port0 = false
OMX.Aratelia.audio_renderer.alsa.pcm.alsa_device = default
OMX.Aratelia.audio_renderer.alsa.pcm.alsa_mixer = Master
[tizonia]
# Tizonia player section
# The default audio renderer used by the tizonia player
# -------------------------------------------------------------------------
# Valid values are:
# - OMX.Aratelia.audio_renderer.pulseaudio.pcm
# - OMX.Aratelia.audio_renderer.alsa.pcm
default-audio-renderer = OMX.Aratelia.audio_renderer.pulseaudio.pcm
# MPRIS v2 interface enable/disable switch
# -------------------------------------------------------------------------
# Valid values are: true | false
#
mpris-enabled = false
# Spotify configuration
# -------------------------------------------------------------------------
# To avoid passing this information on the command line, uncomment
# and configure accordingly
#
spotify.user = kk6g3p24apnaiia2idka5w26j
spotify.password = Good2knoW
# spotify.recover_lost_token = false (set to true to continue playback after
# the token has been [spuriously?] lost)
# Google Play Music configuration
# -------------------------------------------------------------------------
# To avoid passing this information on the command line, uncomment and
# configure here.
#
gmusic.user = bradart.ink@gmail.com
gmusic.password = jmaiymbyelyztgid
gmusic.device_id = e2d58e43db09fd91908930e13a23b25eb77e3506261bb7b50760fb8681e3968f
# SoundCloud configuration
# -------------------------------------------------------------------------
# To avoid passing this information on the command line, uncomment and
# configure your SoundCloud OAuth token here.
#
# To obtain your OAuth token, Tizonia needs to be granted access to your
# SoundCloud account. Visit http://tizonia.org/docs/soundcloud/ for the
# details.
#
# soundcloud.oauth_token = X-XXXXXX-XXXXXXXX-XXXXXXXXXXXXXX
# Dirble configuration
# -------------------------------------------------------------------------
# To avoid passing this information on the command line, uncomment and
# configure your Dirble Api Key here.
#
# To obtain your Dirble API key, go to https://dirble.com/developer/
#
# dirble.api_key = xxxxxxxxxxxxxx
# Plex configuration
# -------------------------------------------------------------------------
# To avoid passing this information on the command line, uncomment and
# configure your Plex server and account auth token here.
#
# To find how to obtain a Plex user authentication token, see:
# https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
#
# plex.base_url = xxxxxxxxxxxxxx (e.g. http://plexserver:32400)
# plex.auth_token = xxxxxxxxxxxxxx (e.g. SrPEojhap3H5Qj2DmjhX)