-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
245 lines (198 loc) · 9.33 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
#------------------------------------------------------------------------------
# FVWM Configuration
#------------------------------------------------------------------------------
ExecUseShell /bin/bash
ModulePath $[FVWM_USERDIR]:+
#------------------------------------------------------------------------------
# Functions
#------------------------------------------------------------------------------
Read $[FVWM_USERDIR]/functions
#------------------------------------------------------------------------------
# Settings
#------------------------------------------------------------------------------
Read $[FVWM_USERDIR]/settings
SetEnv fvwm_theme $[infostore.theme]
LocalePath $[FVWM_USERDIR]/locale;config:+
ImagePath $[FVWM_USERDIR]/themes/$[fvwm_theme]:$[FVWM_USERDIR]/3dpixmaps:+
#------------------------------------------------------------------------------
# Screen Settings
#------------------------------------------------------------------------------
Xinerama Off
XineramaSls Off
#XineramaSlsSize 2x1
#XineramaPrimaryScreen 1
#XineramaSlsScreens 2 1920x1080+0+0 1920x1080+1920+0
BugOpts FlickeringMoveWorkaround True
#------------------------------------------------------------------------------
# Start Function
#------------------------------------------------------------------------------
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Function LocalStartFunction
+ I Test (Init) Exec exec /usr/bin/lxpolkit & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
+ I Test (Init,x nm-applet) Exec exec nm-applet
+ I TestRc (!Match) Test (Init,x wicd-gtk) exec exec wicd-gtk -t
+ I Test (Init) Exec exec pnmixer
+ I Test (Init) Exec exec xscreensaver -no-splash
+ I Test (Init,x redshift) Exec exec redshift
+ I Test (Init,x xfce4-power-manager) Exec exec xfce4-power-manager
+ I Exec exec $(source $[FVWM_USERDIR]/background.cfg)
+ I FvwmEvent FE-Focus
+ I Module FvwmCommandS
+ I Schedule 100 Function StartModules
+ I All (Iconic) PlaceAgain Icon
# This file decides if we start FvwmAnimate or not
LoadLocalConfig .start-FvwmAnimate
# This one decides if we start FvwmAuto
LoadLocalConfig .start-FvwmAuto
#------------------------------------------------------------------------------
# WM Settings
#------------------------------------------------------------------------------
DesktopSize 4x1
Emulate mwm
HideGeometryWindow Move
IgnoreModifiers L2
ClickTime 550
OpaqueMoveSize 100
IgnoreModifiers L25
MoveThreshold 3
EdgeScroll 0 0
EdgeResistance 500
EdgeThickness 1
BusyCursor DynamicMenu False, Read True
CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
Style * ClickToFocus
Style * MouseFocusClickRaises
Style * PositionPlacement Center
Style * ResizeOpaque
Style * WindowShadeSteps 20
Style * SnapAttraction 5 All ScreenAll
Style * SnapGrid 5 5
Style * EdgeMoveDelay 350, EdgeMoveResistance 350
Style * !UsePPosition,!UseIconPosition
Style * EWMHDonateIcon
Style * GrabFocus, GrabFocusTransient
Style * !FPReleaseFocus
Style * FPLenient
Style * DecorateTransient, DontLowerTransient, UseTransientPPosition
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
Style * EWMHUseStackingOrderHints
#Style * EWMHPlacementIgnoreWorkingArea
#Style * EWMHIgnoreStateHints
Style * GNOMEIgnoreHints
#Style * ParentalRelativity
Style "Fvwm*" UsePPosition, TileCascadePlacement
Style fvwm_menu UsePPosition, EWMHUseStateHints
Style gnomesu UsePPosition, EWMHUseStateHints
Style gpodder !UsePPosition, EWMHIgnoreStateHints
Style gcolor3 NoButton 2, NoButton 4, WindowListSkip
Style Rhythmbox !UsePPosition, EWMHIgnoreStateHints
Style Evolution !UsePPosition, EWMHIgnoreStateHints
Style Audacious !UsePPosition, EWMHIgnoreStateHints
Style panel Sticky, !Title, WindowListSkip, CirculateSkip, BorderWidth 0
Style "gthumb" EWMHIgnoreWindowType, !MWMDecor
Style "Catfish" EWMHIgnoreWindowType, !MWMDecor
Style Xfce4-appfinder UsePPosition, EWMHUseStateHints
Style caja UsePPosition, EWMHUseStateHints
Style "nautilus" EWMHIgnoreWindowType, !MWMDecor
Style "tint2" !Title, !Handles, !Borders, StaysOnTop, EWMHIgnoreStrutHints, Sticky, EWMHPlacementIgnoreWorkingArea, NeverFocus, WindowListSkip
Style desktop_icon CirculateSkip, WindowListSkip, NoTitle
Style *lock !Title, !Handles, Sticky, WindowListSkip
Style xclock !Title, !Handles, Sticky, PositionPlacement -10p 10p
Style stalonetray !Title, !Handles, WindowListSkip, CirculateSkip, StaysOnBottom,NeverFocus, EWMHUseStackingOrderHints, TileCascadePlacement
Style fvwm_menu NoButton 2, NoButton 4, WindowListSkip
Style lxpolkit NoButton 2, NoButton 4, UsePPosition
Style wicd-client.py UsePPosition, EWMHUseStateHints
#------------------------------------------------------------------------------
# Forms
#------------------------------------------------------------------------------
Style FvwmForm-QuitVerify NoButton 1, NoButton 2, NoButton 4, NoButton 6, StaysOnTop, NoHandles, WindowListSkip
DestroyModuleConfig FvwmForm-VerifyQuit: *
*FvwmForm-VerifyQuit: Title "$[gt.Exit Fvwm]?"
*FvwmForm-VerifyQuit: GrabServer
*FvwmForm-VerifyQuit: WarpPointer
*FvwmForm-VerifyQuit: Line center
*FvwmForm-VerifyQuit: Text "$[gt.Do you really want to logout?]"
*FvwmForm-VerifyQuit: Line expand
*FvwmForm-VerifyQuit: Button quit "$[gt.Logout]" ^M
*FvwmForm-VerifyQuit: Command Quit
*FvwmForm-VerifyQuit: Button restart "$[gt.Restart]" ^R
*FvwmForm-VerifyQuit: Command Restart
*FvwmForm-VerifyQuit: Text " "
*FvwmForm-VerifyQuit: Button quit "$[gt.Cancel]" ^[
*FvwmForm-VerifyQuit: Command Nop
Style FvwmForm-VerifyQuit !Button 1, !Button 2, !Button 4, StaysOnTop, NoHandles, WindowListSkip
Style "FvwmScript-Quit" UsePPosition, !Button 1, !Button 2, !Button 4, StaysOnTop, NoHandles, WindowListSkip, PositionPlacement Center
#------------------------------------------------------------------------------
# Mouse Bindings
#------------------------------------------------------------------------------
Mouse 1 R A Menu Utilities mouse -1p -1p
Mouse 2 R A WindowList mouse -1p -1p NoGeometry,TitleForAllDesks,NoCurrentDeskTitle,UseIconName
Mouse 2 R C WindowList mouse -1p -1p OnlyListSkip, NoGeometry
Mouse 3 R A Menu Window mouse -1p -1p
Mouse 1 W 4 Function "MoveAndRaise"
Mouse 2 W 4 Menu Window mouse -1p -1p
Mouse 3 W 4 WindowList (CurrentPage) mouse -1p -1p, NoGeometry
Mouse 3 W CM WindowList mouse -1p -1p OnlyListSkip, NoGeometry
Mouse 1 I A Function "MoveOrIconifyOrRaise"
Mouse 2 I A Iconify
Mouse 3 I A Menu Window-Ops3 c+0 -100m
#------------------------------------------------------------------------------
# Key Bindings
#------------------------------------------------------------------------------
Key F4 A M Close
Key F4 A MS Destroy
Key F5 A M Function "RaiseLowerKey"
Key F6 A M All (Iconic) Raise # originally Restore
Key F7 A M Move
Key F8 A M Resize
Key F9 A M Iconify
Key F10 A M Maximize
Key F11 A M FvwmIdent
Key F12 A M FvwmConsole
Key Left A 4 GotoPage -1p +0p
Key Right A 4 GotoPage +1p +0p
Key Up A 4 GotoPage +0p -1p
Key Down A 4 GotoPage +0p +1p
Key Left A C4 MaximizeToSide +0
Key Right A C4 MaximizeToSide -0
Key Up A C4 MaximizeOrUnmaximize
Key Down A C4 IconifyOrUnmaximize
Silent Key Tab A M FuncFvwmNextWindow
Silent Key Tab A 4 FuncFvwmNextMaximized
# FuncFvwmNextAppWindow
# Rofi
Key Space A 4 Exec exec rofi -show run
Key W A 4 Exec exec rofi -show windowcd
Key e A 4 Exec exec $[infostore.launcher]
Key q A 4 Exec exec $FVWM_USERDIR/scripts/rofi/logout.sh
# Terminal
Key T A MC Exec exec $[infostore.terminal]
# Lock screen
Key L A 4 Exec exec xscreensaver-command -l
# Audacious
Key XF86AudioPlay A N Exec exec audtool playback-playpause
Key XF86AudioStop A N Exec exec audtool playback-stop
Key XF86AudioNext A N Exec exec audtool playlist-advance
Key XF86AudioPrev A N Exec exec audtool playlist-reverse
#Audio
Key XF86AudioMute A N Exec exec amixer -D pulse sset Master toggle
Key XF86AudioRaiseVolume A N Exec exec amixer -D pulse sset Master 5%+
Key XF86AudioLowerVolume A N Exec exec amixer -D pulse sset Master 5%-
#------------------------------------------------------------------------------
# Theme
#------------------------------------------------------------------------------
Read $[FVWM_USERDIR]/themes/$[fvwm_theme]/theme
#------------------------------------------------------------------------------
# Menus
#------------------------------------------------------------------------------
Read $[FVWM_USERDIR]/menus
#------------------------------------------------------------------------------
# Modules
#------------------------------------------------------------------------------
Read $[FVWM_USERDIR]/themes/$[fvwm_theme]/modules