diff --git a/configs/sh/.zsh/os/void.zsh b/configs/sh/.zsh/os/void.zsh index e53a6c4..2a8a02e 100644 --- a/configs/sh/.zsh/os/void.zsh +++ b/configs/sh/.zsh/os/void.zsh @@ -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"