Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- test -f /usr/share/acpi-support/key-constants || exit 0
- . /etc/default/acpi-support
- . /usr/share/acpi-support/power-funcs
- . /etc/default/acpi-support
- for x in /tmp/.X11-unix/*; do
- displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
- getXuser;
- if [ x"$XAUTHORITY" != x"" ]; then
- export DISPLAY=":$displaynum"
- . /usr/share/acpi-support/screenblank
- motion # Заменить на своё
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment