Cleanup hooks
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>
This commit is contained in:
parent
0ed27f8538
commit
e6ea657634
22 changed files with 160 additions and 254 deletions
4
configs/default_hooks/unlock
Normal file
4
configs/default_hooks/unlock
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
[ "$(xrandr | grep DSI-1 | cut -d ' ' -f 5)" = "right" ] && ORIENTATION=1 || ORIENTATION=0
|
||||
sxmo_hooks.sh lisgdstart -o $ORIENTATION &
|
Loading…
Add table
Add a link
Reference in a new issue