swaydots

my dotfiles
git clone https://git.awy.one/swaydots.git
Log | Files | Refs | README | LICENSE

commit 46bab23cf4d08a96316982fd63b5883f8afc9b34
parent 7eb284746a8ee189a76dc5c2292504bd0a9027b5
Author: awy <awy@awy.one>
Date:   Fri, 25 Jul 2025 23:46:52 +0300

tidy

Diffstat:
M.config/shell/aliasrc | 66+++++++++++++++++++++++++++++++-----------------------------------
1 file changed, 31 insertions(+), 35 deletions(-)

diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc @@ -3,60 +3,56 @@ # Use neovim for vim if present. [ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d" -# Use $XINITRC variable if file exists. -[ -f "$XINITRC" ] && alias startx="startx $XINITRC" - [ -f "$MBSYNCRC" ] && alias mbsync="mbsync -c $MBSYNCRC" # doas not required for some system commands for command in mount umount dinitctl pacman updatedb su shutdown poweroff reboot ; do - alias $command="doas $command" + alias $command="doas $command" done; unset command se() { choice="$(find ~/.local/bin -mindepth 1 -printf '%P\n' | fzf)" [ -f "$HOME/.local/bin/$choice" ] && $EDITOR "$HOME/.local/bin/$choice" - } +} # Verbosity and settings that you pretty much just always are going to want. alias \ - cp="cp -iv" \ - mv="mv -iv" \ - rm="rm -vI" \ - bc="bc -ql" \ - rsync="rsync -vrPlu" \ - mkd="mkdir -pv" \ - yt="yt-dlp --embed-metadata -i" \ - yta="yt -x -f bestaudio/best" \ - ytt="yt --skip-download --write-thumbnail" \ - ffmpeg="ffmpeg -hide_banner" + cp="cp -iv" \ + mv="mv -iv" \ + rm="rm -vI" \ + bc="bc -ql" \ + rsync="rsync -vrPlu" \ + mkd="mkdir -pv" \ + yt="yt-dlp --embed-metadata -i" \ + yta="yt -x -f bestaudio/best" \ + ytt="yt --skip-download --write-thumbnail" \ + ffmpeg="ffmpeg -hide_banner" # Colorize commands when possible. alias \ - ll="eza -lh --group-directories-first --color=auto --color-scale=all --color-scale-mode=fixed --icons --no-quotes --smart-group -s size --total-size --no-user --no-permissions" \ - ls="eza --group-directories-first --color=auto --icons --no-quotes -s name" \ - lsf="eza -f --group-directories-first --color=auto --icons --no-quotes -s name" \ - lsd="eza -D --group-directories-first --color=auto --icons --no-quotes -s name" \ - lst="eza -lh --group-directories-first --color=auto --color-scale --icons --no-quotes --smart-group -s time --total-size --no-user --no-permissions" \ - diff="diff --color=auto" \ + ll="eza -lh --group-directories-first --color=auto --color-scale=all --color-scale-mode=fixed --icons --no-quotes --smart-group -s size --total-size --no-user --no-permissions" \ + ls="eza --group-directories-first --color=auto --icons --no-quotes -s name" \ + lsf="eza -f --group-directories-first --color=auto --icons --no-quotes -s name" \ + lsd="eza -D --group-directories-first --color=auto --icons --no-quotes -s name" \ + lst="eza -lh --group-directories-first --color=auto --color-scale --icons --no-quotes --smart-group -s time --total-size --no-user --no-permissions" \ cat="bat -P" \ - ccat="highlight --out-format=ansi" \ - ip="ip -color=auto" + ccat="highlight --out-format=ansi" \ + ip="ip -color=auto" # These common commands are just too long! Abbreviate them. alias \ - cl="clear" \ - ka="killall" \ - trem="transmission-remote" \ - YT="youtube-viewer" \ - sdn="shutdown -h now" \ - e="$EDITOR" \ - v="$EDITOR" \ - p="paru" \ - z="zathura" \ - lg="lazygit" \ - sx="swayimg" \ - md="monerod --prune-blockchain --fast-block-sync 1 --data-dir /mnt/ssd/monero/bitmonero" \ + cl="clear" \ + ka="killall" \ + trem="transmission-remote" \ + YT="youtube-viewer" \ + sdn="shutdown -h now" \ + e="$EDITOR" \ + v="$EDITOR" \ + p="paru" \ + z="zathura" \ + lg="lazygit" \ + sx="swayimg" \ + md="monerod --prune-blockchain --fast-block-sync 1 --data-dir /mnt/ssd/monero/bitmonero" \ fetch="fastfetch" # Git related