pretty
This commit is contained in:
parent
e742d169c2
commit
7eeecd9991
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $XDG_SESSION_TYPE != "x11" ]]; then
|
||||
echo "Unsupported session type: $XDG_SESSION_TYPE"
|
||||
exit 1
|
||||
echo "Unsupported session type: $XDG_SESSION_TYPE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
get_tg_window_id(){
|
||||
@ -43,6 +43,6 @@ elif [ "$1" == "unlock" ]; then
|
||||
unlock_tg
|
||||
return_mouse
|
||||
else
|
||||
echo "Invalid argument. Please use 'lock' or 'unlock'."
|
||||
exit 1
|
||||
echo "Invalid argument. Please use 'lock' or 'unlock'."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user