From 7f590e53607ef1592d65a425b9cdcaa181912465 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Mar 2003 23:15:20 +0000 Subject: pointer's variables are config vars --- python/config.py | 52 ---------------------------------------------------- python/rc.py | 3 +++ 2 files changed, 3 insertions(+), 52 deletions(-) (limited to 'python') 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 -- cgit v1.2.3