summaryrefslogtreecommitdiffstats
path: root/fvwm/config
blob: 77bcf4377fcfd9afb9f60f947e86ffa567ba69e1 (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
# xeno's fvwm2 config

DesktopSize 2x1
IgnoreModifiers L25
HideGeometryWindow Always
EwmhBaseStruts 95 10 10 10

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

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
	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 "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 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 75x500+1+180
	Style * IconFill top bottom

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

# Menu
	DestroyMenu FvwmMenu
	AddToMenu FvwmMenu "Fvwm" Title
	+ "Restart" Restart
	+ "Quit" Quit

	DestroyMenu MenuFvwmRoot
	AddToMenu MenuFvwmRoot
	+ "Urxvt" Exec exec urxvt
	+ "Opera" Exec exec opera
	+ "Fvwm" Popup FvwmMenu

	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