author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 29 Dec 2008 10:44:00 +0200 | |
branch | fvwm |
changeset 362 | 195bd4ced61d |
parent 361 | 9ff9cea0e6b9 |
child 363 | 9e7c05cd9d49 |
child 367 | 63d13ae10f23 |
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 |
||
7 |
SetEnv fvwm_img $[FVWM_USERDIR]/images |
|
8 |
SetEnv fvwm_icon $[FVWM_USERDIR]/icons |
|
9 |
SetEnv fvwm_scrpt $./scripts |
|
10 |
SetEnv fvwm_wallpapers $[FVWM_USERDIR]/wallpaper |
|
11 |
||
12 |
##################### |
|
13 |
# Set the image path. |
|
14 |
##################### |
|
15 |
||
16 |
ImagePath $[fvwm_icon]:$[fvwm_icon];.png:$[fvwm_wallpapers]:+ |
|
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. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
EdgeScroll 100 100 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
EdgeResistance 150 150 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
EdgeThickness 1 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
# ######################### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
# Mouse and Focus Behavior. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
# ######################### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
ClickTime 350 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
MoveThreshold 3 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
Style * SloppyFocus, MouseFocusClickRaises |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
|
353 | 39 |
################# |
40 |
# Program Styles. |
|
41 |
################# |
|
355 | 42 |
|
353 | 43 |
# TODO need works. |
354 | 44 |
Style "*" Icon 48x48/x.png, MiniIcon mini/x.png |
353 | 45 |
# Style "XTerm" Icon 48x48/terminal.png, NoActiveIconOverride, MiniIcon mini/terminal.png |
46 |
# Style "gvim" Icon 48x48/vim.png, IconOverride, MiniIcon mini/vim.png, EWMHMiniIconOverride |
|
47 |
# Style "Firefox-bin" Icon 48x48/firefox.png, MiniIcon mini/firefox.png, EWMHMiniIconOverride |
|
48 |
# Style "irssi" Icon 48x48/irc.png, MiniIcon mini/irc.png |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
49 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
50 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
# FvwmTaskBar. |
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 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
54 |
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
|
55 |
|
355 | 56 |
################## |
57 |
# Basic Functions. |
|
58 |
################## |
|
59 |
||
60 |
# DestroyFunc FuncName |
|
61 |
# AddToFunc FuncName |
|
62 |
# + I (Action to happen immediately) |
|
63 |
# + C (Action to happen on a mouse 'click) |
|
64 |
# + D (Action to happen on a mouse 'double click') |
|
65 |
# + H (Action to happen on a mouse 'hold') |
|
66 |
# + M (Action to happen on a mouse 'motion') |
|
67 |
||
68 |
DestroyFunc FvwmDeleteOrDestroy |
|
69 |
AddToFunc FvwmDeleteOrDestroy |
|
70 |
+ H Nop |
|
71 |
+ M Nop |
|
72 |
+ C Delete |
|
73 |
+ D Destroy |
|
74 |
||
75 |
DestroyFunc FvwmIconifyOrShade |
|
76 |
AddToFunc FvwmIconifyOrShade |
|
77 |
+ C Iconify |
|
78 |
+ D WindowShade |
|
79 |
||
80 |
DestroyFunc FvwmMaximize |
|
81 |
AddToFunc FvwmMaximize |
|
82 |
+ H Nop |
|
83 |
+ M Nop |
|
84 |
+ C Maximize $0 $1 |
|
85 |
||
86 |
DestroyFunc FvwmMoveOrIconify |
|
87 |
AddToFunc FvwmMoveOrIconify |
|
88 |
+ M Move |
|
89 |
+ D Iconify |
|
90 |
||
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
91 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
92 |
# Key binding. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
93 |
# ############ |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
94 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
95 |
Key F1 A M Menu MenuFvwmRoot |
355 | 96 |
Key Super_L W CSM Delete |
354 | 97 |
Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L |
98 |
Key Super_L A N WindowList Root c c NoDeskSort |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
99 |
|
355 | 100 |
Mouse 1 R A Menu Utilities Nop |
101 |
||
102 |
Mouse 1 1 A FvwmDeleteOrDestroy |
|
103 |
Mouse 1 3 A FvwmIconifyOrShade |
|
104 |
Mouse 1 5 A FvwmMaximize 93 100 |
|
105 |
Mouse 2 5 A FvwmMaximize 100 0 |
|
106 |
Mouse 3 5 A FvwmMaximize 0 100 |
|
107 |
Mouse 1 T A FvwmMoveOrIconify |
|
108 |
Mouse 1 I A FvwmMoveOrIconify |
|
109 |
||
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
110 |
############### |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
111 |
# Window Decor. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
112 |
############### |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
113 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
114 |
DestroyDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
115 |
AddToDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
116 |
+ TitleStyle LeftJustified Height 18 |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
117 |
+ 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
|
118 |
+ 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
|
119 |
+ 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
|
120 |
+ 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
|
121 |
+ 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
|
122 |
+ 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
|
123 |
+ 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
|
124 |
+ 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
|
125 |
+ 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
|
126 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
127 |
################ |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
128 |
# Window Styles. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
129 |
################ |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
130 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
131 |
Style "*" UseDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
132 |
Style "*" BorderWidth 6, HandleWidth 6 |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
133 |
Style "*" MWMBorder |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
134 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
135 |
# ##### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
136 |
# Menu. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
137 |
# ##### |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
138 |
|
348
ef48d64b5fca
Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
347
diff
changeset
|
139 |
AddToMenu MenuMy Media Title |
350 | 140 |
+ "Peoplenet" Exec exec xterm -e /usr/bin/pon |
348
ef48d64b5fca
Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
347
diff
changeset
|
141 |
+ VLC Exec exec vlc |
ef48d64b5fca
Remove many item and my menu for item that in MenuDebian already exist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
347
diff
changeset
|
142 |
+ Stardict Exec exec stardict |
352
40040a3896d7
Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
351
diff
changeset
|
143 |
+ xkill Exec exec xkill |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
144 |
|
352
40040a3896d7
Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
351
diff
changeset
|
145 |
# 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
|
146 |
# value of PS1. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
147 |
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
|
148 |
+ 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
|
149 |
+ Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
40040a3896d7
Use interactive bash mode to read profile (~/.bashrc) to override default
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
351
diff
changeset
|
150 |
-geometry 120x42 -e bash -i -c "mc -x" |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
151 |
+ Emacs Exec exec emacs |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
152 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
153 |
+ 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
|
154 |
+ my Popup MenuMy |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
155 |
+ fvwm Popup MenuFvwmRoot |
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 |
# ########## |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
158 |
# FvwmPager. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
159 |
# ########## |
353 | 160 |
Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
161 |
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
162 |
|
361 | 163 |
SetEnv FvwmPager_Inactive rgb:c0/c0/c0 |
362
195bd4ced61d
Set new color for highlighting windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
361
diff
changeset
|
164 |
SetEnv FvwmPager_Active rgb:ef/df/bdc |
357
9d9ad236b557
Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
356
diff
changeset
|
165 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
166 |
DestroyModuleConfig FvwmPager: * |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
167 |
*FvwmPager: Back $[FvwmPager_Inactive] |
361 | 168 |
*FvwmPager: BalloonBack $[FvwmPager_Active] |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
169 |
*FvwmPager: Hilight $[FvwmPager_Active] |
353 | 170 |
*FvwmPager: Geometry 80x300-0+0 |
359
4d80a233f260
Set more pretty colors for FvwmPager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
171 |
*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
|
172 |
*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
|
173 |
*FvwmPager: Balloons All |
361 | 174 |
*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
|
175 |
*FvwmPager: Window3dBorders |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
176 |
*FvwmPager: MiniIcons |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
177 |
*FvwmPager: UseSkipList |
353 | 178 |
*FvwmPager: Rows 3 |
179 |
*FvwmPager: Columns 1 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
180 |
|
353 | 181 |
AddToFunc StartFunction |
182 |
+ I Module FvwmPager 0 2 |
|
183 |