This add a script to use either the user hook or the default one. Sometime we checked the user hook or a default code. We move this default code in a defaut hook. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 lines
155 B
Bash
4 lines
155 B
Bash
#!/usr/bin/env sh
|
|
|
|
[ "$(xrandr | grep DSI-1 | cut -d ' ' -f 5)" = "right" ] && ORIENTATION=1 || ORIENTATION=0
|
|
sxmo_hooks.sh lisgdstart -o $ORIENTATION &
|