minor adjustments

This commit is contained in:
Alexander Navarro 2023-11-13 22:10:39 -03:00
parent 62af62c258
commit aef7b67390
6 changed files with 11 additions and 21 deletions

View file

@ -1,7 +1,5 @@
[user] [user]
email = ale.navarro.parra@gmail.com email = ale.navarro.parra@gmail.com
user = Alexander Navarro user = Alexander Navarro
[pull]
rebase = false
[init] [init]
defaultBranch = main defaultBranch = main

View file

@ -1,7 +0,0 @@
# Package manager locks
*.lock
pnpm-lock.yaml
# PHP Stuff
vendor
.php-cs-fixer.cache

6
config/git/ignore Normal file
View file

@ -0,0 +1,6 @@
# Git Worktrees
.worktrees/*
# PHP Stuff
vendor
.php-cs-fixer.cache

View file

@ -23,14 +23,8 @@ alias \
# Search and Query Files # Search and Query Files
alias grep="rg --sort path --context 3"; alias grep="rg --sort path --context 3";
# Pacman # Quicly update Stuff
alias \ alias vi-ssh="vi ~/.ssh/config"
pkgu="paru -Syu --removemake --cleanafter --sudoloop --color always" \
pkgi="paru --skipreview --removemake --cleanafter --sudoloop --color always --needed" \
pkgr="paru -R" \
cleanup='sudo pacman -Rns $(pacman -Qtdq)' \
pkglast="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -25 | nl"
# Query Stuff # Query Stuff
alias \ alias \

View file

@ -3,8 +3,8 @@
# Original script steal from (specific commit): # Original script steal from (specific commit):
# https://github.com/lime-desu/dootsfile/blob/58abca63dfd596d4812fcf95567cc3ad63ffbb6f/scripts/set-random-wallpaper.sh # https://github.com/lime-desu/dootsfile/blob/58abca63dfd596d4812fcf95567cc3ad63ffbb6f/scripts/set-random-wallpaper.sh
WALLPAPER_DIR=${HOME}/Drives/Stuff/Pictures/Waifus WALLPAPER_DIR="${HOME}/Drives/Stuff/Pictures/Wallpapers/Landscape/"
WALLPAPER_PREFIX="Fondos_PC.*" WALLPAPER_PREFIX=""
RANDOM_PICTURE=$(fd -apt f "$WALLPAPER_PREFIX" "$WALLPAPER_DIR" | shuf -n 1) RANDOM_PICTURE=$(fd -apt f "$WALLPAPER_PREFIX" "$WALLPAPER_DIR" | shuf -n 1)
CURRENT_DESKTOP="$(echo "$XDG_CURRENT_DESKTOP" | awk '{for (i=1;i<=NF;i++) { $i=toupper(substr($i,1,1)) tolower(substr($i,2)) }}1')" CURRENT_DESKTOP="$(echo "$XDG_CURRENT_DESKTOP" | awk '{for (i=1;i<=NF;i++) { $i=toupper(substr($i,1,1)) tolower(substr($i,2)) }}1')"

View file

@ -8,8 +8,7 @@ cd "$DOTS/config" || exit
readarray -t configs < <( readarray -t configs < <(
fd -d 1 \ fd -d 1 \
--exclude "*.old" \ --exclude "*.old" \
--exclude "create*" \ --exclude "create*"
--exclude "git"
) )
for dot in "${configs[@]}"; do for dot in "${configs[@]}"; do