.fvwm/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 15 Jan 2009 23:37:59 +0200
branchfvwm
changeset 374 4b4bdc7e6c9d
parent 373 f6339c261ce9
child 375 9a4a389f9ffc
permissions -rw-r--r--
Added default X icons.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
347
ca1a4e1183b8 Use smaller Pager. Correct mc settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 346
diff changeset
     1
# -*- mode: fvwm; -*-
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     3
############################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     4
# Set Environment variables.
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     5
############################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     6
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     7
SetEnv fvwm_img $[FVWM_USERDIR]/images
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     8
SetEnv fvwm_icon $[FVWM_USERDIR]/icons
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
     9
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    10
#####################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    11
# Set the image path.
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    12
#####################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    13
374
4b4bdc7e6c9d Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 373
diff changeset
    14
ImagePath $[fvwm_icon];.xpm:$[fvwm_img]
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    15
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
# #################
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
# Virtual Desktops.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
# #################
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
DesktopSize 3x3
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
DesktopName 0 Main
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
DesktopName 1 Work
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
DesktopName 2 Games
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    24
# In percent.
365
b7fad6fee9cb Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 364
diff changeset
    25
# With 0 0 I cann't scroll to other page by hitting edge, but can move app to another page!
b7fad6fee9cb Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 364
diff changeset
    26
# With 100 100 by hitting edge I move to next page.
b7fad6fee9cb Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 364
diff changeset
    27
EdgeScroll 0 0
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
EdgeResistance 150  150
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
EdgeThickness 1
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
# #########################
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
# Mouse and Focus Behavior.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
# #########################
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
ClickTime 350
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
MoveThreshold 3
374
4b4bdc7e6c9d Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 373
diff changeset
    37
Style "*" SloppyFocus, MouseFocusClickRaises
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    39
#################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    40
# Program Styles.
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    41
#################
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    42
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    43
# TODO need works.
374
4b4bdc7e6c9d Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 373
diff changeset
    44
Style "*" Icon x-32x32.xpm
4b4bdc7e6c9d Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 373
diff changeset
    45
Style "*" MiniIcon x-16x16.xpm
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    46
# Style "XTerm" Icon 48x48/terminal.png, NoActiveIconOverride, MiniIcon mini/terminal.png
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    47
# Style "gvim" Icon 48x48/vim.png, IconOverride, MiniIcon mini/vim.png, EWMHMiniIconOverride
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    48
# Style "Firefox-bin" Icon 48x48/firefox.png, MiniIcon mini/firefox.png, EWMHMiniIconOverride
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    49
# Style "irssi" Icon 48x48/irc.png, MiniIcon mini/irc.png
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
# FvwmTaskBar.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    57
##################
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    58
# Basic Functions.
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    59
##################
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    60
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    61
# DestroyFunc FuncName
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    62
# AddToFunc   FuncName
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    63
# + I (Action to happen immediately)
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    64
# + C (Action to happen on a mouse 'click)
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    65
# + D (Action to happen on a mouse 'double click')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    66
# + H (Action to happen on a mouse 'hold')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    67
# + M (Action to happen on a mouse 'motion')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    68
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    69
DestroyFunc FvwmDeleteOrDestroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    70
AddToFunc   FvwmDeleteOrDestroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    71
+ H Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    72
+ M Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    73
+ C Delete
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    74
+ D Destroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    75
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    76
DestroyFunc FvwmIconifyOrShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    77
AddToFunc   FvwmIconifyOrShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    78
+ C Iconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    79
+ D WindowShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    80
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    81
DestroyFunc FvwmMaximize
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    82
AddToFunc   FvwmMaximize
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    83
+ H Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    84
+ M Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    85
+ C Maximize $0 $1
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    86
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    87
DestroyFunc FvwmMoveOrIconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    88
AddToFunc   FvwmMoveOrIconify
373
f6339c261ce9 Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 372
diff changeset
    89
+ I Raise
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    90
+ M Move
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    91
+ D Iconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    92
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    93
# ##############
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    94
# Mouse binding.
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    95
# ##############
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    96
372
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    97
# Mouse [(window)] Button Context Modifiers Function
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    98
# Button
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    99
#   1 left
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   100
#   2 right
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   101
#   3 middle
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   102
# Context
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   103
#   ’R’ for the root window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   104
#   ’W’  for  an application  window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   105
#   ’D’ for a desktop application (as kdesktop or Nautilus desktop)
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   106
#   ’T’ for a window title-bar
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   107
#   ’S’ for a window side, top, or bottom bar,
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   108
#   ’[’, ’]’, ´-’ and ’_’ for the left, right, top or bottom  side  only
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   109
#   ’F’  for a window frame (the corners),
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   110
#   ’<’, ’^’, ’>’ and ’v’ for the top left, top right, bottom right or bottom left corner,
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   111
#   ’I’ for an icon window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   112
#   ’0’  through  ’9’  for  title-bar buttons
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   113
#   ’A’ is for any context
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   114
# Modifiers
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   115
#   ’N’ for no modifiers
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   116
#   ’C’ for control
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   117
#   ’S’ for shift
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   118
#   ’M’ for Meta
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   119
#   ’L’ for  Caps-Lock
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   120
#   ’A’ for any modifier
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   121
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   122
Mouse 1 R A Menu Utilities Nop
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   123
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   124
# Setup title-bar button actions.
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   125
Mouse 1 1 A FvwmDeleteOrDestroy
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   126
Mouse 1 3 A FvwmIconifyOrShade
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   127
Mouse 1 5 A FvwmMaximize 93 100
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   128
Mouse 2 5 A FvwmMaximize 100 0
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   129
Mouse 3 5 A FvwmMaximize 0 100
373
f6339c261ce9 Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 372
diff changeset
   130
Mouse 1 TI A FvwmMoveOrIconify
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   131
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   132
# Move windows by right mouse button (pressing anywhere in a window’s border
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   133
# except the title-bar buttons).
373
f6339c261ce9 Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 372
diff changeset
   134
Mouse 3 FST A FvwmMoveOrIconify
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   135
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   136
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   137
# Key binding.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   138
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   139
366
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   140
Key F1 A M Menu MenuFvwmRoot Root c c
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
   141
Key Super_L W CSM Delete
364
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   142
366
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   143
# Used by WindowList
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   144
DestroyFunc WindowListFunc
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   145
AddToFunc WindowListFunc
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   146
+ I Iconify off
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   147
+ I FlipFocus
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   148
+ I Raise
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   149
# Place mouse pointer in center of window.
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   150
+ I WarpToWindow 50 50
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   151
364
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   152
# Prevent show long title.
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   153
SetEnv fvwm_winlist_width 60
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   154
Key     Tab A M WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width], SelectOnRelease Meta_L
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   155
Key Super_L A N WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width]
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   156
369
2722227ca710 Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 368
diff changeset
   157
# Close window on Alt+F4 (send SIGHUP).
2722227ca710 Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 368
diff changeset
   158
Key F4 A M Delete
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
   159
356
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   160
###############
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   161
# Window Decor.
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   162
###############
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   163
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   164
DestroyDecor MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   165
AddToDecor   MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   166
+ TitleStyle LeftJustified Height 18
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   167
+ ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   168
+ ButtonStyle 1 ActiveDown Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   169
+ ButtonStyle 1 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   170
+ ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   171
+ ButtonStyle 3 ActiveDown Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   172
+ ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   173
+ ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   174
+ ButtonStyle 5 ActiveDown Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   175
+ ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   176
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   177
################
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   178
# Window Styles.
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   179
################
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   180
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   181
Style "*" UseDecor MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   182
Style "*" BorderWidth 6, HandleWidth 6
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   183
Style "*" MWMBorder
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   184
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   185
# #####
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   186
# Menu.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   187
# #####
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   188
348
ef48d64b5fca Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 347
diff changeset
   189
AddToMenu MenuMy Media Title
350
aed550080f72 Correct menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 349
diff changeset
   190
+ "Peoplenet"     Exec  exec xterm -e /usr/bin/pon
348
ef48d64b5fca Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 347
diff changeset
   191
+ VLC             Exec  exec vlc
ef48d64b5fca Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 347
diff changeset
   192
+ Stardict        Exec  exec stardict
352
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   193
+ xkill           Exec  exec xkill
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   194
352
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   195
# Use interactive bash mode to read profile (~/.bashrc) to override default
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   196
# value of PS1.
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   197
AddToMenu Utilities Utilities Title
352
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   198
+ Xterm           Exec  exec xterm -e bash -i
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   199
+ Mc              Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   200
                             -geometry 120x42 -e bash -i -c "mc -x"
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   201
+ Emacs           Exec  exec emacs
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   202
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   203
+ debian          Popup "/Debian"
348
ef48d64b5fca Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 347
diff changeset
   204
+ my              Popup MenuMy
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   205
+ fvwm            Popup MenuFvwmRoot
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   206
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   207
# ##########
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   208
# FvwmPager.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   209
# ##########
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   210
Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   211
  CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   212
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   213
SetEnv FvwmPager_Inactive rgb:c0/c0/c0
362
195bd4ced61d Set new color for highlighting windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 361
diff changeset
   214
SetEnv FvwmPager_Active rgb:ef/df/bdc
357
9d9ad236b557 Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 356
diff changeset
   215
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   216
DestroyModuleConfig FvwmPager: *
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   217
*FvwmPager: Back $[FvwmPager_Inactive]
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   218
*FvwmPager: BalloonBack $[FvwmPager_Active]
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   219
*FvwmPager: Hilight  $[FvwmPager_Active]
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   220
*FvwmPager: Geometry 80x300-0+0
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   221
*FvwmPager: WindowColors $[FvwmPager_Inactive] $[FvwmPager_Inactive] $[FvwmPager_Active] $[FvwmPager_Active]
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   222
*FvwmPager: Font "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True"
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   223
*FvwmPager: Balloons All
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   224
*FvwmPager: BalloonFont "-Misc-Fixed-Medium-R-Normal-*-13-*-*-*-*-*-ISO10646-1"
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   225
*FvwmPager: Window3dBorders
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   226
*FvwmPager: MiniIcons
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   227
*FvwmPager: UseSkipList
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   228
*FvwmPager: Rows 3
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   229
*FvwmPager: Columns 1
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   230
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   231
AddToFunc StartFunction
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   232
+ I Module FvwmPager 0 2
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   233