feat: hyprland remove and install aliases

This commit is contained in:
hesam-init 2024-03-17 09:13:03 +03:30
parent 00f5fa1a04
commit d70ab94d45

View file

@ -14,6 +14,15 @@ alias vhold="sudo xbps-pkgdb -m hold"
alias vunhold="sudo xbps-pkgdb -m unhold"
alias killall="pkill -f"
alias rmhyprland="vrm hyprland hyprland-protocols hyprlang xdg-desktop-portal-hyprland"
installhyprland() {
if [ -z "$1" ]; then
echo "Error: Please provide the path of packages"
return 1
fi
sudo xbps-install -R $1 hyprland hyprland-protocols hyprlang xdg-desktop-portal-hyprland
}
alias svservices="ls /etc/sv/"
alias svlist="ls -la /var/service/"
alias svreset="sudo sv restart"