.fvwm/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 15 Jan 2009 22:10:58 +0200
branchfvwm
changeset 372 d20fdf1ef7ca
parent 371 fcd8b02fba87
child 373 f6339c261ce9
permissions -rw-r--r--
Added doc for Mouse from man page.
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
SetEnv fvwm_scrpt $./scripts
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    10
SetEnv fvwm_wallpapers $[FVWM_USERDIR]/wallpaper
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    11
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
# Set the image path.
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    14
#####################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    15
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    16
ImagePath $[fvwm_icon]:$[fvwm_icon];.png:$[fvwm_wallpapers]:+
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    17
346
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
# Virtual Desktops.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
# #################
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
DesktopSize 3x3
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
DesktopName 0 Main
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
DesktopName 1 Work
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
DesktopName 2 Games
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    26
# In percent.
365
b7fad6fee9cb Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 364
diff changeset
    27
# 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
    28
# 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
    29
EdgeScroll 0 0
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
EdgeResistance 150  150
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
EdgeThickness 1
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
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
# Mouse and Focus Behavior.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
# #########################
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
ClickTime 350
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
MoveThreshold 3
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
Style * SloppyFocus, MouseFocusClickRaises
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    41
#################
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    42
# Program Styles.
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    43
#################
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    44
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    45
# TODO need works.
354
33324795512a Set default icon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 353
diff changeset
    46
Style "*" Icon 48x48/x.png, MiniIcon mini/x.png
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
    47
# 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
    48
# 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
    49
# 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
    50
# 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
    51
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
# FvwmTaskBar.
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
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
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
    57
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    58
##################
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    59
# Basic Functions.
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
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    62
# DestroyFunc FuncName
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    63
# AddToFunc   FuncName
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    64
# + I (Action to happen immediately)
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    65
# + C (Action to happen on a mouse 'click)
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    66
# + D (Action to happen on a mouse 'double click')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    67
# + H (Action to happen on a mouse 'hold')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    68
# + M (Action to happen on a mouse 'motion')
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    69
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    70
DestroyFunc FvwmDeleteOrDestroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    71
AddToFunc   FvwmDeleteOrDestroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    72
+ H Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    73
+ M Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    74
+ C Delete
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    75
+ D Destroy
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    76
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    77
DestroyFunc FvwmIconifyOrShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    78
AddToFunc   FvwmIconifyOrShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    79
+ C Iconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    80
+ D WindowShade
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    81
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    82
DestroyFunc FvwmMaximize
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    83
AddToFunc   FvwmMaximize
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    84
+ H Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    85
+ M Nop
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    86
+ C Maximize $0 $1
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    87
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    88
DestroyFunc FvwmMoveOrIconify
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
    89
AddToFunc   FvwmMoveOrIconify
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
370
9baf21564dab Set from man definition of default func FuncFvwmRaiseLowerX.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 369
diff changeset
    93
DestroyFunc FuncFvwmRaiseLowerX
9baf21564dab Set from man definition of default func FuncFvwmRaiseLowerX.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 369
diff changeset
    94
AddToFunc FuncFvwmRaiseLowerX
9baf21564dab Set from man definition of default func FuncFvwmRaiseLowerX.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 369
diff changeset
    95
+ I Raise
9baf21564dab Set from man definition of default func FuncFvwmRaiseLowerX.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 369
diff changeset
    96
+ M $0
9baf21564dab Set from man definition of default func FuncFvwmRaiseLowerX.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 369
diff changeset
    97
+ D Lower
9baf21564dab Set from man definition of default func FuncFvwmRaiseLowerX.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 369
diff changeset
    98
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
    99
# ##############
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   100
# Mouse binding.
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   101
# ##############
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   102
372
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   103
# Mouse [(window)] Button Context Modifiers Function
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   104
# Button
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   105
#   1 left
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   106
#   2 right
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   107
#   3 middle
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   108
# Context
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   109
#   ’R’ for the root window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   110
#   ’W’  for  an application  window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   111
#   ’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
   112
#   ’T’ for a window title-bar
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   113
#   ’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
   114
#   ’[’, ’]’, ´-’ 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
   115
#   ’F’  for a window frame (the corners),
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   116
#   ’<’, ’^’, ’>’ 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
   117
#   ’I’ for an icon window
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   118
#   ’0’  through  ’9’  for  title-bar buttons
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   119
#   ’A’ is for any context
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   120
# Modifiers
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   121
#   ’N’ for no modifiers
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   122
#   ’C’ for control
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   123
#   ’S’ for shift
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   124
#   ’M’ for Meta
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   125
#   ’L’ for  Caps-Lock
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   126
#   ’A’ for any modifier
d20fdf1ef7ca Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 371
diff changeset
   127
371
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   128
Mouse 1 R A Menu Utilities Nop
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   129
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   130
# Setup title-bar button actions.
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   131
Mouse 1 1 A FvwmDeleteOrDestroy
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   132
Mouse 1 3 A FvwmIconifyOrShade
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   133
Mouse 1 5 A FvwmMaximize 93 100
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   134
Mouse 2 5 A FvwmMaximize 100 0
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   135
Mouse 3 5 A FvwmMaximize 0 100
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   136
Mouse 1 T A FvwmMoveOrIconify
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   137
Mouse 1 I A FvwmMoveOrIconify
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   138
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   139
# 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
   140
# except the title-bar buttons).
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   141
Mouse 3 FST A FuncFvwmRaiseLowerX Move
fcd8b02fba87 Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 370
diff changeset
   142
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   143
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   144
# Key binding.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   145
# ############
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   146
366
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   147
Key F1 A M Menu MenuFvwmRoot Root c c
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
   148
Key Super_L W CSM Delete
364
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   149
366
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   150
# Used by WindowList
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   151
DestroyFunc WindowListFunc
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   152
AddToFunc WindowListFunc
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   153
+ I Iconify off
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   154
+ I FlipFocus
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   155
+ I Raise
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   156
# Place mouse pointer in center of window.
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   157
+ I WarpToWindow 50 50
3bcf71fa5017 Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 365
diff changeset
   158
364
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   159
# Prevent show long title.
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   160
SetEnv fvwm_winlist_width 60
b49fffbffdf5 Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 363
diff changeset
   161
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
   162
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
   163
369
2722227ca710 Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 368
diff changeset
   164
# Close window on Alt+F4 (send SIGHUP).
2722227ca710 Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 368
diff changeset
   165
Key F4 A M Delete
355
02ae380f0a1f Define key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 354
diff changeset
   166
356
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   167
###############
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   168
# Window Decor.
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   169
###############
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   170
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   171
DestroyDecor MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   172
AddToDecor   MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   173
+ TitleStyle LeftJustified Height 18
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   174
+ 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
   175
+ 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
   176
+ 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
   177
+ 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
   178
+ 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
   179
+ 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
   180
+ 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
   181
+ 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
   182
+ 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
   183
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   184
################
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   185
# Window Styles.
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   186
################
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   187
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   188
Style "*" UseDecor MyDecor
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   189
Style "*" BorderWidth 6, HandleWidth 6
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   190
Style "*" MWMBorder
0299baa26e8b Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 355
diff changeset
   191
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   192
# #####
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   193
# Menu.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   194
# #####
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   195
348
ef48d64b5fca Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 347
diff changeset
   196
AddToMenu MenuMy Media Title
350
aed550080f72 Correct menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 349
diff changeset
   197
+ "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
   198
+ 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
   199
+ 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
   200
+ xkill           Exec  exec xkill
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   201
352
40040a3896d7 Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 351
diff changeset
   202
# 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
   203
# value of PS1.
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   204
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
   205
+ 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
   206
+ 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
   207
                             -geometry 120x42 -e bash -i -c "mc -x"
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   208
+ Emacs           Exec  exec emacs
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   209
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   210
+ 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
   211
+ my              Popup MenuMy
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   212
+ fvwm            Popup MenuFvwmRoot
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   213
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   214
# ##########
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   215
# FvwmPager.
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   216
# ##########
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   217
Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   218
  CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   219
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   220
SetEnv FvwmPager_Inactive rgb:c0/c0/c0
362
195bd4ced61d Set new color for highlighting windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 361
diff changeset
   221
SetEnv FvwmPager_Active rgb:ef/df/bdc
357
9d9ad236b557 Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 356
diff changeset
   222
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   223
DestroyModuleConfig FvwmPager: *
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   224
*FvwmPager: Back $[FvwmPager_Inactive]
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   225
*FvwmPager: BalloonBack $[FvwmPager_Active]
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   226
*FvwmPager: Hilight  $[FvwmPager_Active]
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   227
*FvwmPager: Geometry 80x300-0+0
359
4d80a233f260 Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 357
diff changeset
   228
*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
   229
*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
   230
*FvwmPager: Balloons All
361
9ff9cea0e6b9 Define new colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 360
diff changeset
   231
*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
   232
*FvwmPager: Window3dBorders
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   233
*FvwmPager: MiniIcons
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   234
*FvwmPager: UseSkipList
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   235
*FvwmPager: Rows 3
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   236
*FvwmPager: Columns 1
346
fe066283fced Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   237
353
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   238
AddToFunc StartFunction
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   239
+ I Module FvwmPager 0 2
6d29cd30411c Move pager to left.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 352
diff changeset
   240