# Mosquito WM resource file

[LookAndFeel begin]
  # InteractiveMove or OpaqueMove
  MoveModel=InteractiveMove
  # SloppyFocus, ClickToFocus or (FocusFollowsMouse not yet)
  FocusModel=SloppyFocus
  # (SmartPlacement not yet), AppPlacement or PointerPlacement 
  PlacementModel=AppPlacement
  # Number of workspaces
  NumberOfWorkspaces=2
  # Want the icons to follow you around workspaces?
  StickyIcons=On
  # Delay in milliseconds
  DoubleClickDelay=250
  # Want to debug? (Logs to stderr, redirect if you want output in a file).
  DebugMode=Off
[LookAndFeel end]

#
# The colors in rgb percentage, separate numbers with '-'
# Example. 0.5-0.2-0.9 means 50% red, 20% green and 90% blue
#
[Colors begin]
  #MwindowTitlebar=0-0.4-0
  MwindowTitlebar=0.6-0.5-0
  MwindowTitlebarFadeTo=0.6-0-7
  #MwindowTitlebar=0.984-0.458-0.294
  MwindowBorder=0.26-0.30-0.29
  MwindowResizer=0-0-0.5
  #MwindowText=0.5-0.5-0
  MwindowText=1-1-0
  #MwindowText=0-0.3-0.3
  
  HilightedMwindowTitlebar=0.7-0-0
  HilightedMwindowBorder=0.387-0.841-0.548
  HilightedMwindowResizer=0.5-0-0
  HilightedMwindowText=1-1-1
  
  # colors below are only there because of backwards compatible reasons
  # you dont have to modify these unless you like to type on your keyboard ;)
  #
  MwindowPopupBackground=1-1-1
  MwindowPopupBorder=0-0-0
  MwindowPopupText=0-0-0
  
  RootPopupBackground=0.78-0.78-0.78
  RootPopupBorder=1-0-0
  RootPopupText=0.95-0.7-0.05
  
  IconPopupBackground=0-0-0
  IconPopupBorder=0-1-0
  IconPopupText=0-1-0.226
  
[Colors end]

[Fonts begin]
  TitlebarFont=-dec-terminal-bold-r-normal--14-140-75-75-c-80-iso8859-1
  RootPopupMenuFont=-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
  MwindowPopupMenuFont=-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
  IconPopupMenuFont=-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
#  IconPopupMenuFont=-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
  WSChangeWindowFont=-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
  WSSendToWSWindowFont=-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
  DockPopupMenuFont=-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
[Fonts end]

[Dock begin]
  # topleft 0, topright 1, bottomright 2, bottomleft 3
  Position=1
  
  # right 0, left 1, up 2, down 3
  GrowDirection=3
  
  BackgroundPixmap=/usr/local/share/mosquito/pics/tile.xpm
[Dock end]

# Your keybindings
#
# Functions:
# EXEC "command"
# RESTART
# EXIT
# ROOTPOPUPMENU
# WINDOWPOPUPMENU
# DEICONIFY
# ICONIFY
# MAXIMIZE
# CLOSE
# RAISE
# LOWER
# CIRCULATEWINDOWSUP
# CIRCULATEWINDOWSDOWN
# NEXTWS
# PREVIOUSWS
# SWITCHTOWS "workspace-number"
# MOVEONKLICK
# 
# 
# A little proggie in utils/ called xshowkeys can be used to find out the
# numeric keyvalue for the key that you would like to bind.
#
# Syntax is: Key + "Modifiers" = Function "Parameter"
#

[Keybindings begin]
  10 + "Mod1Mask" = SWITCHTOWS "1" # Alt + 1
  11 + "Mod1Mask" = SWITCHTOWS "2" # Alt + 2
  12 + "Mod1Mask" = SWITCHTOWS "3"
  13 + "Mod1Mask" = SWITCHTOWS "4"
  100 + "ControlMask | Mod1Mask" = PREVIOUSWS  # Control + Alt + Cursor
  102 + "ControlMask | Mod1Mask" = NEXTWS
  
  23 + "Mod1Mask" = CIRCULATEWINDOWSUP  # Alt + Tab
  23 + "Mod1Mask | ShiftMask" = CIRCULATEWINDOWSDOWN

  69 + "" = ROOTPOPUPMENU # F3
  69 + "Mod1Mask" = RAISE
  70 + "" = WINDOWPOPUPMENU # F4
  70 + "Mod1Mask" = LOWER
  71 + "" = DEICONIFY # F5
  76 + "" = MAXIMIZE # F10
  
  #95 + "" = SWITCHTOWS "2"
  95 + "Mod1Mask" = RESTART # Alt + F11
  96 + "Mod1Mask" = EXIT # Alt + F12
  
  115 + "" = MOVEONKLICK # Windows + Ratn

  111 + "" = EXEC "scrot" # Imprimir Pantalla
  111 + "ControlMask" = EXEC "aterm -iconic -e scrot -b -s"
[Keybindings end]

#
# The root popupmenu, don't put any comments in this section
# because it will mess it up.
#
[Popupmenu begin]
  [Sub start "Principal"]
    Terminal=aterm -tinttype true -sh 50 -tr -geometry 110x24 -sr
    Exp. Archivos=rox
    Ejecutar=xfrun4
    Matar proceso=mxkill
    Teclado=wmxkb
    [Sub start "Internet   ->"]
      Con. Internet=chestnut-dialer
      Opera=opera
      Galeon=galeon
      Gftp=gftp
      Pidgin=pidgin
      Amule=amule
    [Sub end "Internet   ->"]
    [Sub start "Grficos   ->"]
      Gqview=gqview
      El Gimp=gimp
      Irfanview=wine ~/disco_windows/programas/IrfanView40/i_view32.exe
    [Sub end "Grficos   ->"]
    [Sub start "Multimedia ->"]
      XMMS=xmms
      Video=gnome-mplayer
      Audacious2=audacious2 -i gtkui
      C. Volumen=Mixer
    [Sub end "Multimedia ->"]
    [Sub start "Texto/Ofi. ->"]
      Leafpad=leafpad
      Medit=medit
      Bluefish=bluefish
      Abiword=abiword
    [Sub end "Texto/Ofi. ->"]
    [Sub start "Emuladores ->"]
      DOSBox=dosbox -conf /home/perez/.dosbox/dosbox.conf
      Windows 95=qemu_win95
      Amstrad CPC=cpc
      Spectrum=fuse
      Basilisk II=BasiliskII
      SheepShaver=SheepShaver
      Amiga=uae
      Commodore 64=x64
      MSX=fmsx_arranque
    [Sub end "Emuladores ->"]
    [Sub start "Juegos     ->"]
      [Sub start "MAME       ->"]
         Splatterhouse=/usr/local/share/xmame85/bin/xmame.x11 -ef 2 splatter
         Ghost Goblins=xmame.x11 -ef 5 -dp oss gng
         Section Z=xmame.x11 -ef 5 -dp oss sectionz
         Star Force=xmame.x11 -ef 5 -dp oss starforc
         Twin Cobra=xmame.x11 -ef 5 -dp oss twincobr
         Salamander=xmame.x11 -ef 5 -dp oss salamand
         Atari Tetris=xmame.x11 -ef 5 -dp oss atetris
      [Sub end "MAME       ->"]
      [Sub start "Megadrive  ->"]
         Splatter 2=dgen -S 2 /home/perez/juegos/megadrive/splatter2.bin
         Shadow Dancer=dgen -S 2 /home/perez/juegos/megadrive/sdancer.bin
      [Sub end "Megadrive  ->"]
      XChomp=xchomp
      Quake=aterm -e `/home/perez/juegos/quake/quake -mem 16`
    [Sub end "Juegos     ->"]
    [Sub start "Salir      ->"]
      Reiniciar=[Restart]
      Salir=[Quit]
    [Sub end "Salir      ->"]
  [Sub end "Principal"]
[Popupmenu end]

#
# The autostart section is for the programs that you want to run
# when you boot mosquito
#
[Autostart begin]
  #xv -root -quit /home/lap/xena/xena-bg1-1024x768.jpg
  xv -root -quit /home/perez/documentos/imagenes/fondos/1024/ajedrez1024.jpg
  #xsetroot -solid darkcyan
  #xsetroot -bg \#000000 -fg \#00a000 -mod 20 20
  xset m 3
  #wmxkb -geom 56x60 -docked
 # xsetroot -cursor_name tcross
 # /home/lap/wmtimer-2.2/wmtimer/wmtimer
 # /home/lap/wmmix.app/wmmix/wmmix
#  wmxmms
[Autostart end]

