aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/backgrounds/view.bg.dbbin57344 -> 57344 bytes
-rw-r--r--data/config/appearance/default/guides/display.bits.dbbin0 -> 253952 bytes
-rw-r--r--data/config/appearance/default/menus/default/separator.bits.dbbin20480 -> 20480 bytes
-rw-r--r--data/config/behavior/default/actions.dbbin86016 -> 86016 bytes
-rw-r--r--data/config/behavior/default/apps_menu.dbbin20480 -> 20480 bytes
-rw-r--r--data/config/behavior/default/grabs.dbbin12288 -> 12288 bytes
-rw-r--r--data/config/behavior/default/settings.dbbin12288 -> 12288 bytes
-rw-r--r--data/cursors/Close.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Default.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Iconify.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Max_Size.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Menu.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Resize.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Resize_Horizontal.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Resize_Vertical.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/Title_Bar.dbbin0 -> 16384 bytes
-rw-r--r--data/cursors/View_Icon.dbbin0 -> 16384 bytes
-rwxr-xr-xdata/scripts/build_app_menu_db.sh8
-rwxr-xr-xdata/scripts/build_db.sh37
19 files changed, 34 insertions, 11 deletions
diff --git a/data/backgrounds/view.bg.db b/data/backgrounds/view.bg.db
index e27af1745..d6ffa9efb 100644
--- a/data/backgrounds/view.bg.db
+++ b/data/backgrounds/view.bg.db
Binary files differ
diff --git a/data/config/appearance/default/guides/display.bits.db b/data/config/appearance/default/guides/display.bits.db
new file mode 100644
index 000000000..c83076a79
--- /dev/null
+++ b/data/config/appearance/default/guides/display.bits.db
Binary files differ
diff --git a/data/config/appearance/default/menus/default/separator.bits.db b/data/config/appearance/default/menus/default/separator.bits.db
index df64dfa67..d3c1fcec3 100644
--- a/data/config/appearance/default/menus/default/separator.bits.db
+++ b/data/config/appearance/default/menus/default/separator.bits.db
Binary files differ
diff --git a/data/config/behavior/default/actions.db b/data/config/behavior/default/actions.db
index 749b54291..a53792b3c 100644
--- a/data/config/behavior/default/actions.db
+++ b/data/config/behavior/default/actions.db
Binary files differ
diff --git a/data/config/behavior/default/apps_menu.db b/data/config/behavior/default/apps_menu.db
index 2bed126d2..cab6d4ecf 100644
--- a/data/config/behavior/default/apps_menu.db
+++ b/data/config/behavior/default/apps_menu.db
Binary files differ
diff --git a/data/config/behavior/default/grabs.db b/data/config/behavior/default/grabs.db
index 6a4e45b91..dbae82edb 100644
--- a/data/config/behavior/default/grabs.db
+++ b/data/config/behavior/default/grabs.db
Binary files differ
diff --git a/data/config/behavior/default/settings.db b/data/config/behavior/default/settings.db
index 1f82ab144..1e9051d6f 100644
--- a/data/config/behavior/default/settings.db
+++ b/data/config/behavior/default/settings.db
Binary files differ
diff --git a/data/cursors/Close.db b/data/cursors/Close.db
new file mode 100644
index 000000000..3a061f7e9
--- /dev/null
+++ b/data/cursors/Close.db
Binary files differ
diff --git a/data/cursors/Default.db b/data/cursors/Default.db
new file mode 100644
index 000000000..19c66eeaa
--- /dev/null
+++ b/data/cursors/Default.db
Binary files differ
diff --git a/data/cursors/Iconify.db b/data/cursors/Iconify.db
new file mode 100644
index 000000000..633c66ed5
--- /dev/null
+++ b/data/cursors/Iconify.db
Binary files differ
diff --git a/data/cursors/Max_Size.db b/data/cursors/Max_Size.db
new file mode 100644
index 000000000..beffdd1ae
--- /dev/null
+++ b/data/cursors/Max_Size.db
Binary files differ
diff --git a/data/cursors/Menu.db b/data/cursors/Menu.db
new file mode 100644
index 000000000..73889468e
--- /dev/null
+++ b/data/cursors/Menu.db
Binary files differ
diff --git a/data/cursors/Resize.db b/data/cursors/Resize.db
new file mode 100644
index 000000000..4316e225e
--- /dev/null
+++ b/data/cursors/Resize.db
Binary files differ
diff --git a/data/cursors/Resize_Horizontal.db b/data/cursors/Resize_Horizontal.db
new file mode 100644
index 000000000..62be05ff2
--- /dev/null
+++ b/data/cursors/Resize_Horizontal.db
Binary files differ
diff --git a/data/cursors/Resize_Vertical.db b/data/cursors/Resize_Vertical.db
new file mode 100644
index 000000000..f2ad2f167
--- /dev/null
+++ b/data/cursors/Resize_Vertical.db
Binary files differ
diff --git a/data/cursors/Title_Bar.db b/data/cursors/Title_Bar.db
new file mode 100644
index 000000000..11775f94c
--- /dev/null
+++ b/data/cursors/Title_Bar.db
Binary files differ
diff --git a/data/cursors/View_Icon.db b/data/cursors/View_Icon.db
new file mode 100644
index 000000000..26f88e60a
--- /dev/null
+++ b/data/cursors/View_Icon.db
Binary files differ
diff --git a/data/scripts/build_app_menu_db.sh b/data/scripts/build_app_menu_db.sh
index da1f973fb..1df57f96a 100755
--- a/data/scripts/build_app_menu_db.sh
+++ b/data/scripts/build_app_menu_db.sh
@@ -114,10 +114,10 @@ entry text 'Reboot' 'sudo -S /sbin/shutdown -r now'
end_menu
menu 3
-entry script 'Goto Desktop 1' 'e.flipToDesktop(1);'
-entry script 'Goto Desktop 2' 'e.flipToDesktop(2);'
-entry script 'Goto Desktop 3' 'e.flipToDesktop(3);'
-entry script 'Goto Desktop 4' 'e.flipToDesktop(4);'
+entry script 'Goto Desktop 0' 'e.flip_to_desktop(0);'
+entry script 'Goto Desktop 1' 'e.flip_to_desktop(1);'
+entry script 'Goto Desktop 2' 'e.flip_to_desktop(2);'
+entry script 'Goto Desktop 3' 'e.flip_to_desktop(3);'
end_menu
finish
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"