scan from any dir

This commit is contained in:
Shihaam Abdul Rahman 2024-01-07 01:59:42 +05:00
parent d33a375a44
commit cb430b869a
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -3,6 +3,8 @@
# Debian: sudo apt-get install zbar-tools xdotool mpv
# Arch: sudo pacman -S zbar xdotool mpv
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1
if [[ $XDG_SESSION_TYPE != "x11" ]]; then
echo "Unsupported session type: $XDG_SESSION_TYPE"
exit 1