system/modules/waydroid-ssh/unhook.sh
Guzio dfb8ca6454 Searching for a Module that Doesn't Exist
(I'm talking about atama-hyprland - I referenced it a couple of times there, but it's not actually a real module yet because my Hyprland config needs a serious cleanup before it's publishable)
2026-05-17 02:58:13 +02:00

10 lines
No EOL
217 B
Bash

#!/bin/bash
# extra precautions until run_hooks_as_user: true is fixed
if [ -n "$SUDO_USER" ]; then
USER="$SUDO_USER";
HOME="$(realpath "~$USER")";
HOME=${HOME%"/~$USER"};
fi
rm -vR "$HOME/.ssh/dcli-waydroid-ssh"