author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 18 Jan 2009 19:15:30 +0200 | |
branch | fvwm |
changeset 385 | dd621eec0cdf |
parent 384 | a29ab59f95a8 |
child 386 | eab698c29a89 |
permissions | -rw-r--r-- |
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 | 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_home $[HOME]/.fvwm |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
8 |
SetEnv fvwm_img $[FVWM_USERDIR]/images |
353 | 9 |
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
|
10 |
SetEnv screenshot_home $[HOME]/.screenshot |
353 | 11 |
|
12 |
##################### |
|
13 |
# Set the image path. |
|
14 |
##################### |
|
15 |
||
374
4b4bdc7e6c9d
Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
373
diff
changeset
|
16 |
ImagePath $[fvwm_icon];.xpm:$[fvwm_img] |
353 | 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 | 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 |
374
4b4bdc7e6c9d
Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
373
diff
changeset
|
39 |
Style "*" SloppyFocus, MouseFocusClickRaises |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
|
353 | 41 |
################# |
42 |
# Program Styles. |
|
43 |
################# |
|
355 | 44 |
|
383
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
45 |
Style "*" Icon app/x-32x32.xpm, \ |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
46 |
MiniIcon app/x-flex-16x16.xpm |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
47 |
Style "XTerm" Icon app/terminal-16x16.xpm, \ |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
48 |
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
|
49 |
Style "mc-*" Icon app/mc-16x16.xpm, \ |
383
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
50 |
MiniIcon app/mc-16x16.xpm |
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 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
58 |
########################################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
59 |
# 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
|
60 |
########################################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
61 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
62 |
DestroyFunc FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
63 |
AddToFunc FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
64 |
+ 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
|
65 |
"$[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
|
66 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
67 |
DestroyFunc FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
68 |
AddToFunc FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
69 |
+ I Exec sleep 2; import -window root -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
|
70 |
"$[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
|
71 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
72 |
DestroyFunc FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
73 |
AddToFunc FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
74 |
+ 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
|
75 |
"$[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
|
76 |
|
355 | 77 |
################## |
78 |
# Basic Functions. |
|
79 |
################## |
|
80 |
||
81 |
# DestroyFunc FuncName |
|
82 |
# AddToFunc FuncName |
|
83 |
# + I (Action to happen immediately) |
|
84 |
# + C (Action to happen on a mouse 'click) |
|
85 |
# + D (Action to happen on a mouse 'double click') |
|
86 |
# + H (Action to happen on a mouse 'hold') |
|
87 |
# + M (Action to happen on a mouse 'motion') |
|
88 |
||
89 |
DestroyFunc FvwmDeleteOrDestroy |
|
90 |
AddToFunc FvwmDeleteOrDestroy |
|
91 |
+ H Nop |
|
92 |
+ M Nop |
|
93 |
+ C Delete |
|
94 |
+ D Destroy |
|
95 |
||
96 |
DestroyFunc FvwmIconifyOrShade |
|
97 |
AddToFunc FvwmIconifyOrShade |
|
98 |
+ C Iconify |
|
99 |
+ D WindowShade |
|
100 |
||
101 |
DestroyFunc FvwmMaximize |
|
102 |
AddToFunc FvwmMaximize |
|
103 |
+ H Nop |
|
104 |
+ M Nop |
|
105 |
+ C Maximize $0 $1 |
|
106 |
||
107 |
DestroyFunc FvwmMoveOrIconify |
|
108 |
AddToFunc FvwmMoveOrIconify |
|
373
f6339c261ce9
Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
372
diff
changeset
|
109 |
+ I Raise |
355 | 110 |
+ M Move |
111 |
+ D Iconify |
|
112 |
||
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
113 |
# ############## |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
114 |
# Mouse binding. |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
115 |
# ############## |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
116 |
|
372
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
117 |
# Mouse [(window)] Button Context Modifiers Function |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
118 |
# Button |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
119 |
# 1 left |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
120 |
# 2 right |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
121 |
# 3 middle |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
122 |
# Context |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
123 |
# ’R’ for the root window |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
124 |
# ’W’ for an application window |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
125 |
# ’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
|
126 |
# ’T’ for a window title-bar |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
127 |
# ’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
|
128 |
# ’[’, ’]’, ´-’ 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
|
129 |
# ’F’ for a window frame (the corners), |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
130 |
# ’<’, ’^’, ’>’ 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
|
131 |
# ’I’ for an icon window |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
132 |
# ’0’ through ’9’ for title-bar buttons |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
133 |
# ’A’ is for any context |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
134 |
# Modifiers |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
135 |
# ’N’ for no modifiers |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
136 |
# ’C’ for control |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
137 |
# ’S’ for shift |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
138 |
# ’M’ for Meta |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
139 |
# ’L’ for Caps-Lock |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
140 |
# ’A’ for any modifier |
d20fdf1ef7ca
Added doc for Mouse from man page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
371
diff
changeset
|
141 |
|
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
142 |
Mouse 1 R A Menu Utilities Nop |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
143 |
|
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
144 |
# Setup title-bar button actions. |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
145 |
Mouse 1 1 A FvwmDeleteOrDestroy |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
146 |
Mouse 1 3 A FvwmIconifyOrShade |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
147 |
Mouse 1 5 A FvwmMaximize 93 100 |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
148 |
Mouse 2 5 A FvwmMaximize 100 0 |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
149 |
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
|
150 |
Mouse 1 TI A FvwmMoveOrIconify |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
151 |
|
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
152 |
# 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
|
153 |
# 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
|
154 |
Mouse 3 FST A FvwmMoveOrIconify |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
155 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
156 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
157 |
# Key binding. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
158 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
159 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
160 |
# 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
|
161 |
# 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
|
162 |
|
366
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
163 |
Key F1 A M Menu MenuFvwmRoot Root c c |
355 | 164 |
Key Super_L W CSM Delete |
364
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
165 |
|
366
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
166 |
# Used by WindowList |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
167 |
DestroyFunc WindowListFunc |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
168 |
AddToFunc WindowListFunc |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
169 |
+ I Iconify off |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
170 |
+ I FlipFocus |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
171 |
+ I Raise |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
172 |
# Place mouse pointer in center of window. |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
173 |
+ I WarpToWindow 50 50 |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
174 |
|
364
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
175 |
# Prevent show long title. |
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
176 |
SetEnv fvwm_winlist_width 60 |
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
177 |
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
|
178 |
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
|
179 |
|
369
2722227ca710
Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
368
diff
changeset
|
180 |
# Close window on Alt+F4 (send SIGHUP). |
2722227ca710
Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
368
diff
changeset
|
181 |
Key F4 A M Delete |
355 | 182 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
183 |
# Make screenshot. |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
184 |
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
|
185 |
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
|
186 |
|
356
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 |
# Window Decor. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
189 |
############### |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
190 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
191 |
DestroyDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
192 |
AddToDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
193 |
+ TitleStyle LeftJustified Height 18 |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
194 |
+ 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
|
195 |
+ 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
|
196 |
+ 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
|
197 |
+ 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
|
198 |
+ 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
|
199 |
+ 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
|
200 |
+ 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
|
201 |
+ 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
|
202 |
+ 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
|
203 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
204 |
################ |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
205 |
# Window Styles. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
206 |
################ |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
207 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
208 |
Style "*" UseDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
209 |
Style "*" BorderWidth 6, HandleWidth 6 |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
210 |
Style "*" MWMBorder |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
211 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
212 |
# ##### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
213 |
# Menu. |
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 |
|
348
ef48d64b5fca
Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
347
diff
changeset
|
216 |
AddToMenu MenuMy Media Title |
350 | 217 |
+ "Peoplenet" Exec exec xterm -e /usr/bin/pon |
380
e5a294b3ebc7
Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
379
diff
changeset
|
218 |
+ VLC Exec vlc |
e5a294b3ebc7
Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
379
diff
changeset
|
219 |
+ Stardict Exec stardict |
e5a294b3ebc7
Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
379
diff
changeset
|
220 |
+ xkill Exec xkill |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
221 |
|
352
40040a3896d7
Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
351
diff
changeset
|
222 |
# 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
|
223 |
# value of PS1. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
224 |
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
|
225 |
+ 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
|
226 |
+ Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
227 |
-name mc-secondary -geometry 120x42 -e bash -i -c "mc -x" |
380
e5a294b3ebc7
Remove exec from X apps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
379
diff
changeset
|
228 |
+ Emacs Exec emacs |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
229 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
230 |
+ 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
|
231 |
+ my Popup MenuMy |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
232 |
+ fvwm Popup MenuFvwmRoot |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
233 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
234 |
######################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
235 |
# 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
|
236 |
######################## |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
237 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
238 |
# 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
|
239 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
240 |
DestroyMenu FvwmWindowOpsMenu |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
241 |
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
|
242 |
+ "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
|
243 |
+ "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
|
244 |
+ "(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
|
245 |
+ "(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
|
246 |
+ "(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
|
247 |
+ "(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
|
248 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
249 |
+ "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
|
250 |
+ "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
|
251 |
+ "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
|
252 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
253 |
+ "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
|
254 |
+ "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
|
255 |
+ "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
|
256 |
+ "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
|
257 |
+ "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
|
258 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
259 |
+ "%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
|
260 |
+ "Screenshot" FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
261 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
262 |
+ "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
|
263 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
264 |
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
|
265 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
266 |
# ########## |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
267 |
# FvwmPager. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
268 |
# ########## |
353 | 269 |
Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
270 |
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
271 |
|
361 | 272 |
SetEnv FvwmPager_Inactive rgb:c0/c0/c0 |
362
195bd4ced61d
Set new color for highlighting windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
361
diff
changeset
|
273 |
SetEnv FvwmPager_Active rgb:ef/df/bdc |
357
9d9ad236b557
Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
356
diff
changeset
|
274 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
275 |
DestroyModuleConfig FvwmPager: * |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
276 |
*FvwmPager: Back $[FvwmPager_Inactive] |
361 | 277 |
*FvwmPager: BalloonBack $[FvwmPager_Active] |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
278 |
*FvwmPager: Hilight $[FvwmPager_Active] |
353 | 279 |
*FvwmPager: Geometry 80x300-0+0 |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
280 |
*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
|
281 |
*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
|
282 |
*FvwmPager: Balloons All |
361 | 283 |
*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
|
284 |
*FvwmPager: Window3dBorders |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
285 |
*FvwmPager: MiniIcons |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
286 |
*FvwmPager: UseSkipList |
353 | 287 |
*FvwmPager: Rows 3 |
288 |
*FvwmPager: Columns 1 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
289 |
|
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
290 |
#################### |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
291 |
# Startup functions. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
292 |
#################### |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
293 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
294 |
# 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
|
295 |
# StartsOnPage [desk [x y]] |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
296 |
Style "mc-main" StartsOnPage 0 1 0, SkipMapping |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
297 |
Style "stardict" StartsOnPage 2 1 2, SkipMapping |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
298 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
299 |
# Only once. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
300 |
AddToFunc InitFunction |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
301 |
+ I Exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
302 |
-name mc-main -geometry 120x42 -e bash -i -c "mc -x" |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
303 |
+ I Exec stardict |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
304 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
305 |
# After all restart. |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
306 |
AddToFunc RestartFunction |
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
307 |
|
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
308 |
# 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
|
309 |
# All fvwm modules exit after restart fvwm, so you must put they there. |
353 | 310 |
AddToFunc StartFunction |
311 |
+ I Module FvwmPager 0 2 |
|
384
a29ab59f95a8
Added comment how place desktop image.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
383
diff
changeset
|
312 |
# 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
|
313 |
# + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png |