rename power plug/cord script

This commit is contained in:
Václav Uruba 2021-04-24 15:00:19 +02:00
parent bd3a8563f2
commit a380bfa7ca
Signed by: uruba
GPG Key ID: 0059B34D61727BB0

View File

@ -15,7 +15,7 @@ case "$1" in
;;
esac
user=$(who | head -n 1 | cut -d" " -f1)
user=$(users | cut -d" " -f1)
export XAUTHORITY=/home/$user/.Xauthority