#!/bin/bash if [ "$EUID" -ne 0 ] || [ -z "$SUDO_USER" ]; then hyprpm update exit; fi exec su "$SUDO_USER" $0;