Contents of the looks directory

General
In the looks directory you will find some look files, nothing else. I have picked one to show up some possibilities. I know there are even more, but I only wanted that the viewer see how to do it. If you change your look file, you might have to change your feel file also. Some changes will affect the behaviour of AS in a way, that you have to change the feel file accordingly. Edit the look file you want to use, to change the colors, buttons, window-buttons and so on. The IMO best way to learn is to copy one file edit one entry and look what is changing, then edit the next entry.
You always have to choose Quit - Update look (or Desktop - Update look) from the startmenu, so that the look you want is used next time you start AS. It is then written to ~/G/L/A/non-configurable/0_look.XXbpp if you use one look for all desks.
The config file
Here is the look file for older version 1.4.X
--------------------------------------------------------------------------
##########################################################################
# look.Crowbar (crowbar because of the soundtrack ;-) )
# Look by Tomas Duewiger
# This is the "all black" only dark colors
#
#------------------------------------------------------------------------
# Styles :
#
# If there is a style named "default" and no default style is specified, 
# the "default" style will be used as the default
# Inherited styles will override options.

# default should never be used, so let's make it obvious when it *is* used
MyStyle "default"
  Font		-*-helvetica-*-r-*-*-20-*-*-*-*-*-*-*
  ForeColor	#ff2f3f
  BackColor	#10ff10
  ~MyStyle

## This is the default style, it is only there to see if something
## is wrong. If you notice this big font, ugly colors, then you
## should check your look file.


MyStyle "focus_colors"
  ForeColor	White
  BackColor	grey10
  MaxColors	128
  BackGradient	1 grey70 #000000
  ~MyStyle

## This is the style for all focused windows. You could even call it
## "this_rocks". It's just a name, to be used later in the windows
## section.

MyStyle "unfocus_colors"
  ForeColor	Grey80
  BackColor	grey29
  MaxColors	128
  BackGradient	1 #000000 grey50
  ~MyStyle

## Style for unfocused windows.

MyStyle "sticky_colors"
  ForeColor	grey70
  BackColor	grey29
  BackGradient	1 grey70 #000000
  ~MyStyle

## Style for sticky windows.

MyStyle "window_font"
  Font		-*-lucida-bold-r-*-*-12-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

## The font to be used in the windows.

MyStyle "focused_window_style"
  Inherit	window_font
  Inherit	focus_colors
  ~MyStyle

## Here we define the windows, inherit means, to use the prior defined
## styles.

MyStyle "unfocused_window_style"
  Inherit	window_font
  Inherit	unfocus_colors
  ~MyStyle

## Here is the unfocused window layout.

MyStyle "sticky_window_style"
  Inherit	window_font
  Inherit	sticky_colors
  ~MyStyle

## Sticky layout.

MyStyle "menu_font"
  Font		-*-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

## Style for the menu font.

MyStyle "menu_title_style"
  Inherit	focused_window_style
#  Inherit	menu_font
  Font		-*-lucida-*-r-*-*-12-*-*-*-*-*-*-*
  Inherit	focus_colors
  ForeColor	#000000
  ~MyStyle

## Style for the menu title.

MyStyle "menu_item_style"
  Inherit	menu_font
  Inherit	unfocus_colors
  BackColor	grey29
  ~MyStyle

## Style for the menu items.

MyStyle "menu_hilite_style"
  Inherit	menu_font
  Font		-*-lucida-bold-r-*-*-12-*-*-*-*-*-*-*
  TextStyle	0
  ForeColor	White
  BackColor	grey29
  BackGradient  4 #000000 grey29
  MaxColors	128
  ~MyStyle

## Style for the menu when choosen. Interesting new features.
## I have choosen a bold font when an item is selected. Also there
## is the posibilty to chosse different TextStyles, for example a
## 3D looking style.

# make the stipple background the same as the menu item, or 
# strange border drawing artifacts could occur
MyStyle "menu_stipple_style"
  Inherit       menu_item_style
  ForeColor	grey29
# new feature to be added soon
#  ForeStipple	stipple.xpm
  ~MyStyle

DefaultStyle "default"
FWindowStyle "focused_window_style"
UWindowStyle "unfocused_window_style"
SWindowStyle "sticky_window_style"
MenuItemStyle "menu_item_style"
MenuTitleStyle "menu_title_style"
MenuHiliteStyle "menu_hilite_style"
MenuStippleStyle "menu_stipple_style"

#
# 2) Textures : avoid them on 8bpp !
#
#   0 - No texture
#   1 - Wharf-style gradient                            ^-
#   2 - Horizontal one way gradient                     ¯-_
#   3 - Horizontal from top/bottom to center            =-=
#   4 - Vertical one way gradient from left to right    ||| | |  | |
#   5 - Vertical from left/right to center              >>>>>><<<<<<
# 128 - User defined pixmap
# 129 - Transparent menu (must be 128) & menutitle (130)
#

# 2-1) Texture types
#
#                      title  unfocused sticky  menutitle menu
TextureTypes            1       1       2       4       4
ButtonTextureType       1

## Again the texture types to be defined. This is obsolete. It is now
## already defined in the Styles!

#
# 2-2) Maximum colors allowed
#
# Number of colors : default is 10 on 8bpp screens, 32 on 16 bpp and 128 on >
TextureMaxColors       128      128      128      128

## This is also obsolete. It is defined in the styles.

ButtonMaxColors        128

## Maximum colors for the buttons, behind the icons.

# 2-3) Now the pixmap
#
#ButtonPixmap           ASBBlockDefault.xpm

## This is the pixmap for the button of the icons, it will only take effect
## if you have configured AS with --enable-iconbackground

MArrowPixmap           arrow-dots.xpm

## The pixmap for the menu, that indicates a folder.

MenuPinOn               fuf-kill.xpm
#MenuPinOff             fuf-kill-pressed.xpm

## This are the buttons in the menu to pin it to the desktop. 

# 2-4) Or the gradients (can't choose both, except for TextGradientColor)
#
ButtonTextureColor      grey70        #000000
#ButtonBgColor          #bfbfbf

## Button textures.

# 2-5) Various texturing options
#
#  Textures/Pixmaps on windows lowbar ?
TexturedHandle
#  Gradient on windows title ?
#GradientText
#  Border around iconifyied windows ?
ButtonNoBorder
#  Draw lines between menu options ? (0 or 1)
DrawMenuBorders 1
#  Texture menu options individually, or the whole menu ? (0 or 1)
TextureMenuItemsIndividually 0
#  TitleTextMode : MODE Z HIRELIEF HISHADOW HINORMAL LORELIEF LOSHADOW LONORMAL
#  Mode is either 0 (normal), 1 (big 3d), 2 (nice 3d); Z is title heigh
#TitleTextMode 2 0 Grey20 Grey50 Grey80 MidnightBlue Blue DarkBlue
#  Corner where the resize box goes to : ++, +-, -+, -- (clockwise)
#ResizeMoveGeometry -+
MenuMiniPixmaps 0

## This defines the use of mini-pixmaps in the menu. The rest of this
## options are well commented, so no need for me to do it. (0 or 1)

# [0/1] Sort Start menu entries by 1=alphabetical order, 0=date (default)
StartMenuSortMode 1


# 3) TextStyle :
#  Mode is either 0 (normal), 1 (big 3d), 2 (nice 3d)
# 3-1) Text : fonts
Font                    -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
WindowFont              -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
IconFont                -adobe-helvetica-medium-r-*-*-8-*-*-*-*-*-*-*
IconBox                 69 -64 -1 -1
TitleTextAlign          1

## Here are some text options, the Font and WindowFont are obsolete.
## They are defined in the styles. But here you find the explanation
## for the different styles you can use.
## IconBox defines the placement of the icons, here it is lower left
## corner with space for the pager.
## TitleTextAllign defines where the title text of the window should be.
## 1 is left.

#------------------------------------------------------------------------
# TitleButtons : [1] [3] [5] [7] [9] (title) [0] [8] [6] [4] [2]
#
TitleButton 1 fuf-switchwindow.xpm fuf-switchwindow-pressed.xpm
TitleButton 2 fuf-kill.xpm fuf-kill-pressed.xpm
TitleButton 3 fuf-windowmenu.xpm fuf-windowmenu-pressed.xpm
TitleButton 4 fuf-shade.xpm fuf-shade-pressed.xpm
TitleButton 6 fuf-iconify.xpm fuf-iconify-pressed.xpm

# [0/1] make a space, or don't make a space (WM) beside buttons 
TitleButtonStyle        0
#  define the number of pixels between titlebar buttons
TitleButtonSpacing      1

## This allows some fine tuning on the window buttons. 
#
##########################################################################
-------------------------------------------------------------------------

The best is, when you test the look files that comes with AS and also look into the configuration of them. You then will see what you can do, how it looks and how you can change the look of your own desktop.
 

Back to the overview
[Back to the overview]