-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlauncher.red
44 lines (36 loc) · 1.01 KB
/
launcher.red
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
Red [
Title: "launcher.red"
Needs: 'View
References: [
{Rebol/Red Color Names} http://rebol2.blogspot.com/2012/03/color-names.html
]
]
if not exists? apps-list-file: %config/launcher.apps-list.red [
make-dir %config
write apps-list-file read http://miniapps.red/config/launcher.apps-list.red
]
do read apps-list-file
if not exists? apps-icons-list-file: %config/launcher.apps-icons-list.red [
make-dir %config
write apps-icons-list-file read http://miniapps.red/config/launcher.apps-icons-list.red
]
do read apps-icons-list-file
win: copy [
title "Launcher"
backdrop gold
style cell: image (cell-size)
style cell-with-caption: cell font-name "algerian" font-size 14
]
append win apps-list
print rejoin [
"You can customize the apps list in "
{"}
to-local-file clean-path apps-list-file
{"}
newline
"You can customize the apps icons list in "
{"}
to-local-file clean-path apps-icons-list-file
{"}
]
view layout compose win