29 lines
795 B
Bash
29 lines
795 B
Bash
#!/bin/sh
|
|
alias ka="killall" \
|
|
p="sudo pacman" \
|
|
s="sudo systemctl" \
|
|
su="systemctl --user" \
|
|
ss="sudo systemctl start" \
|
|
f="nnn" \
|
|
g="git" \
|
|
v="$EDITOR" \
|
|
x="sxiv -ft *" \
|
|
sdn="sudo shutdown -h now" \
|
|
reflect="sudo reflector --country Netherlands --sort rate --age 12 --save /etc/pacman.d/mirrorlist" \
|
|
grep="grep --color=auto" \
|
|
diff="diff --color=auto" \
|
|
yta="yt-dlp -x -f bestaudio/best" \
|
|
vim="nvim" \
|
|
cfg="$EDITOR ~/.config/hypr/hyprland.conf" \
|
|
ssh="kitty +kitten ssh" \
|
|
icat="kitty +kitten icat" \
|
|
sw="swallow" \
|
|
swz="swallow zathura" \
|
|
pls="sudo" \
|
|
o="fzf | sw xdg-open" \
|
|
gif="gifski -Q 60 --output -" \
|
|
duf="du -sh -- */ | sort -rh"
|
|
|
|
se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}
|
|
vf() { fzf | xargs -r -I % $EDITOR % ;}
|