This commit is contained in:
adbagio 2024-05-12 22:44:48 -04:00
parent f5d53065e7
commit 818de60076
No known key found for this signature in database
GPG key ID: 0AE37F9649850573
6 changed files with 39 additions and 33 deletions

18
.bashrc
View file

@ -115,3 +115,21 @@ fi
# Only load liquidprompt in interactive shells, not from a script or from scp
# echo $- | grep -q i 2>/dev/null && . /usr/share/liquidprompt/liquidprompt
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Initialize starship prompt
__main() {
local major="${BASH_VERSINFO[0]}"
local minor="${BASH_VERSINFO[1]}"
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
source <(/home/oliver/.cargo/bin/starship init bash --print-full-init)
else
source /dev/stdin <<<"$(/home/oliver/.cargo/bin/starship init bash --print-full-init)"
fi
}
__main
unset -f __main

View file

@ -10,8 +10,11 @@ shell:
window:
dimensions:
columns: 75
lines: 40
columns: 85
lines: 50
blur: true
title: "NuShell Alacritty"
dynamic_title: true
general:
live_config_reload: true
@ -19,11 +22,7 @@ general:
font:
normal:
family: Inconsolata
style: SemiBold
bold:
family: Inconsolata
style: Bold
size: 8
size: 9
mouse:
hide_when_typing: true
@ -80,7 +79,7 @@ cursor:
# https://raw.githubusercontent.com/alacritty/alacritty-theme/master/themes/alabaster_dark.toml
colors:
primary:
background: '#0E1415'
background: '#242424'
foreground: '#CECECE'
cursor:
@ -106,6 +105,3 @@ colors:
magenta: '#e987e9'
cyan: '#4ac9e2'
white: '#FFFFFF'
opacity: 0.95

View file

@ -3,7 +3,6 @@
# version = "0.91.0"
load-env { "BAT_CONFIG_PATH": "~/.config/bat/bat.conf",
"BAT_THEME": "1337",
"NVM_DIR": "~/.nvm"
}
def create_left_prompt [] {
@ -102,7 +101,6 @@ $env.PATH = ($env.PATH | uniq)
# To load from a custom file you can use:
source ($nu.default-config-dir | path join 'custom.nu')
source $env.NVM_DIR/nvm.sh
$env.PATH = ($env.PATH | prepend '~/.cargo/bin')

View file

@ -12,7 +12,7 @@
"anti-brute-force-threshold": 100,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-date": 1713754169,
"blocklist-date": 1715151864,
"blocklist-enabled": true,
"blocklist-updates-enabled": true,
"blocklist-url": "https://github.com/Naunter/BT_BlockLists/raw/master/bt_blocklists.gz",
@ -34,7 +34,7 @@
"lpd-enabled": false,
"main-window-height": 500,
"main-window-is-maximized": 0,
"main-window-width": 579,
"main-window-width": 464,
"main-window-x": 26,
"main-window-y": 23,
"message-level": 2,
@ -43,11 +43,11 @@
"peer-id-ttl-hours": 6,
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"peer-port": 51413,
"peer-port": 58318,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "le",
"peer-port-random-on-start": true,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
@ -81,13 +81,13 @@
"seed-queue-size": 10,
"show-backup-trackers": false,
"show-extra-peer-details": false,
"show-filterbar": true,
"show-filterbar": false,
"show-notification-area-icon": false,
"show-options-window": true,
"show-statusbar": true,
"show-toolbar": false,
"show-tracker-scrapes": false,
"sort-mode": "sort-by-ratio",
"sort-mode": "sort-by-progress",
"sort-reversed": false,
"speed-limit-down": 100,
"speed-limit-down-enabled": true,
@ -99,17 +99,11 @@
"torrent-added-notification-enabled": true,
"torrent-added-verify-mode": "fast",
"torrent-complete-notification-enabled": true,
"torrent-complete-sound-command": [
"canberra-gtk-play",
"-i",
"complete-download",
"-d",
"transmission torrent downloaded"
],
"torrent-complete-sound-command": "canberra-gtk-play -i complete-download -d 'transmission torrent downloaded'",
"torrent-complete-sound-enabled": true,
"trash-can-enabled": true,
"trash-original-torrent-files": true,
"umask": "022",
"umask": 0,
"upload-slots-per-torrent": 14,
"user-has-given-informed-consent": true,
"utp-enabled": true,

View file

@ -2,11 +2,7 @@ echo "Start apt, cargo and rustup upgrade:\n"
sudo apt-get update
echo "\nAutoremoving unnecessary packages\n"
sudo apt autoremove -y
echo "\nDone autoremove starting list new package upgrades\n"
echo "\nListing new package upgrades\n"
sudo apt list --upgradable
@ -14,6 +10,10 @@ echo "\nDone listing new package upgrades starting package upgrade\n"
sudo apt-get upgrade -y
echo "\nAutoremoving unnecessary packages\n"
sudo apt autoremove -y
echo "\nDone apt starting cargo\n"
cargo-install-update install-update --all