

warning bash arrays inside
http://paste.kde.org/177092/
#! /bin/bash
Bottom_Panel=35
Gap=20
window=$(xdotool getactivewindow)
# mousepos == ( "2401" "750" )
mousepos=( $( xdotool getmouselocation 2>&1 | sed -n -e 's|^x:\([0-9]\+\) y:\([0-9]\+\) .*$|\1 \2|p' | head -n1 ) )
# ${monitors[@]} == ( "2560,1440,1920,0" "1920,1080,0,0" )
monitors=( $(xrandr | sed -n -e 's:^.*\bconnected \([0-9]\+\)x\([0-9]\+\)+\([0-9]\+\)+\([0-9]\+\) .*$:\1,\2,\3,\4:p') )
monitor=( 0 0 1024 768 )
for m in ${monitors[@]}
do
tmpm=( ${m//,/ } )
x0=${tmpm[2]}
x1=$((x0 + ${tmpm[0]}))
y0=${tmpm[3]}
y1=$((y0 + ${tmpm[1]}))
xm=${mousepos[0]}
ym=${mousepos[1]}
if [[ ($x0 -le $xm) && ($xm -le $x1) && ($y0 -le $ym) && ($ym -le $y1) ]]
then
monitor=( $x0 $y0 $x1 $y1 )
break
fi
done
x=${monitor[2]}
y=${monitor[3]}
w=$(xwininfo -id $window | grep "Width" | awk '{print $2}')
h=$(xwininfo -id $window | grep "Height" | awk '{print $2}')
newx=$(( x - w ))
xpos=$(( newx - Gap ))
xdotool windowmove "${window}" "${xpos}" "${Gap}"
- Dec 23 2011

Developers Apps by trueg 2 comments
[ 0%] Built target nepomukshell_automoc
[ 3%] Building CXX object CMakeFiles/nepomukshell.dir/mainwindow.o
/home/vivo/tmp/nepomukshell-0.7.0/mainwindow.cpp:25:27: error: resourcemodel.h: No such file or directory
make[2]: *** [CMakeFiles/nepomukshell.dir/mainwindow.o] Errore 1
make[1]: *** [CMakeFiles/nepomukshell.dir/all] Errore 2
make: *** [all] Errore 2
- Nov 23 2010

Text Editors by MMentos 9 comments
- "resizable panel"? <<< My Bad :p
- ok, i will restore the the normal font by default. the possibility to configure fonts and colors for blobs and nulls is already planned for the next release <<< yay
- multiple query support is provided internally by the sql driver. mysql supports multiple queries putting a ; after each query, odbc not. But i can try emulate this behavior parsing text with a regexp, and detect queries manually. Good idea?
<<< Actually you will need to parse anyway to grab the parameters right? then it could be a good idea, otherwise the complexity added is not worth it. For example phpMyAdmin botch it some times and it's a mature project.
Actually I've tried with a QMYSQL connection, it give me the error:
30 Jun 2010 09:59:59: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT * FROM tab_users' at line 2 QMYSQL3: Unable to prepare statement
with this text selected:
UPDATE tab_users set id = 1231231231 where id = 1231231231;
SELECT * FROM tab_users;
One strange thing is that the class who give the error is QMYSQL3 when I've used a QMYSQL connection, maybe it's only inherited or maybe it's a bug
- yesss, i already have this idea. also, with a possibility to enter parameters manually or from an input file (for multiple insert statements, for example). <<< yay
Really thanks for your suggestions!
... and to you for this plugin - Jun 30 2010

Text Editors by MMentos 9 comments
resizeable panel for SQL Output
Using the same font as the window, may be with possibility to select a different one
support for multiple query with one selection
parameters in query for example like python %(param)s. When the query is executed the parameter will be asked with a dialog.
- Jun 29 2010

Browser by fischer 139 comments

Icon Sub-Sets by dirceu 2 comments

Browser by fischer 139 comments
This plugin deserve a standing ovation
- May 21 2010

Wallpaper Other by VaeloStudio 2 comments
- Jan 29 2008

Wallpaper Other by BastianBalthazarreBux 2 comments
Obviously I don't mind if you or everyone else erase, it and should be fairly easy with gimp and a black pencil ;) - Jan 07 2008

Beryl/Emerald Themes by kimmik 4 comments
Solution:
gzip black.emerald
mv black.emerald.gz black.emerald
- Dec 14 2007

Wallpaper Other by VaeloStudio 2 comments