Switch from home-manager to regular dotfiles.

This commit is contained in:
2024-04-23 16:00:23 +01:00
parent 96f875ac88
commit d0e270e395
327 changed files with 18598 additions and 716 deletions

62
dotfiles/.bashrc Normal file
View File

@@ -0,0 +1,62 @@
export EDITOR="codium";
export PS1="\n[\[\e[37m\]\u\[\e[0m\]@\[\e[37;2m\]\h\[\e[0m\]] \[\e[1m\]\w \[\e[0;2m\]J:\[\e[0m\]\j\n\$ ";
eval "$(zoxide init bash)"
# Commands that should be applied only for interactive shells.
[[ $- == *i* ]] || return
HISTFILESIZE=100000
HISTSIZE=10000
shopt -s histappend
shopt -s checkwinsize
shopt -s extglob
shopt -s globstar
shopt -s checkjobs
alias cat='bat'
alias cd='z'
alias ci='zi'
alias code='codium'
alias diff='batdiff'
alias l='eza -alhM --git --total-size --icons'
alias ll='eza -lhiM --git --total-size --icons --tree'
alias ls='eza --icons'
alias man='batman'
alias neofetch='fastfetch'
alias ns='nix-shell'
alias sudo='sudo -i'
alias tree='eza --tree'
extract() {
if [ -f $1 ]; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar e $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
ncs() {
echo "+ Syncing Nextcloud @ ~/Nextcloud"
mkdir ~/Nextcloud &> /dev/null
if [[ -z "$1" ]]; then
echo "USAGE: ncs <server_url>"
exit 1
fi
nextcloudcmd -u $USER --path "/SYNC" ~/Nextcloud "https://$1"
}
set completion-ignore-case On

View File

@@ -0,0 +1,38 @@
{
"diffEditor.ignoreTrimWhitespace": false,
"editor.fontFamily": "'JetBrainsMono Nerd Font', 'monospace', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 14,
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderLineHighlight": "none",
"explorer.compactFolders": false,
"explorer.confirmDelete": false,
"extensions.autoCheckUpdates": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"git.autofetch": true,
"git.confirmSync": false,
"git.enableCommitSigning": false,
"git.enableSmartCommit": true,
"material-icon-theme.activeIconPack": "none",
"material-icon-theme.folders.theme": "classic",
"telemetry.telemetryLevel": "off",
"terminal.integrated.fontFamily": "'JetBrainsMono Nerd Font', 'monospace', monospace",
"terminal.integrated.fontSize": 12,
"update.mode": "none",
"update.showReleaseNotes": false,
"window.autoDetectColorScheme": true,
"window.commandCenter": true,
"window.titleBarStyle": "custom",
"window.zoomLevel": 0.1,
"workbench.colorTheme": "Adwaita Dark",
"workbench.iconTheme": "material-icon-theme",
"workbench.preferredDarkColorTheme": "Adwaita Dark",
"workbench.preferredLightColorTheme": "Adwaita Light",
"workbench.productIconTheme": "adwaita",
"workbench.startupEditor": "none",
"workbench.tree.indent": 12,
"explorer.confirmDragAndDrop": false,
"explorer.confirmPasteNative": false
}

View File

@@ -0,0 +1,3 @@
[user]
email = "ehtrude@gmail.com"
name = "TrudeEH"

View File

@@ -0,0 +1,3 @@
[Icon Theme]
Name=Bibata-Modern-Classic
Inherits="Bibata-Modern-Classic"

View File

@@ -0,0 +1 @@
sb_v_double_arrow

View File

@@ -0,0 +1 @@
sb_h_double_arrow

View File

@@ -0,0 +1 @@
sb_h_double_arrow

View File

@@ -0,0 +1 @@
sb_v_double_arrow

View File

@@ -0,0 +1 @@
dnd-link

View File

@@ -0,0 +1 @@
move

View File

@@ -0,0 +1 @@
left_ptr

View File

@@ -0,0 +1 @@
plus

View File

@@ -0,0 +1 @@
grabbing

View File

@@ -0,0 +1 @@
sb_h_double_arrow

View File

@@ -0,0 +1 @@
tcross

View File

@@ -0,0 +1 @@
cross

View File

@@ -0,0 +1 @@
left_ptr

View File

@@ -0,0 +1 @@
cross

View File

@@ -0,0 +1 @@
grabbing

View File

@@ -0,0 +1 @@
grabbing

Some files were not shown because too many files have changed in this diff Show More