- Added Bin directory

This commit is contained in:
Damien Broqua 2017-07-22 13:46:47 +02:00
parent 6458594af0
commit 51acba0d4d
6 changed files with 111 additions and 0 deletions

17
Bin/screen_layout.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
activeconfig='hdmi'
if [ -f ~/.screenlayout.info ] ; then
activeconfig=`cat ~/.screenlayout.info`
fi
if [ ${activeconfig} == 'lvds1' ] ; then
~/.screenlayout/dp.sh
echo dp > ~/.screenlayout.info
else
~/.screenlayout/lvds1.sh
echo lvds1 > ~/.screenlayout.info
fi
fbsetbg -a `tail -n 1 .fluxbox/lastwallpaper|cut -d'|' -f 2`