summaryrefslogtreecommitdiff
path: root/config
blob: 424ddcd46b98ac52b0f7a4bf5f19fa10b4abc407 (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
#########################
# FVWM main config file #
#########################

# Where to search for icons
ImagePath	  $[FVWM_USERDIR]/images
ImagePath   +:$[FVWM_USERDIR]/deco
ImagePath   +:$[HOME]/gallery/

##################
# Basic commands #
##################

Read bindings.config
Read colorset.config
Read deco.config
Read font.config
Read functions.config
Read initvars.config
Read menu.config
Read modules.config
Read styles.config

DesktopSize 1x$[infostore.num_pages]

EdgeThickness 0
EdgeScroll 100 100
OpaqueMoveSize unlimited
HideGeometryWindow Always
IgnoreModifiers L25
EdgeResistance -1
EwmhBaseStruts 0 $[infostore.panelwidth] 0 0


#####################
# STARTUP FUNCTIONS #
#####################

DestroyFunc StartFunction
AddToFunc StartFunction
+ I Test (Init) RandomWall
+ I Piperead 'echo SetEnv i $(($[vp.height] - 4))'
+ I Module FvwmButtons -g 124x$[i]-0+0
+ I UnsetEnv i
+ I All (Maximized) WindowStyle !Borders, !Title, ResizeHintOverride
+ I UpdateStyles
+ I UpdateNumDesks
+ I Module FvwmCommandS
+ I Module FvwmEvent
+ I Test (Init) Exec exec $[infostore.xkb_tool]
+ I Test (Init) Exec exec $[infostore.clipboard_manager]

#########################
# Modules configuration #
#########################

# Config for the FvwmIdent
DestroyModuleConfig FvwmIdent: *
*FvwmIdent: Colorset 3
*FvwmIdent: Font $[ThemeFont]

# Config for FvwmEvent
DestroyModuleConfig FvwmEvent: *
*FvwmEvent: StartDelay 4
*FvwmEvent: add_window FvwmWindowAutoMaximize

#####   PANEL   #####

# PAGER
DestroyModuleconfig FvwmPager: *
*FvwmPager: Balloons
*FvwmPager: DeskHilight
*FvwmPager: WindowBorderWidth 2
*FvwmPager: BalloonColorset * 3
*FvwmPager: Colorset * 1
*FvwmPager: HilightColorset * 2
*FvwmPager: WindowColorsets 3 2
*FvwmPager: BalloonFont $[ThemeTitleFont]
*FvwmPager: Font $[ThemeTitleFont]
*FvwmPager: SmallFont $[ThemeMiniFont]
*FvwmPager: UseSkipList
*FvwmPager: Window3DBorders

# PANEL
DestroyModuleConfig FvwmButtons: *
*FvwmButtons: Frame 1
*FvwmButtons: Font $[ThemeTitleFont]
*FvwmButtons: Colorset 1
*FvwmButtons: Rows $[vp.height]
*FvwmButtons: Columns 1
*FvwmButtons: (1x$[infostore.pagerheight], Swallow 'FvwmPager' 'FvwmPager *')
*FvwmButtons: (1x$[infostore.trayheight], Swallow (NoClose, UseOld) stalonetray 'Exec exec stalonetray')
*FvwmButtons: (1x$[infostore.clockheight], Swallow '$[infostore.clock]' 'Exec exec $[infostore.clock]')