summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-16 23:15:20 +0000
committerDana Jansens <danakj@orodu.net>2003-03-16 23:15:20 +0000
commit7f590e53607ef1592d65a425b9cdcaa181912465 (patch)
treebd0baf4b5563845bd8b2339aefd354e4dcd11527 /python
parent74c683ee5fb232d7fe9f517b21ffd9ee50872dce (diff)
pointer's variables are config vars
Diffstat (limited to 'python')
-rw-r--r--python/config.py52
-rw-r--r--python/rc.py3
2 files changed, 3 insertions, 52 deletions
diff --git a/python/config.py b/python/config.py
index 2ab22f96..3aa6c587 100644
--- a/python/config.py
+++ b/python/config.py
@@ -186,57 +186,5 @@ _types = [ 'boolean', # Boolean types can only hold a value of 0 or 1.
'object' # Object types can hold any python object.
];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#############################################################################
-### Options that can be changed to adjust the behavior of Openbox. ###
-#############################################################################
-
-THEME = "/usr/local/share/openbox/styles/fieron2"
-"""The theme used to decorate everything."""
-
-#TITLEBAR_LAYOUT = [ "icon", "title", "alldesktops", "iconify", "maximize", "close" ]
-TITLEBAR_LAYOUT = "DITMC"
-"""The layout of the buttons/label on client titlebars, can be made up of the
-following:
- I - iconify button
- L - text label
- M - maximize button,
- D - all-desktops button
- C - close button
-If no 'L' is included in the string, one will be added to the end by
-Openbox."""
-
-DOUBLE_CLICK_DELAY = 300
-"""The number of milliseconds in which 2 clicks are perceived as a
-double-click."""
-
-DRAG_THRESHOLD = 3
-"""The amount of pixels that you have to drag the mouse before motion events
-will start occuring."""
-
-DESKTOP_NAMES = ["one", "two", "three", "four", "five", "six", "seven", \
- "eight", "nine", "ten", "eleven", "twelve"]
-"""The name of each desktop."""
-
-NUMBER_OF_DESKTOPS = 4
-"""The number of desktops/workspaces which can be scrolled between."""
-
-#############################################################################
print "Loaded config.py"
diff --git a/python/rc.py b/python/rc.py
index e3cf76fd..8ddfa461 100644
--- a/python/rc.py
+++ b/python/rc.py
@@ -2,6 +2,9 @@ import hooks, ob, keymap, buttonmap, os, sys, input, motion, historyplacement
import stackedcycle
from input import Pointer
+import config
+print dir(config)
+
hooks.managed.append(historyplacement.place)
_grab = 0