~ubuntu-branches/ubuntu/trusty/miwm/trusty

« back to all changes in this revision

Viewing changes to miconfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Jari Aalto
  • Date: 2010-01-04 15:25:34 UTC
  • Revision ID: james.westby@ubuntu.com-20100104152534-l3fdvt162le460cv
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//-*-c++-*-
 
2
// -------------------------------------------
 
3
// RCS data:
 
4
// $Date: 2003/06/23 14:47:23 $
 
5
// $Revision: 1.1.1.1 $
 
6
// $Source: /cvsroot/miwm/miwm/miwm/miconfig.h,v $
 
7
// $Id: miconfig.h,v 1.1.1.1 2003/06/23 14:47:23 bwise837 Exp $
 
8
// $RCSfile: miconfig.h,v $
 
9
// -------------------------------------------
 
10
// Copyright by Ben Paul Wise.
 
11
// -------------------------------------------
 
12
// This program is free software; you can redistribute it and/or modify
 
13
// it under the terms of the GNU General Public License as published by
 
14
// the Free Software Foundation; either version 2 of the License, or
 
15
// (at your option) any later version.
 
16
// 
 
17
// This program is distributed in the hope that it will be useful,
 
18
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
// GNU General Public License for more details.
 
21
// 
 
22
// You should have received a copy of the GNU General Public License
 
23
// along with this program; if not, write to the Free Software
 
24
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
25
// -------------------------------------------
 
26
// configurable defaults. these need adjustment
 
27
// from system to system and person to person
 
28
// -------------------------------------------
 
29
 
 
30
#ifndef MICONFIG_H
 
31
#define MICONFIG_H
 
32
 
 
33
// -------------------------------------------
 
34
 
 
35
#include "miwm.h"
 
36
 
 
37
 
 
38
const int maxNumWorkSpaces = 100; // anything beyond this is ridiculous
 
39
 
 
40
 
 
41
// -------------------------------------------
 
42
 
 
43
// defining this will cause verbose event-logging
 
44
// #define MIWM_TRACE_ALL_X_EVENTS
 
45
 
 
46
// my preferences
 
47
#define DEFAULT_TITLE_FONT  "-*-lucida-bold-r-normal-sans-12-*-*-*-p-*-iso8859-1"
 
48
#define DEFAULT_POPUP_FONT  "-*-lucida-medium-r-normal-sans-10-*-*-*-p-*-iso8859-1"
 
49
 
 
50
// if you are desperate for screen space, this helps (but is ugly)
 
51
//  #define DEFAULT_TITLE_FONT   "6x9"
 
52
//  #define DEFAULT_POPUP_FONT "6x9"
 
53
 
 
54
// define this to make background pixmaps possible.
 
55
// they just look  like a weak attempt to imitate
 
56
// Enlightenment. Perhaps with better pixmaps they would
 
57
// look decent ...
 
58
#define USE_PIXMAPS
 
59
 
 
60
 
 
61
 // I don't use this, and it wastes space
 
62
// #define SPECIAL_POPUP_FONT
 
63
//  "-*-lucida-medium-i-normal-sans-10-*-*-*-p-*-iso8859-1"
 
64
 
 
65
 
 
66
 
 
67
#define DEFAULT_TERMINAL "rxvt"
 
68
#define DEFAULT_BORDER 6
 
69
#define DEFAULT_SEPARATION 3
 
70
 
 
71
// number of workspaces is set in setupWS();
 
72
 
 
73
// undefine this to shut off client previewing, define to enable
 
74
// #define CLIENTPREVIEWING
 
75
 
 
76
// undefine this to shut off workspace previewing, define to enable
 
77
// #define WORKSPACEPREVIEWING
 
78
 
 
79
// maximum string length of a line in .miwmrc
 
80
const int MaxShellCommandLength = 200;
 
81
 
 
82
// do not make the active border color be exactly black.
 
83
// if you do, then client outlines will be invisible during move/resize
 
84
// because of the xor-operation.
 
85
//
 
86
// Nice default settings:
 
87
//
 
88
// #define ROOT_CURSOR_COLOR "blue"
 
89
// #define FRAME_CURSOR_COLOR "darkcyan"
 
90
// #define ACTIVE_BORDER_COLOR "grey30"
 
91
// #define INACTIVE_BORDER_COLOR "beige"
 
92
// #define TITLE_COLOR "cyan"
 
93
// #define DEADLY_BOX_COLOR "red3"
 
94
 
 
95
 
 
96
// because of one-pixel difference, there are tiny borders
 
97
// both inside and out. If you reverse the active/inactive color
 
98
// scheme so that active is bright and inactive is dark, then it is
 
99
// quite apparent
 
100
//  #define ACTIVE_BORDER_COLOR "rgb:10/50/50"
 
101
 
 
102
// grey10 is nearly pure black, and grey20
 
103
// shows up on a pure black background
 
104
 
 
105
#define ROOT_CURSOR_COLOR "gold"
 
106
#define FRAME_CURSOR_COLOR "darkcyan"
 
107
#define ACTIVE_BORDER_COLOR "grey20"
 
108
#define INACTIVE_BORDER_COLOR "beige"
 
109
#define TITLE_COLOR "gold"
 
110
#define DEADLY_BOX_COLOR "red3"
 
111
 
 
112
// -------------------------------------------
 
113
#endif
 
114
// -------------------------------------------
 
115
// end of miconfig.h
 
116
// -------------------------------------------