# This is UWMRC, the main config file for the ultimate window manager.
# please place a '#' before comments.

########################################################################
#######   General layout settings
########################################################################

# The width of the borders uwm will create. Default is 10.
BorderWidth=10
# NarrowBorderWidth is used if a window is marked as transient by the
# application. If you don't like this or use applications having a strange
# opinion about what is transient and what not, simply set this to your standard
# border width. Default is 3.
NarrowBorderWidth=3

# The width of the bevels drawn on the window border. Default is 3.
# Use 0 if you do not want bevels to be drawn on your window borders (old and
# ugly look of uwm).
FrameBevelWidth=3

# Number of pixels the with of the upper border is increased by. Default is 0.
TitleHeight=0

# Window border and title layout and behaviour flags. This value is a sum of
# the following values, add the value if you want to activate the feature.
# default is 31 (all options enabled).
#  value     meaning
#  1         Groove: draw the groove on window borders if there's enough space.
#  2         Line: draw a black separation line along the inside of the border.
#  4         Inactive Title: shall title of inactive windows be displayed?
#  8         Active Title: shall title of active windows be displayed?
#  16        Dodgy Title: shall title of active window disappear when it's hit
#                         by the mouse pointer?
#  32        center title: shall title be displayed in the top center or in the
#                          upper left corner of the window?
# e.g. 0 to disable all of that
#   or 7 to display the grooves, the lines and the titles of inactive windows.
FrameFlags = 31

# The file with the stupid comments in your mother language
# TheSearch-path is the language subdirectory of first your personal ~/uwm-dir
# then the global uwm-dir. You can also give absolute Pathnames.
# You can define several of these lines where the later ones override the
# former ones (partially). See $UDEdir/language/en_language for details about
# the file-format. In case no language-file is defined here (or if no one is
# found), the hardcoded defaults are used.
LanguageFile=en_language

########################################################################
#######   setting up the workspaces
########################################################################

# How many workspaces do you want (at least one, a usual computer's mem should
# be sufficient for several hundreds)
WorkSpaces=3

#######   workspace #0
WorkSpaceNr=0
WorkSpaceName=Alaska

# The color of your screen's background in format R;G;B - 8 Bit [WS]
# you can now also use Xcms-strings. 
# (e.g.: ScreenColor = darkblue or ScreenColor = #12FF34)
ScreenColor=4;4;39

# Your screen-background-pixmap (will use ScreenColor if this is missing) [WS]
ScreenPixmap=$UDEdir/gfx/bgr1.xpm

# a shell-command executed when workspace is activated and killed when workspace
# is left [WS]
# ScreenCommand=xsnow

# Factor to be used to calculate bevel colors. Can be changed several times in
# a file, if needed before each color bevel colors are calculated from. The
# value is valid for all colors between this line and the next BevelFactor-line.
# Default is 1.5. Take higher values for very dark colors.
# BevelFactor takes effect on BackColor, ActiveWin and InactiveWin.
BevelFactor=2

# color of border of inactive windows, same format as ScreenColor [WS]
InactiveWin=12;12;56

# reset the bevel factor.
BevelFactor=1.5

# color of active win's border [WS]
ActiveWin=50;50;224

# Background color [WS]
BackColor=25;25;112

# Color of standard font [WS]
FontColor=0;191;255

# Color of font in active titles [WS]
ActiveTitle=yellow

#color of font in inactive titles [WS]
InactiveTitle=yellow

#######   workspace #1, same thing as above... do this for each workspace
WorkSpaceNr=1
WorkSpaceName=Hell

BevelFactor=1.4
ScreenColor=29;1;1
#ScreenPixmap=/home/arc/ude/gfx/bgr1.xpm
#ScreenCommand=xearth
InactiveWin=160;82;45
ActiveWin=255;140;0
BevelFactor=1.6
BackColor=firebrick
FontColor=255;69;0
ActiveTitle=black
InactiveTitle=orange

#######   workspace #2, same thing as above... but found in another file
ReadFrom=ws2

# switch to workspace active at startup
WorkSpaceNr=0

########################################################################
#######   settings for uwm's menus
########################################################################

# Font to be used in Menus
MenuFont=lucidasans-12

# File in which the application Menu is defined
MenuFile=appmenu

# Menu Layout: three numbers separated by semicolons:
# first: width of menu borders, second and third: x- ynd y-offset of text
# default is: 2;4;2, you may try out your favourite size.
MenuSize=2;4;2

# shall menues be transient or remain on the screen if mouse-button is
# released the first time without any item selected?
# Set to 1 for transient, 0 for non-transient. Default is transient.
TransientMenues=1

# WMs for the 'start other WM' option. Separate by commas. If there are several
# definitions of this they are all added to the menu.
OtherWMs = fvwm2,amiwm
OtherWMs = xterm

########################################################################
#######   startup settings
########################################################################

# !!!!!!!!!!!!!!!!!!!!!!!! CHANGED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# This is the NEW StartScript-option, so don't wonder why your old StartScripts
# don't work anymore in case you didn't include #!/shellpath/shellcommand as the
# first line into your script. Due to BSD-compatibility reasons and
# user-requests we changed the option to be also able to execute any program you
# like. If you do not need a script at startup but only a single program simply
# replace the Scriptname by the commandname.
# Quotes are no longer necessary (thanx to Adam Sampson for that), e.g.:
# StartScript=xterm -e less $UDEdir/README
# Environment Variables can of course also be used. To use a script simply
# include #!/shellpath/shellcommand as the first line into it. uwm will search
# for the programs or scripts anywhere in your path or your ude-config-dirs.
# if you want to use a script the executeable-flag must be set
# (e.g. with chmod a+x StartScript)
StartScript=StartScript

# StopScript: same as StartScript, but executed when uwm exits.
StopScript=StopScript

########################################################################
#######   general behaviour settings
########################################################################

# 1 for transparent window-movement, 0 for opaque window-movement. Default is 0.
RubberMove=0

# If opaque movement is selected: 0 for move always opaque, any other positive
# value: move transparent from that size on (try out the maximum size you can
# work comfortably with on your machine). Unit is Pixels.
OpaqueMoveSize=500000

# If you reconfigure the menu buttons, all three buttons should be explicitly
# specified in this file since uwm will not check if all menues can be reached 
# in a given configuration, and so you will have to make sure yourself that
# you still get e.g. a WM-Menu to quit uwm after reconfiguration
# this feature has been added by Tim Coleman, Thanx Tim!

# Button which starts the UWM Menu from the root window
UWMMenuButton=1

# Button which starts the Deiconify Menu from the root window
DeiconifyButton=2

# Button which starts the Application Menu from the root window
AppMenuButton=3

# Placement-Strategy:
# 0 .......  no placement strategy
# 1 or 3 ..  gradient-placement (automatic)
# 2 .......  agressive gradient-placement (automatic)
# 4 .......  agressive interactive placement (semi-automatic)
# 5 .......  interactive placement (semi-automatic)
# 6 .......  agressive user placement (all manual)
# 7 .......  user placement (all manual)
PlacementStrategy=3

# shall the pointer be warped into the middle of each newly mapped window?
# 0 = no, 1=yes.
WarpPointerToNewWin=1

# overlapping-value from which on you want to place windows manually in
# interactive placement strategy. useless in other placement strategies.
# in most other WMs a value of 0 is used here without any comments or way
# to change. 0 is the default value. If you want this option to make sense,
# your values shouldn't be too small (I tried out 100000 to be quite a good
# value at a screen-size of 1200x1024). Please let us know about the experiences
# YOU make with this option. Unit is Pixels.
PlacementThreshold=100000

# the following two values define a maximum size for new (and reinitialized)
# windows. it should be quite useful on lower resolutions (e.g. on portables).
# the values will be ignored if set to 0.
# please note that setting these values will override any presets you make in
# your program configuration if the presets are bigger.
# default is 0 for both.
MaxWinWidth=0
MaxWinHeight=0


########################################################################
#######   button behaviour settings - please read the following before use
########################################################################

# If one of the following options is set, the others must be set too, except you
# simply make 'internal' changes to either dragging or resizeing (i.e. the first
# number is set to its default value). Make sure that all three first numbers
# are different: each of 1, 2 and 3 must be used as first number!

# WE RECOMMEND BEING CAREFUL WITH THESE OPTIONS

# IF YOU WANT TO USE THE OPTION JUST TO GET USED TO UWM I'D RECOMMEND NOT TO
# DO SO: YOU'LL HAVE TO GET USED TO ANY CONFIGURATION YOU SET HERE! THE FIRST 
# TIME IT'S HARD BUT THE SECOND TIME WILL BE EVEN HARDER AND YOU'LL NEVER REALLY
# GET AWAY FROM YOUR INITIAL CONFIGURATION.

# The presets are designed to fit best to the rest of X-look-and-feel and so
# to provide a logical and unique desktop. (e.g. it makes no sense that under
# X usually button 2 is used for drag'n'drop, but you use button 1 for dragging
# windows)

# WinMenuButton must be a set of 3 numbers from 1 to 3, separated by semicolons.
# The first number specifys the button that will make the window-icon-menu
# appear
# The second number specifys the button that is used to move the window to the
# next Workspace while the winmenu is active.
# The third number specifys the button that is used to move the window to the
# previous Workspace while the winmenu is active.
# Default is 1;2;3.
# WinMenuButton=1;2;3

# DragButtons must be a set of 3 numbers from 1 to 3, separated by semicolons.
# The first number specifies the button that will start window-dragging.
# The second number specifies the button that is used to raise the window while
# dragging, the third number specifys the button used to lower it while
# dragging. 
# Make sure that all three numbers are set and that each 1, 2 and 3
# are used! Default is 2;1;3.
# DragButtons=2;1;3
 
# ResizeButtons must be a set of 3 numbers from 1 to 3, separated by semicolons.
# The first number specifys the button that is used to start resizeing.
# The second number specifys the button that controls the autoraise function.
# The third number specifys the button used to leave the autoraise-mode or to
# activate the 'oldsize'-function.
# Make sure that all three numbers are set and that each 1, 2 and 3
# are used! Default is 3;1;2.
# ResizeButtons=3;1;2

# Since I'm not very happy supplying these options there'll be a way to switch
# ANY UWM-CONFIGURATION to the default settings of the button-config, so that
# e.g. a sysop helping someone logged in to his/her account still is able to
# work with ude. I recognized that once you are used to one configuration of
# this you'll never wanna get away from it...
