#!/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" \
	df="df -x tmpfs -x devtmpfs -x vfat -x overlay -x efivarfs -h" \
	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/sway/config" \
	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 % ;}
