mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-26 23:23:42 +02:00
15 lines
248 B
Bash
Executable file
15 lines
248 B
Bash
Executable file
#!/bin/bash
|
|
|
|
log() {
|
|
local timestamp=$(date +"%T")
|
|
local message="======> $1 : $timestamp"
|
|
|
|
echo -e "\n$message"
|
|
}
|
|
|
|
check_sudo() {
|
|
if [ "$(id -u)" != 0 ]; then
|
|
echo "Please run the script with sudo."
|
|
exit 1
|
|
fi
|
|
}
|