rename power plug/cord script
This commit is contained in:
parent
bd3a8563f2
commit
a380bfa7ca
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user