author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 27 Apr 2012 22:23:14 +0300 | |
changeset 439 | 95e27bf01b7a |
parent 435 | f6e23b5bf73f |
child 440 | fa13c7909c1c |
permissions | -rw-r--r-- |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
1 |
# -*- mode: fvwm; fill-column: 90 -*- |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
353 | 3 |
############################ |
4 |
# Set Environment variables. |
|
5 |
############################ |
|
6 |
||
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
7 |
SetEnv fvwm_img $[FVWM_USERDIR]/images |
353 | 8 |
SetEnv fvwm_icon $[FVWM_USERDIR]/icons |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
9 |
SetEnv screenshot_home $[HOME]/.screenshot |
353 | 10 |
|
11 |
##################### |
|
12 |
# Set the image path. |
|
13 |
##################### |
|
14 |
||
374
4b4bdc7e6c9d
Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
373
diff
changeset
|
15 |
ImagePath $[fvwm_icon];.xpm:$[fvwm_img] |
353 | 16 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
# ################# |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
# Virtual Desktops. |
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 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
DesktopSize 3x3 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
DesktopName 0 Main |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
23 |
DesktopName 1 Net |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
24 |
DesktopName 2 Work |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
25 |
DesktopName 3 Media |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
26 |
DesktopName 4 Games |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
27 |
# Percentage of a page to scroll when the cursor hits the edge of a page. |
365
b7fad6fee9cb
Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
364
diff
changeset
|
28 |
# 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
|
29 |
# 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
|
30 |
EdgeScroll 0 0 |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
31 |
# Tells how hard it should be to change the desktop viewport by moving the mouse over the |
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
32 |
# edge of the screen and how hard it should be to move a window over the edge of the screen. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
EdgeResistance 150 150 |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
34 |
# Width or height of the invisible window that fvwm creates on the edges of the screen that |
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
35 |
# are used for the edge scrolling feature. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
EdgeThickness 1 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
# ######################### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
# Mouse and Focus Behavior. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
# ######################### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
ClickTime 350 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
43 |
MoveThreshold 3 |
374
4b4bdc7e6c9d
Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
373
diff
changeset
|
44 |
Style "*" SloppyFocus, MouseFocusClickRaises |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
|
353 | 46 |
################# |
47 |
# Program Styles. |
|
48 |
################# |
|
355 | 49 |
|
383
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
50 |
Style "*" Icon app/x-32x32.xpm, \ |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
51 |
MiniIcon app/x-flex-16x16.xpm |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
52 |
Style "XTerm" Icon app/terminal-16x16.xpm, \ |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
53 |
MiniIcon app/terminal-16x16.xpm |
391
76862aba5f4f
Define switch between aps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
390
diff
changeset
|
54 |
Style "rxvt" Icon app/terminal-16x16.xpm, \ |
76862aba5f4f
Define switch between aps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
390
diff
changeset
|
55 |
MiniIcon app/terminal-16x16.xpm |
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
56 |
Style "mc-*" Icon app/mc-16x16.xpm, \ |
383
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
57 |
MiniIcon app/mc-16x16.xpm |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
58 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
59 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
60 |
# FvwmTaskBar. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
61 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
62 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
63 |
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
|
64 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
65 |
########################################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
66 |
# Screenshot Functions (uses ImageMagick). |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
67 |
########################################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
68 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
69 |
DestroyFunc FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
70 |
AddToFunc FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
71 |
+ I Exec import -window $[w.id] -quality 100 -silent \ |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
72 |
"$[screenshot_home]/$[w.class]-`date +%F[%R]`.jpg" |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
73 |
|
405
3b7b3d154835
Make pause in 5 second before screenshot makes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
404
diff
changeset
|
74 |
# Remember there is 5 seconds pause before screenshot makes! |
406
c3ea63f9192a
Added info about alternative screenshot command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
405
diff
changeset
|
75 |
# For alternative screenshot command with delay you may use: scrot -d <sec> <file> |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
76 |
DestroyFunc FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
77 |
AddToFunc FvwmDesktopScreenshot |
405
3b7b3d154835
Make pause in 5 second before screenshot makes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
404
diff
changeset
|
78 |
+ I Exec import -window root -quality 100 -pause 5 -silent \ |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
79 |
"$[screenshot_home]/Desktop-`date +%F-[%H:%M:%S]`.jpg" |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
80 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
81 |
DestroyFunc FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
82 |
AddToFunc FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
83 |
+ I Exec import -quality 100 -silent \ |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
84 |
"$[screenshot_home]/App-`date +%F-[%H:%M:%S]`.jpg" |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
85 |
|
355 | 86 |
################## |
87 |
# Basic Functions. |
|
88 |
################## |
|
89 |
||
90 |
# DestroyFunc FuncName |
|
91 |
# AddToFunc FuncName |
|
92 |
# + I (Action to happen immediately) |
|
93 |
# + C (Action to happen on a mouse 'click) |
|
94 |
# + D (Action to happen on a mouse 'double click') |
|
95 |
# + H (Action to happen on a mouse 'hold') |
|
96 |
# + M (Action to happen on a mouse 'motion') |
|
97 |
||
98 |
DestroyFunc FvwmDeleteOrDestroy |
|
99 |
AddToFunc FvwmDeleteOrDestroy |
|
100 |
+ H Nop |
|
101 |
+ M Nop |
|
102 |
+ C Delete |
|
103 |
+ D Destroy |
|
104 |
||
105 |
DestroyFunc FvwmIconifyOrShade |
|
106 |
AddToFunc FvwmIconifyOrShade |
|
107 |
+ C Iconify |
|
108 |
+ D WindowShade |
|
109 |
||
110 |
DestroyFunc FvwmMaximize |
|
111 |
AddToFunc FvwmMaximize |
|
112 |
+ H Nop |
|
113 |
+ M Nop |
|
114 |
+ C Maximize $0 $1 |
|
115 |
||
116 |
DestroyFunc FvwmMoveOrIconify |
|
117 |
AddToFunc FvwmMoveOrIconify |
|
373
f6339c261ce9
Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
372
diff
changeset
|
118 |
+ I Raise |
355 | 119 |
+ M Move |
120 |
+ D Iconify |
|
121 |
||
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
122 |
# ############## |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
123 |
# Mouse binding. |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
124 |
# ############## |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
125 |
|
372
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
126 |
# Mouse [(window)] Button Context Modifiers Function |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
127 |
# Button |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
128 |
# 1 left |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
129 |
# 2 right |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
130 |
# 3 middle |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
131 |
# Context |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
132 |
# ’R’ for the root window |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
133 |
# ’W’ for an application window |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
134 |
# ’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
|
135 |
# ’T’ for a window title-bar |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
136 |
# ’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
|
137 |
# ’[’, ’]’, ´-’ 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
|
138 |
# ’F’ for a window frame (the corners), |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
139 |
# ’<’, ’^’, ’>’ 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
|
140 |
# ’I’ for an icon window |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
141 |
# ’0’ through ’9’ for title-bar buttons |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
142 |
# ’A’ is for any context |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
143 |
# Modifiers |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
144 |
# ’N’ for no modifiers |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
145 |
# ’C’ for control |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
146 |
# ’S’ for shift |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
147 |
# ’M’ for Meta |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
148 |
# ’L’ for Caps-Lock |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
149 |
# ’A’ for any modifier |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
150 |
|
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
151 |
# Setup title-bar button actions. |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
152 |
Mouse 1 1 A FvwmDeleteOrDestroy |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
153 |
Mouse 1 3 A FvwmIconifyOrShade |
388
38c75446897a
Pager always on top.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
387
diff
changeset
|
154 |
Mouse 1 5 A FvwmMaximize 100 100 |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
155 |
Mouse 2 5 A FvwmMaximize 100 0 |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
156 |
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
|
157 |
Mouse 1 TI A FvwmMoveOrIconify |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
158 |
|
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
159 |
# 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
|
160 |
# 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
|
161 |
Mouse 3 FST A FvwmMoveOrIconify |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
162 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
163 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
164 |
# Key binding. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
165 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
166 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
167 |
# Key [(window)] Keyname Context Modifiers Function |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
168 |
# See Keyname on /usr/include/X11/keysymdef.h, without the XK_ prefix. |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
169 |
|
425
1676172ecdf5
Remove binding to 'MenuFvwmRoot' as it already included in 'MenuMy'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
170 |
# Popup MenuMyRoot menu. |
1676172ecdf5
Remove binding to 'MenuFvwmRoot' as it already included in 'MenuMy'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
171 |
Key F1 A M Menu MenuMyRoot Root c c |
1676172ecdf5
Remove binding to 'MenuFvwmRoot' as it already included in 'MenuMy'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
172 |
Mouse 1 R A Menu MenuMyRoot Nop |
364
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
173 |
|
366
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
174 |
# Used by WindowList |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
175 |
DestroyFunc WindowListFunc |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
176 |
AddToFunc WindowListFunc |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
177 |
+ I Iconify off |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
178 |
+ I FlipFocus |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
179 |
+ I Raise |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
180 |
# Place mouse pointer in center of window. |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
181 |
+ I WarpToWindow 50 50 |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
182 |
|
364
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
183 |
# Prevent show long title. |
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
184 |
SetEnv fvwm_winlist_width 60 |
391
76862aba5f4f
Define switch between aps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
390
diff
changeset
|
185 |
# Define switch between aps. |
433 | 186 |
Key Tab A M WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width], SelectOnRelease Meta_L |
187 |
Key Tab A 3 WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width] |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
188 |
|
369
2722227ca710
Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
368
diff
changeset
|
189 |
# Close window on Alt+F4 (send SIGHUP). |
2722227ca710
Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
368
diff
changeset
|
190 |
Key F4 A M Delete |
355 | 191 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
192 |
# Make screenshot. |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
193 |
Key Print A N FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
194 |
Key Print A S FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
195 |
|
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
196 |
Key Scroll_Lock A N Exec exec xscreensaver-command -activate |
398
2dbb13c25074
Bind screensaver to Scroll_Lock.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
395
diff
changeset
|
197 |
|
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
198 |
# Similar to Vi hjkl: |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
199 |
# |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
200 |
# F11 - up |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
201 |
# F9 - left F12 - right |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
202 |
# F10 - down |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
203 |
|
403
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
204 |
DestroyFunc myGotoPage |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
205 |
AddToFunc myGotoPage |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
206 |
+ I Next (CirculateHit, FvwmPager, Shaded) WindowShade "False" |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
207 |
+ I GotoPage $0 $1 |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
208 |
|
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
209 |
Key F9 A C myGotoPage -1p -0p |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
210 |
Key F12 A C myGotoPage +1p +0p |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
211 |
|
408
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
212 |
# Move across page up, if no page more go to last page of prev desk. |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
213 |
DestroyFunc myGotoPageUp |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
214 |
AddToFunc myGotoPageUp |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
215 |
+ I Next (CirculateHit, FvwmPager, Shaded) WindowShade "False" |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
216 |
+ I SetEnv fvwm_page_ny $[page.ny] |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
217 |
+ I Test (EnvMatch fvwm_page_ny 0) Nop |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
218 |
+ I TestRc (Match) GotoDesk -1 0 4 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
219 |
+ I TestRc (Match) GotoPage +0p 2 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
220 |
+ I TestRc (NoMatch) GotoPage +0p -1p |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
221 |
# Remove fvwm_page_ny so derived processes do not inherit it. |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
222 |
+ I SetEnv fvwm_page_ny |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
223 |
|
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
224 |
Key F11 A C myGotoPageUp |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
225 |
|
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
226 |
# Move across page down, if no page more go to first page of next desk. |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
227 |
DestroyFunc myGotoPageDown |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
228 |
AddToFunc myGotoPageDown |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
229 |
+ I Next (CirculateHit, FvwmPager, Shaded) WindowShade "False" |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
230 |
+ I SetEnv fvwm_page_ny $[page.ny] |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
231 |
+ I Test (EnvMatch fvwm_page_ny 2) Nop |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
232 |
+ I TestRc (Match) GotoDesk +1 0 4 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
233 |
+ I TestRc (Match) GotoPage +0p 0 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
234 |
+ I TestRc (NoMatch) GotoPage +0p +1p |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
235 |
# Remove fvwm_page_ny so derived processes do not inherit it. |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
236 |
+ I SetEnv fvwm_page_ny |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
237 |
|
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
238 |
Key F10 A C myGotoPageDown |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
239 |
|
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
240 |
Key F9 A S CursorMove -50p +0p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
241 |
Key F10 A S CursorMove +0p +50p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
242 |
Key F11 A S CursorMove +0p -50p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
243 |
Key F12 A S CursorMove +50p +0p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
244 |
|
434
c66a176a8af9
Switch input method.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
433
diff
changeset
|
245 |
# Switch input method. |
439
95e27bf01b7a
Restore modifiers assignments after setxkbmap.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
435
diff
changeset
|
246 |
Key 1 A 3 Exec setxkbmap -layout us; xmodmap ~/.xmodmaprc |
95e27bf01b7a
Restore modifiers assignments after setxkbmap.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
435
diff
changeset
|
247 |
Key 2 A 3 Exec setxkbmap -layout ru; xmodmap ~/.xmodmaprc |
95e27bf01b7a
Restore modifiers assignments after setxkbmap.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
435
diff
changeset
|
248 |
Key 3 A 3 Exec setxkbmap -layout ua; xmodmap ~/.xmodmaprc |
434
c66a176a8af9
Switch input method.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
433
diff
changeset
|
249 |
|
435
f6e23b5bf73f
Win+R like in Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
434
diff
changeset
|
250 |
# Win+R like in Windows. |
f6e23b5bf73f
Win+R like in Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
434
diff
changeset
|
251 |
Key R A 3 Exec exec gmrun |
f6e23b5bf73f
Win+R like in Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
434
diff
changeset
|
252 |
|
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
253 |
############### |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
254 |
# Window Decor. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
255 |
############### |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
256 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
257 |
DestroyDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
258 |
AddToDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
259 |
+ TitleStyle LeftJustified Height 18 |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
260 |
+ ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat |
420
11dc2b67abc0
Change color to highlight when press window button.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
419
diff
changeset
|
261 |
+ ButtonStyle 1 ActiveDown Vector 4 30x30@1 60x60@1 60x30@4 30x60@1 -- Flat |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
262 |
+ 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
|
263 |
+ ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat |
420
11dc2b67abc0
Change color to highlight when press window button.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
419
diff
changeset
|
264 |
+ ButtonStyle 3 ActiveDown Vector 5 30x60@1 60x60@1 60x50@1 30x50@1 30x60@1 -- Flat |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
265 |
+ 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
|
266 |
+ ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
420
11dc2b67abc0
Change color to highlight when press window button.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
419
diff
changeset
|
267 |
+ ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
268 |
+ 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
|
269 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
270 |
################ |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
271 |
# Window Styles. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
272 |
################ |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
273 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
274 |
Style "*" UseDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
275 |
Style "*" BorderWidth 6, HandleWidth 6 |
419 | 276 |
# NoDecorHint, OLDecor, MwmDecor |
277 |
Style "*" MwmDecor |
|
278 |
# MwmBorder, FvwmBorder, DepressableBorder, FirmBorder |
|
279 |
Style "*" MwmBorder |
|
421
b9760929e1ca
With Mwm resize and move feedback windows are in the center of the screen, instead of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
420
diff
changeset
|
280 |
# With Mwm resize and move feedback windows are in the center of the screen, instead of |
b9760929e1ca
With Mwm resize and move feedback windows are in the center of the screen, instead of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
420
diff
changeset
|
281 |
# the upper left corner. Available: Fvwm, Mwm, Win. |
b9760929e1ca
With Mwm resize and move feedback windows are in the center of the screen, instead of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
420
diff
changeset
|
282 |
Emulate Mwm |
422
d7662dacd748
Mwm and Win style menus popup sub menus automatically and never overlap the parent menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
421
diff
changeset
|
283 |
# Mwm and Win style menus popup sub menus automatically and never overlap the parent menu. |
d7662dacd748
Mwm and Win style menus popup sub menus automatically and never overlap the parent menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
421
diff
changeset
|
284 |
# Available: Fvwm, Mwm, Win. |
d7662dacd748
Mwm and Win style menus popup sub menus automatically and never overlap the parent menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
421
diff
changeset
|
285 |
MenuStyle "*" Mwm |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
286 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
287 |
# ##### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
288 |
# Menu. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
289 |
# ##### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
290 |
|
395
db04a32cc3eb
Added comment about "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
394
diff
changeset
|
291 |
# Read generated by update-menu "/Debian" menu. |
db04a32cc3eb
Added comment about "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
394
diff
changeset
|
292 |
# To add own menu items create proper ~/.menu/app-name file and run update-menu. |
db04a32cc3eb
Added comment about "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
394
diff
changeset
|
293 |
# About this you can rean in /usr/share/doc/menu/menu.txt.gz. |
426
bb3292034150
Read system wide menu for '/Debian'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
294 |
Read /etc/X11/fvwm/menudefs.hook quiet |
394
53907fe3aa2b
Read generated update-menu "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
392
diff
changeset
|
295 |
|
348
ef48d64b5fca
Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
347
diff
changeset
|
296 |
AddToMenu MenuMy Media Title |
424 | 297 |
+ Emacs Exec exec emacs |
298 |
+ HTop Exec exec xterm -name htop -e sudo htop |
|
414
ee3bf8657532
Move less frequently user programs to MenuMy.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
299 |
+ Firefox Exec exec firefox |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
300 |
+ VLC Exec exec vlc |
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
301 |
+ Goldendict Exec exec goldendict |
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
302 |
+ xkill Exec exec xkill |
424 | 303 |
+ "Peoplenet" Exec exec xterm -e /usr/bin/pon |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
304 |
|
412
76f7aeed7685
Start htop "mazimised". Drawback - you can not make it smaller.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
411
diff
changeset
|
305 |
# Drawback - you can not make it smaller. |
76f7aeed7685
Start htop "mazimised". Drawback - you can not make it smaller.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
411
diff
changeset
|
306 |
Style "htop" MinWindowSize 98 98 |
76f7aeed7685
Start htop "mazimised". Drawback - you can not make it smaller.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
411
diff
changeset
|
307 |
|
352
40040a3896d7
Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
351
diff
changeset
|
308 |
# 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
|
309 |
# value of PS1. |
425
1676172ecdf5
Remove binding to 'MenuFvwmRoot' as it already included in 'MenuMy'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
310 |
AddToMenu MenuMyRoot MenuMyRoot Title |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
311 |
+ Xterm Exec exec xterm -e bash -i |
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
312 |
+ Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
409
9cf313d7f48c
Set mc dimantion to fine look on 1280x800 resolution with 18 px font.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
408
diff
changeset
|
313 |
-name mc-secondary -geometry 136x42 -e bash -i -c "mc -x" |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
314 |
+ 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
|
315 |
+ my Popup MenuMy |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
316 |
+ fvwm Popup MenuFvwmRoot |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
317 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
318 |
######################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
319 |
# Window Operation Menu. |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
320 |
######################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
321 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
322 |
# From "FVWM Beginners Guide" by Jaimos F Skriletz. |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
323 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
324 |
DestroyMenu FvwmWindowOpsMenu |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
325 |
AddToMenu FvwmWindowOpsMenu "Window Operations" Title |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
326 |
+ "Move%menu/window-move.xpm%" Move |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
327 |
+ "Resize%menu/window-resize.xpm%" Resize |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
328 |
+ "(De)Iconify%menu/window-iconify.xpm%" Iconify |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
329 |
+ "(Un)Maximize%menu/window-maximize.xpm%" Maximize |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
330 |
+ "(Un)Shade%menu/window-shade.xpm%" WindowShade |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
331 |
+ "(Un)Stick%menu/window-stick.xpm%" Stick |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
332 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
333 |
+ "Close%menu/window-close.xpm%" Close |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
334 |
+ "Delete%menu/window-delete.xpm%" Delete |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
335 |
+ "Destroy%menu/window-destroy.xpm%" Destroy |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
336 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
337 |
+ "StaysOnTop%menu/window-raise.xpm%" Pick (CirculateHit) Layer 0 6 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
338 |
+ "Layer +1%menu/window-raise.xpm%" Pick (CirculateHit) Layer +1 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
339 |
+ "StaysPut%menu/window.xpm%" Pick (CirculateHit) Layer 0 4 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
340 |
+ "Layer -1%menu/window-lower.xpm%" Pick (CirculateHit) Layer -1 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
341 |
+ "StaysOnBottom%menu/window-lower.xpm%" Pick (CirculateHit) Layer 0 2 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
342 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
343 |
+ "%menu/window.xpm%App Screenshot" Pick (CirculateHit) FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
344 |
+ "Screenshot" FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
345 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
346 |
+ "Identify%menu/window-identify.xpm%" Module FvwmIdent |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
347 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
348 |
Mouse 3 R A Menu FvwmWindowOpsMenu |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
349 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
350 |
# ########## |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
351 |
# FvwmPager. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
352 |
# ########## |
387 | 353 |
|
354 |
# No any button on pager. |
|
355 |
Style "FvwmPager" !Button 1, !Button 3, !Button 5, \ |
|
389 | 356 |
StaysOnTop, Sticky, FixedPosition, FixedSize, !Iconifiable, \ |
388
38c75446897a
Pager always on top.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
387
diff
changeset
|
357 |
WindowListSkip, CirculateSkip |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
358 |
|
361 | 359 |
SetEnv FvwmPager_Inactive rgb:c0/c0/c0 |
362
195bd4ced61d
Set new color for highlighting windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
361
diff
changeset
|
360 |
SetEnv FvwmPager_Active rgb:ef/df/bdc |
357
9d9ad236b557
Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
356
diff
changeset
|
361 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
362 |
DestroyModuleConfig FvwmPager: * |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
363 |
*FvwmPager: Back $[FvwmPager_Inactive] |
361 | 364 |
*FvwmPager: BalloonBack $[FvwmPager_Active] |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
365 |
*FvwmPager: Hilight $[FvwmPager_Active] |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
366 |
*FvwmPager: Geometry 80x500-0+0 |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
367 |
*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
|
368 |
*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
|
369 |
*FvwmPager: Balloons All |
361 | 370 |
*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
|
371 |
*FvwmPager: MiniIcons |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
372 |
*FvwmPager: UseSkipList |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
373 |
*FvwmPager: LabelsAbove |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
374 |
# As I use only columns row count calculated automatically. |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
375 |
# *FvwmPager: Rows 5 |
353 | 376 |
*FvwmPager: Columns 1 |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
377 |
|
387 | 378 |
# ######### |
379 |
# FvwmAuto. |
|
380 |
# ######### |
|
381 |
||
382 |
# The autohiding functions. |
|
383 |
# From http://fvwm.org/documentation/faq/#toc_7.17 |
|
384 |
# See question "Autohiding FvwmButtons or other windows". |
|
385 |
AddToFunc autohide |
|
386 |
+ I ThisWindow ($0) Deschedule $[w.id] |
|
387 |
+ I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off |
|
388 |
+ I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2 |
|
389 |
||
390 |
AddToFunc autohide_hide |
|
391 |
+ I Schedule $0 $[w.id] WindowShade $1 |
|
392 |
+ I Schedule $0 $[w.id] Deschedule $[w.id] |
|
393 |
||
394 |
# Add the windows you want to autohide |
|
395 |
AddToFunc enter_handler |
|
403
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
396 |
+ I autohide FvwmPager 1000 N |
387 | 397 |
|
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
398 |
#################### |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
399 |
# Startup functions. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
400 |
#################### |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
401 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
402 |
# Define whare place autoloaded progs. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
403 |
# StartsOnPage [desk [x y]] |
413
f7f0dc19ab81
Run 2 'mc' at startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
412
diff
changeset
|
404 |
Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
f7f0dc19ab81
Run 2 'mc' at startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
412
diff
changeset
|
405 |
Style "mc-main2" StartsOnPage 0 2 0, SkipMapping |
410
13f5ca679cd2
Use 'goldendict' instead 'stardict'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
408
diff
changeset
|
406 |
Style "goldendict" StartsOnPage 3 1 2, SkipMapping |
423 | 407 |
Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip |
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
408 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
409 |
# Only once. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
410 |
AddToFunc InitFunction |
429
3581fc28f888
Set desktop background in FVWN. In case when I needn't setup background I also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
426
diff
changeset
|
411 |
+ I Exec exec xsetroot -gray |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
412 |
+ I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
413
f7f0dc19ab81
Run 2 'mc' at startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
412
diff
changeset
|
413 |
-name mc-main1 -geometry 136x42 -e bash -i -c "mc -x" |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
414 |
+ I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
413
f7f0dc19ab81
Run 2 'mc' at startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
412
diff
changeset
|
415 |
-name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
416 |
+ I Exec exec goldendict |
423 | 417 |
# Right offset: 80 from FvwmPager + 2*6 from border = 92. |
418 |
+ I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray |
|
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
419 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
420 |
# After all restart. |
426
bb3292034150
Read system wide menu for '/Debian'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
421 |
# AddToFunc RestartFunction |
bb3292034150
Read system wide menu for '/Debian'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
422 |
# + I Exec exec update-menus |
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
423 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
424 |
# First and after all restart. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
425 |
# All fvwm modules exit after restart fvwm, so you must put they there. |
353 | 426 |
AddToFunc StartFunction |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
427 |
+ I Module FvwmPager 0 4 |
387 | 428 |
+ I Module FvwmAuto 1 -menter enter_handler |
384
a29ab59f95a8
Added comment how place desktop image.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
383
diff
changeset
|
429 |
# Add next to load desktop image (must be .xpm or .png) |
a29ab59f95a8
Added comment how place desktop image.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
383
diff
changeset
|
430 |
# + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png |