summaryrefslogtreecommitdiffstats
path: root/fvwm/config
blob: 65c3bd2560b0143728af86897e8b7f9127776e9f (plain)
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
# xeno's fvwm2 config

DesktopSize 2x1
IgnoreModifiers L25
HideGeometryWindow Always
EwmhBaseStruts 95 10 10 22
EdgeResistance -1

Style * Font -xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
Style * IconFont -xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
Style * HandleWidth 4
Style * BorderWidth 1
Style * GrabFocus
Style * FPGrabFocus
Style * ResizeOpaque
Style * NoPPosition
Style * NoTransientPPosition
Style * SloppyFocus
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
Style * EdgeMoveDelay 250
Style * EdgeMoveResistance 20

MenuStyle * Font -xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
MenuStyle * Foreground white, Background black
MenuStyle * Hilight3DThickness 1
MenuStyle * BorderWidth 1

CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr

# Keys
	Key Return A M Exec urxvt
	Key "Q" A M Exec dmenu_run -nb '#000000' -nf '#a8c023' -sb '#a8c023' -sf '#000000'
	Key "L" A M Exec xscreensaver-command -lock
	Key "K" A M Exec amixer set PCM 5%+
	Key "S" A M Exec amixer set PCM 5%-
	Key Tab A M Next (CurrentPage !Sticky AcceptsFocus) Focus
	Key "M" A M Maximize
	Key "G" A M Desk -1 0 0 3
	Key "R" A M Desk +1 0 0 3
	Key "N" A M GotoPage -1p 0
	Key "T" A M GotoPage +1p 0
	Key "1" A M GotoDeskAndPage 0 0 0
	Key "2" A M GotoDeskAndPage 0 1 1
	Key "3" A M GotoDeskAndPage 1 0 0
	Key "4" A M GotoDeskAndPage 1 1 1
	Key "5" A M GotoDeskAndPage 2 0 0
	Key "6" A M GotoDeskAndPage 2 1 1
	Key "7" A M GotoDeskAndPage 3 0 0
	Key "8" A M GotoDeskAndPage 3 1 1
	Key "F" A M FvwmRearrange -tile -v  0 0 100 100
	Key "H" A M FvwmRearrange -tile -h  0 0 100 100
	Key "R" A CM Restart
	Key "Q" A CM Quit

# Mouse
	Mouse 1 1 N Popup FvwmWindowOpsMenu
	Mouse 1 2 N Close
	Mouse 1 4 N Maximize 100 100
	Mouse 1 6 N Iconify
	Mouse 1 I N Iconify

# Colorsets
	Colorset 1 RootTransparent Buffer, Tint #000000 40
	Colorset 2 RootTransparent Buffer, Tint #fecf35 40
	Colorset 3 RootTransparent Buffer
	Colorset 4 bg black, fg white
	Colorset 5 Transparent, bg black
	Colorset 10 fg #e0e0e0, bg #3a3a3a
	Colorset 11 fg #f10000, bg #3a3a3a

# Pager
	AddToFunc StartFunction
	+ I Module FvwmPager 0 3
	Style FvwmPager Sticky
	Style FvwmPager NoTitle
	Style FvwmPager FixedPosition
	Style FvwmPager FixedSize
	Style FvwmPager BorderColorSet 4
	Style FvwmPager !Iconifiable
	Style FvwmPager !Handles
	*FvwmPager: Font none
	*FvwmPager: Geometry 75x150+10+10
	*FvwmPager: Columns 1
	*FvwmPager: ShapeLabels
	*FvwmPager: SolidSeparators
	*FvwmPager: Balloons
	*FvwmPager: Colorset * 1
	*FvwmPager: HilightColorset * 2
	*FvwmPager: WindowColorsets 3 3

# IconBox
	Style * IconBox 1000x40+5+1030
	Style * IconFill Left Right

# Animate
	AddToFunc StartFunction
	+ I Module FvwmAnimate
	*FvwmAnimate: Effect Turn
	*FvwmAnimate: Delay 5
	*FvwmAnimate: Iterations 30
	*FvwmAnimate: Width 1 

# Menus
	DestroyMenu InternetMenu
	AddToMenu InternetMenu "Internet" Title
	+ "Opera" Exec exec opera

	DestroyMenu MultimediaMenu
	AddToMenu MultimediaMenu "Multimedia" Title
	+ "gqview" Exec exec gqview
	+ "MOC" Exec exec urxvt -e mocp
	+ "Quod Libet" Exec exec quodlibet
	+ "VLC" Exec exec vlc

	DestroyMenu OfficeMenu
	AddToMenu OfficeMenu "Office" Title
	+ "LibreOffice" Exec exec libreoffice

	DestroyMenu SystemMenu
	AddToMenu SystemMenu "System" Title
	+ "Midnight Commander" Exec exec urxvt -e mc
	+ "Python" Exec exec urxvt -e python
	+ "virt-manager" Exec exec virt-manager
	+ "VirtualBox" Exec exec virtualbox
	+ "Wicd" Exec exec urxvt -e wicd-curses

	DestroyMenu MenuFvwmRoot
	AddToMenu MenuFvwmRoot
	+ "Urxvt" Exec exec urxvt
	+ "Firefox" Exec exec firefox
	+ "" Nop
	+ "Internet" Popup InternetMenu
	+ "Multimedia" Popup MultimediaMenu
	+ "Office" Popup OfficeMenu
	+ "System" Popup SystemMenu
	+ "" Nop
	+ "Lock Screen" Exec exec xscreensaver-command -lock
	+ "Restart" Restart
	+ "Quit" Quit

	DestroyMenu FvwmWindowOpsMenu
	AddToMenu   FvwmWindowOpsMenu
	+ "Move%menu/window-move.xpm%"  Move
	+ "Resize%menu/window-resize.xpm%"  Resize
	+ "(Un)Shade%menu/window-shade.xpm%"  WindowShade
	+ "(Un)Stick%menu/window-stick.xpm%"  Stick
	+ "Close%menu/window-close.xpm%"  Close
	+ "Delete%menu/window-delete.xpm%"  Delete
	+ "Destroy%menu/window-destroy.xpm%"  Destroy

# Tiling
	AddToFunc StartFunction
	+ I Module FvwmRearrange

# Buttons
	AddToFunc StartFunction
	+ I Module FvwmButtons
	Style FvwmButtons Sticky
	Style FvwmButtons Notitle
	Style FvwmButtons FixedPosition
	Style FvwmButtons FixedSize
	Style FvwmButtons ParentalRelativity
	Style FvwmButtons !Iconifiable
	Style FvwmButtons !Handles
	Style FvwmButtons !Borders
	# Raise $y by 75 for each app
	*FvwmButtons: Geometry 75x225+12+170
	*FvwmButtons: Colorset 5
	*FvwmButtons: Rows 10
	*FvwmButtons: Columns 1
	*FvwmButtons: Frame 0
	*FvwmButtons: (1x1, Swallow "wmclockmon" "Exec exec wmclockmon -w -sc -s led1")
	*FvwmButtons: (1x1, Padding 4 4, Swallow "wmifinfo" "Exec exec wmifinfo -i eth0")
	*FvwmButtons: (1x1, Swallow "wmcpuload" "Exec exec wmcpuload -w")

# Urgent
	DestroyFunc UrgencyFunc
	AddToFunc UrgencyFunc
	+ I Nop

Read windowdecors/brushedmetal/config