- Added Bin directory
This commit is contained in:
parent
6458594af0
commit
51acba0d4d
6 changed files with 111 additions and 0 deletions
17
Bin/screen_layout.sh
Executable file
17
Bin/screen_layout.sh
Executable 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`
|
Loading…
Add table
Add a link
Reference in a new issue