aboutsummaryrefslogtreecommitdiffstats
path: root/data/scripts/build_db.sh
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2001-09-24 21:21:25 +0000
committerCarsten Haitzler <raster@rasterman.com>2001-09-24 21:21:25 +0000
commited401627751682e36a960f6401ae23ad2846ad0b (patch)
tree73d83cc01a22f56f554b71aa5ec686cf11f45d13 /data/scripts/build_db.sh
parentf98201f9af0490c5a58568f6f27af7f35130255b (diff)
downloadenlightenment-ed401627751682e36a960f6401ae23ad2846ad0b.tar.gz
enlightenment-ed401627751682e36a960f6401ae23ad2846ad0b.tar.xz
enlightenment-ed401627751682e36a960f6401ae23ad2846ad0b.zip
been working offline.. wheeeheee! :)
SVN revision: 5374
Diffstat (limited to 'data/scripts/build_db.sh')
-rwxr-xr-xdata/scripts/build_db.sh37
1 files changed, 30 insertions, 7 deletions
diff --git a/data/scripts/build_db.sh b/data/scripts/build_db.sh
index 13c073511..79648b6fc 100755
--- a/data/scripts/build_db.sh
+++ b/data/scripts/build_db.sh
@@ -1,4 +1,4 @@
-# enumerated variables
+# enumerated variables - don't touch these
ACT_MOUSE_IN=0
ACT_MOUSE_OUT=1
ACT_MOUSE_CLICK=2
@@ -22,6 +22,14 @@ FOCUS_POINTER=0
FOCUS_SLOPPY=1
FOCUS_CLICK=2
+WINDOW_MODE_OPAQUE=0
+WINDOW_MODE_BORDER=1
+WINDOW_MODE_BOX=2
+WINDOW_MODE_TECHNICAL=3
+
+GUIDES_LOC_WIN=0
+GUIDES_LOC_SCR=1
+
# actions defining how to react to things
DB="./actions.db"
NUM=0
@@ -161,6 +169,14 @@ edb_ed $DB add "/actions/"$NUM"/button" int 1
edb_ed $DB add "/actions/"$NUM"/key" str ""
edb_ed $DB add "/actions/"$NUM"/modifiers" int $MOD_NONE
NUM=$[ $NUM + 1 ];
+edb_ed $DB add "/actions/"$NUM"/name" str "Window_Place"
+edb_ed $DB add "/actions/"$NUM"/action" str "Window_Move"
+edb_ed $DB add "/actions/"$NUM"/params" str ""
+edb_ed $DB add "/actions/"$NUM"/event" int $ACT_MOUSE_CLICK
+edb_ed $DB add "/actions/"$NUM"/button" int 1
+edb_ed $DB add "/actions/"$NUM"/key" str ""
+edb_ed $DB add "/actions/"$NUM"/modifiers" int $MOD_NONE
+NUM=$[ $NUM + 1 ];
edb_ed $DB add "/actions/"$NUM"/name" str "Key_Binding"
edb_ed $DB add "/actions/"$NUM"/action" str "Restart"
edb_ed $DB add "/actions/"$NUM"/params" str ""
@@ -293,12 +309,19 @@ edb_ed $DB add "/actions/count" int $NUM
# basic settings
DB="./settings.db"
-edb_ed $DB add "/focus/mode " int $FOCUS_POINTER
-edb_ed $DB add "/move/resist" int 1
-edb_ed $DB add "/move/resist/desk" int 24
-edb_ed $DB add "/move/resist/win" int 12
-edb_ed $DB add "/menu/scroll/resist" int 5
-edb_ed $DB add "/menu/scroll/speed" int 12
+edb_ed $DB add "/focus/mode " int $FOCUS_POINTER
+edb_ed $DB add "/move/resist" int 1
+edb_ed $DB add "/move/resist/desk" int 24
+edb_ed $DB add "/move/resist/win" int 12
+edb_ed $DB add "/menu/scroll/resist" int 5
+edb_ed $DB add "/menu/scroll/speed" int 12
+edb_ed $DB add "/window/raise/auto" int 0
+edb_ed $DB add "/window/raise/delay" float 0.5
+edb_ed $DB add "/window/move/mode" int $WINDOW_MODE_BOX
+edb_ed $DB add "/window/resize/mode" int $WINDOW_MODE_BOX
+edb_ed $DB add "/guides/display/x" float 0.5
+edb_ed $DB add "/guides/display/y" float 0.5
+edb_ed $DB add "/guides/display/location" int $GUIDES_LOC_SCR
# what events on windows are "grabbed" by the window manager
DB="./grabs.db"