waybar: use idle_inhibitor instead of custom module

This commit is contained in:
2025-08-10 21:07:05 +02:00
parent f1d5c8aba6
commit a37c93245c
11 changed files with 28 additions and 223 deletions

View File

@@ -2,7 +2,7 @@
path="$(dirname "$(realpath "$0")")"
"$path/issu.sh" || {
"$path/issu.sh" && {
echo "Do not run this script in sudo mode."
exit 1
}
@@ -21,6 +21,12 @@ sudo chown "$username:$username" "$mount_point"
export LIBGUESTFS_BACKEND=direct
# replay log
# qemu-img check -r all "$VHDX_PATH" || {
# echo "Failed to check VHDX file."
# exit 1
# }
guestmount --add "$vhdx_path" --inspector --ro "$mount_point" || {
echo "Failed to mount VHDX file."
exit 1