.fvwm/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 28 Dec 2008 19:10:12 +0200
branchfvwm
changeset 353 6d29cd30411c
parent 352 40040a3896d7
child 354 33324795512a
permissions -rw-r--r--
Move pager to left.

# -*- mode: fvwm; -*-

############################
# Set Environment variables.
############################

SetEnv fvwm_img $[FVWM_USERDIR]/images
SetEnv fvwm_icon $[FVWM_USERDIR]/icons
SetEnv fvwm_scrpt $./scripts
SetEnv fvwm_wallpapers $[FVWM_USERDIR]/wallpaper

#####################
# Set the image path.
#####################

ImagePath $[fvwm_icon]:$[fvwm_icon];.png:$[fvwm_wallpapers]:+

# #################
# Virtual Desktops.
# #################

DesktopSize 3x3
DesktopName 0 Main
DesktopName 1 Work
DesktopName 2 Games
# In percent.
EdgeScroll 100 100
EdgeResistance 150  150
EdgeThickness 1

# #########################
# Mouse and Focus Behavior.
# #########################

ClickTime 350
MoveThreshold 3
Style * SloppyFocus, MouseFocusClickRaises

#################
# Program Styles.
#################
# TODO need works.
# Style "*" Icon 48x48/x.png, MiniIcon mini/x.png
# Style "XTerm" Icon 48x48/terminal.png, NoActiveIconOverride, MiniIcon mini/terminal.png
# Style "gvim" Icon 48x48/vim.png, IconOverride, MiniIcon mini/vim.png, EWMHMiniIconOverride
# Style "Firefox-bin" Icon 48x48/firefox.png, MiniIcon mini/firefox.png, EWMHMiniIconOverride
# Style "irssi" Icon 48x48/irc.png, MiniIcon mini/irc.png
# Style "xmms" WindowListSkip, CirculateSkip

# ############
# FvwmTaskBar.
# ############

Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable

# ############
# Key binding.
# ############

Key F1 A M Menu MenuFvwmRoot
# Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L
Key Super_L A A WindowList Root c c NoDeskSort
# Key Super_L A A Exec exec rxvt

# #####
# Menu.
# #####

AddToMenu MenuMy Media Title
+ "Peoplenet"     Exec  exec xterm -e /usr/bin/pon
+ VLC             Exec  exec vlc
+ Stardict        Exec  exec stardict
+ xkill           Exec  exec xkill

# Use interactive bash mode to read profile (~/.bashrc) to override default
# value of PS1.
AddToMenu Utilities Utilities Title
+ Xterm           Exec  exec xterm -e bash -i
+ Mc              Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
                             -geometry 120x42 -e bash -i -c "mc -x"
+ Emacs           Exec  exec emacs

+ debian          Popup "/Debian"
+ my              Popup MenuMy
+ fvwm            Popup MenuFvwmRoot

Mouse 1 R A Menu Utilities Nop

# ##########
# FvwmPager.
# ##########
Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \
  CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable

DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 80x300-0+0
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 10
*FvwmPager: BalloonColorset * 9
*FvwmPager: WindowColorsets 9 10
*FvwmPager: Font "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True"
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True"
*FvwmPager: BallonYOffset +2
*FvwmPager: Window3dBorders
*FvwmPager: MiniIcons
*FvwmPager: UseSkipList
*FvwmPager: Rows 3
*FvwmPager: Columns 1

AddToFunc StartFunction
+ I Module FvwmPager 0 2
+ I Module FvwmAnimate
+ I Module FvwmButtons