.fvwm/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 16 Jan 2009 20:44:22 +0200
branchfvwm
changeset 380 e5a294b3ebc7
parent 379 30f81a2e7cc9
child 381 8e5aae66f57f
permissions -rw-r--r--
Remove exec from X apps.
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
374
4b4bdc7e6c9d Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 373
diff changeset
    43
Style "*" Icon x-32x32.xpm
379
30f81a2e7cc9 Use flexible x icon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 376
diff changeset
    44
Style "*" MiniIcon x-flex-16x16.xpm
375
9a4a389f9ffc Setup mini icon for xterm and mc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 374
diff changeset
    45
Style "XTerm" Icon terminal-16x16.xpm, MiniIcon terminal-16x16.xpm
9a4a389f9ffc Setup mini icon for xterm and mc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 374
diff changeset
    46
Style "Mc" Icon mc-16x16.xpm, MiniIcon mc-16x16.xpm
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
# FvwmTaskBar.
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
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
    53
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    54
##################
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    55
# Basic Functions.
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    56
##################
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
# DestroyFunc FuncName
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    59
# AddToFunc   FuncName
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    60
# + I (Action to happen immediately)
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    61
# + C (Action to happen on a mouse 'click)
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    62
# + D (Action to happen on a mouse 'double click')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    63
# + H (Action to happen on a mouse 'hold')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    64
# + M (Action to happen on a mouse 'motion')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    65
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    66
DestroyFunc FvwmDeleteOrDestroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    67
AddToFunc   FvwmDeleteOrDestroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    68
+ H Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    69
+ M Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    70
+ C Delete
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    71
+ D Destroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    72
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    73
DestroyFunc FvwmIconifyOrShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    74
AddToFunc   FvwmIconifyOrShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    75
+ C Iconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    76
+ D WindowShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    77
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    78
DestroyFunc FvwmMaximize
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    79
AddToFunc   FvwmMaximize
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    80
+ H Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    81
+ M Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    82
+ C Maximize $0 $1
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    83
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    84
DestroyFunc FvwmMoveOrIconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    85
AddToFunc   FvwmMoveOrIconify
373
f6339c261ce9 Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 372
diff changeset
    86
+ I Raise
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    87
+ M Move
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    88
+ D Iconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    89
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    90
# ##############
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    91
# Mouse binding.
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    92
# ##############
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    93
372
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    94
# Mouse [(window)] Button Context Modifiers Function
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    95
# Button
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    96
#   1 left
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    97
#   2 right
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    98
#   3 middle
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
    99
# Context
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   100
#   ’R’ for the root window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   101
#   ’W’  for  an application  window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   102
#   ’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
   103
#   ’T’ for a window title-bar
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   104
#   ’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
   105
#   ’[’, ’]’, ´-’ 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
   106
#   ’F’  for a window frame (the corners),
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   107
#   ’<’, ’^’, ’>’ 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
   108
#   ’I’ for an icon window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   109
#   ’0’  through  ’9’  for  title-bar buttons
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   110
#   ’A’ is for any context
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   111
# Modifiers
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   112
#   ’N’ for no modifiers
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   113
#   ’C’ for control
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   114
#   ’S’ for shift
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   115
#   ’M’ for Meta
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   116
#   ’L’ for  Caps-Lock
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   117
#   ’A’ for any modifier
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   118
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   119
Mouse 1 R A Menu Utilities Nop
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   120
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   121
# Setup title-bar button actions.
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   122
Mouse 1 1 A FvwmDeleteOrDestroy
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   123
Mouse 1 3 A FvwmIconifyOrShade
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   124
Mouse 1 5 A FvwmMaximize 93 100
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   125
Mouse 2 5 A FvwmMaximize 100 0
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   126
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
   127
Mouse 1 TI A FvwmMoveOrIconify
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   128
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   129
# 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
   130
# 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
   131
Mouse 3 FST A FvwmMoveOrIconify
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   132
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   133
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   134
# Key binding.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   135
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   136
366
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   137
Key F1 A M Menu MenuFvwmRoot Root c c
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
   138
Key Super_L W CSM Delete
364
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   139
366
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   140
# Used by WindowList
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   141
DestroyFunc WindowListFunc
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   142
AddToFunc WindowListFunc
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   143
+ I Iconify off
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   144
+ I FlipFocus
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   145
+ I Raise
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   146
# Place mouse pointer in center of window.
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   147
+ I WarpToWindow 50 50
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   148
364
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   149
# Prevent show long title.
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   150
SetEnv fvwm_winlist_width 60
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   151
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
   152
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
   153
369
2722227ca710 Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 368
diff changeset
   154
# Close window on Alt+F4 (send SIGHUP).
2722227ca710 Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 368
diff changeset
   155
Key F4 A M Delete
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
   156
356
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   157
###############
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   158
# Window Decor.
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   159
###############
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
DestroyDecor MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   162
AddToDecor   MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   163
+ TitleStyle LeftJustified Height 18
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   164
+ 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
   165
+ 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
   166
+ 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
   167
+ 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
   168
+ 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
   169
+ 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
   170
+ 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
   171
+ 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
   172
+ 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
   173
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   174
################
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   175
# Window Styles.
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
Style "*" UseDecor MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   179
Style "*" BorderWidth 6, HandleWidth 6
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   180
Style "*" MWMBorder
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   181
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   182
# #####
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   183
# Menu.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   184
# #####
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   185
348
ef48d64b5fca Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 347
diff changeset
   186
AddToMenu MenuMy Media Title
350
aed550080f72 Correct menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 349
diff changeset
   187
+ "Peoplenet"     Exec  exec xterm -e /usr/bin/pon
380
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   188
+ VLC             Exec  vlc
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   189
+ Stardict        Exec  stardict
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   190
+ xkill           Exec  xkill
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   191
352
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   192
# 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
   193
# value of PS1.
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   194
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
   195
+ 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
   196
+ Mc              Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
375
9a4a389f9ffc Setup mini icon for xterm and mc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 374
diff changeset
   197
                             -name Mc -geometry 120x42 -e bash -i -c "mc -x"
380
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   198
+ Emacs           Exec  emacs
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   199
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   200
+ 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
   201
+ my              Popup MenuMy
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   202
+ fvwm            Popup MenuFvwmRoot
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   203
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   204
# ##########
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   205
# FvwmPager.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   206
# ##########
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   207
Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   208
  CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   209
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   210
SetEnv FvwmPager_Inactive rgb:c0/c0/c0
362
195bd4ced61d Set new color for highlighting windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 361
diff changeset
   211
SetEnv FvwmPager_Active rgb:ef/df/bdc
357
9d9ad236b557 Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 356
diff changeset
   212
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   213
DestroyModuleConfig FvwmPager: *
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   214
*FvwmPager: Back $[FvwmPager_Inactive]
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   215
*FvwmPager: BalloonBack $[FvwmPager_Active]
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   216
*FvwmPager: Hilight  $[FvwmPager_Active]
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   217
*FvwmPager: Geometry 80x300-0+0
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   218
*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
   219
*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
   220
*FvwmPager: Balloons All
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   221
*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
   222
*FvwmPager: Window3dBorders
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   223
*FvwmPager: MiniIcons
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   224
*FvwmPager: UseSkipList
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   225
*FvwmPager: Rows 3
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   226
*FvwmPager: Columns 1
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   227
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   228
AddToFunc StartFunction
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   229
+ I Module FvwmPager 0 2
380
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   230
# + I GotoDeskAndPage 2 2 2
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   231
# + I Exec stardict
e5a294b3ebc7 Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 379
diff changeset
   232
# + I GotoDeskAndPage 0 0 0