1 #---------------------------------------------------------------------------#
2 # FvwmForm-ThemeSettings by Alex Wallis awol@dove.net.au
3 #---------------------------------------------------------------------------#
4 DestroyModuleConfig FvwmForm-ThemeSettings: *
6 *FvwmForm-ThemeSettings: WarpPointer
7 *FvwmForm-ThemeSettings: PadVText 0
8 *FvwmForm-ThemeSettings: Font 10x20
9 *FvwmForm-ThemeSettings: Line center
10 *FvwmForm-ThemeSettings: Text "FVWM Theme Settings"
11 *FvwmForm-ThemeSettings: Line center
12 *FvwmForm-ThemeSettings: Text ""
13 *FvwmForm-ThemeSettings: Font 7x14
14 *FvwmForm-ThemeSettings: Line center
15 #*FvwmForm-ThemeSettings: Text " "
16 *FvwmForm-ThemeSettings: Selection Opt1 multiple
17 *FvwmForm-ThemeSettings: Choice ANIM ANIM $ANIM=on "Animation "
18 *FvwmForm-ThemeSettings: Choice BACK BACK $BACK=on "Background"
19 *FvwmForm-ThemeSettings: Choice BANN BANN $BANN=on "Banner "
20 *FvwmForm-ThemeSettings: Choice STRK STRK $STRK=off "Stroke"
21 *FvwmForm-ThemeSettings: Line center
22 *FvwmForm-ThemeSettings: Text ""
23 *FvwmForm-ThemeSettings: Line left
24 *FvwmForm-ThemeSettings: Text " Sound "
25 *FvwmForm-ThemeSettings: Selection Opt2 single
26 *FvwmForm-ThemeSettings: Choice SDIS 1 $SDIS=on "Disabled "
27 *FvwmForm-ThemeSettings: Choice SOXP 2 $SOXP=off "play (sox)"
28 *FvwmForm-ThemeSettings: Choice SESD 3 $SESD=off "esdplay "
29 *FvwmForm-ThemeSettings: Choice SAUD 4 $SAUD=off "audioplay "
30 *FvwmForm-ThemeSettings: Line left
31 *FvwmForm-ThemeSettings: Text " Player"
32 *FvwmForm-ThemeSettings: Choice SAUP 5 $SAUP=off "auplay "
33 *FvwmForm-ThemeSettings: Choice SRPL 6 $SRPL=off "rplay "
34 *FvwmForm-ThemeSettings: Choice SRPD 7 $SRPD=off "rplayD "
35 *FvwmForm-ThemeSettings: Choice SAUD 8 $SAUD=off "artsplay "
36 *FvwmForm-ThemeSettings: Line center
37 *FvwmForm-ThemeSettings: Text ""
38 *FvwmForm-ThemeSettings: Line left
39 *FvwmForm-ThemeSettings: Text " Auto-Raise"
40 *FvwmForm-ThemeSettings: Selection Opt3 single
41 *FvwmForm-ThemeSettings: Choice AUTD 1 $AUTD=on "Disabled "
42 *FvwmForm-ThemeSettings: Choice AUT1 2 $AUT1=off "1/2 sec "
43 *FvwmForm-ThemeSettings: Choice AUT2 3 $AUT2=off "2 secs "
44 *FvwmForm-ThemeSettings: Choice AUTM 4 $AUTM=off "Modules "
45 *FvwmForm-ThemeSettings: Line center
46 *FvwmForm-ThemeSettings: Text ""
47 *FvwmForm-ThemeSettings: Line left
48 *FvwmForm-ThemeSettings: Text "Icon Styles"
49 *FvwmForm-ThemeSettings: Selection Opt4 single
50 *FvwmForm-ThemeSettings: Choice ICSD 1 $ICSD=off "Disabled "
51 *FvwmForm-ThemeSettings: Choice ICSN 2 $ICSN=on "Internal wm-icons "
52 *FvwmForm-ThemeSettings: Choice ICSW 3 $ICSW=off "External wm-icons "
53 *FvwmForm-ThemeSettings: Line center
54 *FvwmForm-ThemeSettings: Text ""
55 *FvwmForm-ThemeSettings: Line left
56 *FvwmForm-ThemeSettings: Font 10x20
57 *FvwmForm-ThemeSettings: Text "KDE "
58 *FvwmForm-ThemeSettings: Font 7x14
59 *FvwmForm-ThemeSettings: Selection Opt5 multiple
60 *FvwmForm-ThemeSettings: Choice KFM KFM $KFM=off "kfm icons workaround"
61 *FvwmForm-ThemeSettings: Line center
62 *FvwmForm-ThemeSettings: Text " System Menu"
63 *FvwmForm-ThemeSettings: Selection Opt6 single
64 *FvwmForm-ThemeSettings: Choice KSDIS 1 $KSDIS=on "Disabled "
65 *FvwmForm-ThemeSettings: Choice KSMSTL 2 $KSMSTL=off "Menus and Styles(48x48 icons)"
66 *FvwmForm-ThemeSettings: Line center
67 *FvwmForm-ThemeSettings: Text " "
68 *FvwmForm-ThemeSettings: Choice KSMEN 4 $KSMEN=off "Menus Only"
69 *FvwmForm-ThemeSettings: Choice KSMSTS 3 $KSMSTS=off "Menus and Styles(32x32 icons)"
70 *FvwmForm-ThemeSettings: Line center
71 *FvwmForm-ThemeSettings: Text " User Menu"
72 *FvwmForm-ThemeSettings: Selection Opt7 single
73 *FvwmForm-ThemeSettings: Choice KUDIS 1 $KUDIS=on "Disabled "
74 *FvwmForm-ThemeSettings: Choice KUMEN 2 $KUMEN=off "Menus Only"
75 *FvwmForm-ThemeSettings: Choice KUMST 3 $KUMST=off "Menus and Styles"
76 *FvwmForm-ThemeSettings: Line center
77 *FvwmForm-ThemeSettings: Text ""
78 *FvwmForm-ThemeSettings: Line left
79 *FvwmForm-ThemeSettings: Font 10x20
80 *FvwmForm-ThemeSettings: Text "GNOME "
81 *FvwmForm-ThemeSettings: Font 7x14
82 *FvwmForm-ThemeSettings: Selection Opt8 multiple
83 *FvwmForm-ThemeSettings: Choice GPSP GPSP $GPSP=off "Panel Stays Put"
84 *FvwmForm-ThemeSettings: Line left
85 *FvwmForm-ThemeSettings: Text " System Menu"
86 *FvwmForm-ThemeSettings: Selection Opt9 single
87 *FvwmForm-ThemeSettings: Choice GSDIS 1 $GSDIS=on "Disabled "
88 *FvwmForm-ThemeSettings: Choice GSFVMS 6 $GSFVMS=off "Fvwm Menu & Styles "
89 *FvwmForm-ThemeSettings: Line center
90 *FvwmForm-ThemeSettings: Text " "
91 *FvwmForm-ThemeSettings: Choice GSFVWM 4 $GSFVWM=off "Fvwm Menu(wm icons) "
92 *FvwmForm-ThemeSettings: Choice GSFVGN 5 $GSFVGN=off "Fvwm Menu(gnome icons)"
93 *FvwmForm-ThemeSettings: Line center
94 *FvwmForm-ThemeSettings: Text " "
95 *FvwmForm-ThemeSettings: Choice GSGTKM 2 $GSGTKM=off "Gtk Menu "
96 *FvwmForm-ThemeSettings: Choice GSGTKS 3 $GSGTKS=off "Gtk Menu & Styles "
97 *FvwmForm-ThemeSettings: Line center
98 *FvwmForm-ThemeSettings: Text " User Menu"
99 *FvwmForm-ThemeSettings: Selection Opt10 single
100 *FvwmForm-ThemeSettings: Choice GUDIS 1 $GUDIS=on "Disabled "
101 *FvwmForm-ThemeSettings: Choice GUGTK 2 $GUGTK=off "Gtk Menu "
102 *FvwmForm-ThemeSettings: Choice GUFVW 3 $GUFVW=off "Fvwm Menu "
103 *FvwmForm-ThemeSettings: Line center
104 *FvwmForm-ThemeSettings: Text "AnotherLevel Menu"
105 *FvwmForm-ThemeSettings: Selection Opt11 single
106 *FvwmForm-ThemeSettings: Choice ALDIS 1 $ALDIS=on "Disabled "
107 *FvwmForm-ThemeSettings: Choice ALGTK 2 $ALGTK=off "Gtk Menu "
108 *FvwmForm-ThemeSettings: Choice ALFVW 3 $ALFVW=off "Fvwm Menu "
109 *FvwmForm-ThemeSettings: Line center
110 *FvwmForm-ThemeSettings: Text ""
111 *FvwmForm-ThemeSettings: Line left
112 *FvwmForm-ThemeSettings: Font 10x20
113 *FvwmForm-ThemeSettings: Text "Session Manager"
114 *FvwmForm-ThemeSettings: Font 7x14
115 *FvwmForm-ThemeSettings: Selection Opt12 single
116 *FvwmForm-ThemeSettings: Choice NOSN 1 $NOSN=on "None "
117 *FvwmForm-ThemeSettings: Choice GESN 2 $GESN=off "Generic "
118 *FvwmForm-ThemeSettings: Choice GNSN 3 $GNSN=off "gnome-session"
119 *FvwmForm-ThemeSettings: Choice XSSN 4 $GESN=off "xsm"
120 *FvwmForm-ThemeSettings: Line center
121 *FvwmForm-ThemeSettings: Text ""
122 *FvwmForm-ThemeSettings: Line expand
123 *FvwmForm-ThemeSettings: Button continue "Apply & Save"
124 *FvwmForm-ThemeSettings: Command FuncFvwmThemesConfigAndUpdate ' \
125 --variant settings/animation=$(ANIM!1)$(ANIM?2) \
126 --variant settings/background=$(BACK!1)$(BACK?2) \
127 --variant settings/banner=$(BANN!1)$(BANN?2) \
128 --variant settings/stroke=$(STRK!1)$(STRK?2) \
129 --variant settings/sound-player="$(Opt2)" \
130 --variant settings/autoraise="$(Opt3)" \
131 --variant settings/iconstyles="$(Opt4)" \
132 --variant settings/kde/kfm-icons=$(KFM!1)$(KFM?2) \
133 --variant settings/kde/system-menu="$(Opt6)" \
134 --variant settings/kde/user-menu="$(Opt7)" \
135 --variant settings/gnome/panel-staysput=$(GPSP!1)$(GPSP?2) \
136 --variant settings/gnome/system-menu="$(Opt9)" \
137 --variant settings/gnome/user-menu="$(Opt10)" \
138 --variant settings/gnome/anotherlevel-menu="$(Opt11)" \
139 --variant settings/session-manager="$(Opt12)" '
141 *FvwmForm-ThemeSettings: Command !( /bin/echo \
142 '# File created by FvwmForm-ThemeSettings' ; /bin/echo \
143 '*SavedThemeSettings: ANIM $(ANIM?on)' ; /bin/echo \
144 '*SavedThemeSettings: BACK $(BACK?on)' ; /bin/echo \
145 '*SavedThemeSettings: BANN $(BANN?on)' ; /bin/echo \
146 '*SavedThemeSettings: STRK $(STRK?on)' ; /bin/echo \
147 '*SavedThemeSettings: SDIS $(SDIS?on)' ; /bin/echo \
148 '*SavedThemeSettings: SOXP $(SOXP?on)' ; /bin/echo \
149 '*SavedThemeSettings: SESD $(SESD?on)' ; /bin/echo \
150 '*SavedThemeSettings: SAUD $(SAUD?on)' ; /bin/echo \
151 '*SavedThemeSettings: SAUP $(SAUP?on)' ; /bin/echo \
152 '*SavedThemeSettings: SRPL $(SRPL?on)' ; /bin/echo \
153 '*SavedThemeSettings: SRPD $(SRPD?on)' \
154 ) > $FVWM_USERDIR/.FvwmForm-ThemeSettings
156 *FvwmForm-ThemeSettings: Command !( /bin/echo \
157 '*SavedThemeSettings: AUTD $(AUTD?on)' ; /bin/echo \
158 '*SavedThemeSettings: AUT1 $(AUT1?on)' ; /bin/echo \
159 '*SavedThemeSettings: AUT2 $(AUT2?on)' ; /bin/echo \
160 '*SavedThemeSettings: AUTM $(AUTM?on)' ; /bin/echo \
161 '*SavedThemeSettings: ICSD $(ICSD?on)' ; /bin/echo \
162 '*SavedThemeSettings: ICSN $(ICSN?on)' ; /bin/echo \
163 '*SavedThemeSettings: ICSW $(ICSW?on)' ; /bin/echo \
164 '*SavedThemeSettings: KFM $(KFM?on)' ; /bin/echo \
165 '*SavedThemeSettings: KSDIS $(KSDIS?on)' ; /bin/echo \
166 '*SavedThemeSettings: KSMEN $(KSMEN?on)' ; /bin/echo \
167 '*SavedThemeSettings: KSMSTL $(KSMSTL?on)' ; /bin/echo \
168 '*SavedThemeSettings: KSMSTS $(KSMSTS?on)' ; /bin/echo \
169 '*SavedThemeSettings: KUDIS $(KUDIS?on)' ; /bin/echo \
170 '*SavedThemeSettings: KUMEN $(KUMEN?on)' ; /bin/echo \
171 '*SavedThemeSettings: KUMST $(KUMST?on)' \
172 ) >> $FVWM_USERDIR/.FvwmForm-ThemeSettings
174 *FvwmForm-ThemeSettings: Command !( /bin/echo \
175 '*SavedThemeSettings: GPSP $(GPSP?on)' ; /bin/echo \
176 '*SavedThemeSettings: GSDIS $(GSDIS?on)' ; /bin/echo \
177 '*SavedThemeSettings: GSGTKM $(GSGTKM?on)' ; /bin/echo \
178 '*SavedThemeSettings: GSGTKS $(GSGTKS?on)' ; /bin/echo \
179 '*SavedThemeSettings: GSFVWM $(GSFVWM?on)' ; /bin/echo \
180 '*SavedThemeSettings: GSFVGN $(GSFVGN?on)' ; /bin/echo \
181 '*SavedThemeSettings: GSFVMS $(GSFVMS?on)' ; /bin/echo \
182 '*SavedThemeSettings: GUDIS $(GUDIS?on)' ; /bin/echo \
183 '*SavedThemeSettings: GUGTK $(GUGTK?on)' ; /bin/echo \
184 '*SavedThemeSettings: GUFVW $(GUFVW?on)' ; /bin/echo \
185 '*SavedThemeSettings: ALDIS $(ALDIS?on)' ; /bin/echo \
186 '*SavedThemeSettings: ALGTK $(ALGTK?on)' ; /bin/echo \
187 '*SavedThemeSettings: ALFVW $(ALFVW?on)' ; /bin/echo \
188 '*SavedThemeSettings: NOSN $(NOSN?on)' ; /bin/echo \
189 '*SavedThemeSettings: GESN $(GESN?on)' ; /bin/echo \
190 '*SavedThemeSettings: GNSN $(GNSN?on)' ; /bin/echo \
191 '*SavedThemeSettings: XSSN $(XSSN?on)' \
192 ) >> $FVWM_USERDIR/.FvwmForm-ThemeSettings
194 *FvwmForm-ThemeSettings: Button restart "Reset"
195 *FvwmForm-ThemeSettings: Command Nop
196 *FvwmForm-ThemeSettings: Button quit "Dismiss"
197 *FvwmForm-ThemeSettings: Command Nop
198 *FvwmForm-ThemeSettings: UseData .FvwmForm-ThemeSettings *SavedThemeSettings