-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.xc
181 lines (139 loc) ยท 10.1 KB
/
default.xc
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
# โโโโโโโโโโโโโ
# โโโโโโโโโโโโโ
# โโโโโโโโv0.7โ
#
# โโ SETUP โโโโโโโโโโโโโโโโโ
# โโ โโโโโ โโ
# โโ copy this template โโ
# โโ โโ
# โโ cp default.xc [PATH] โโ
# โโ โโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโ
#
# โโ USAGE โโโโโโโโโโโโโโโโโ
# โโ โโโโโ โโ
# โโ run this template โโ
# โโ โโ
# โโ xico -t [FILE] โโ
# โโ โโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโ
# โญโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
# โ option โ alias โ default โ type โ
# โโโโโโโโโโโโโโโโโโโโโโชโโโโโโโโโชโโโโโโโโโโโโโโโโโชโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโก
# โ r_fill โ bg โ black โ [ <hex-color> | <named-color> | <rgb()> | <rgba()> | <hsl()> <hsla()> | <lab()> ] โ
# โ r_width โ w โ 100 โ [ auto | <length> | <percentage> ] โ
# โ r_height โ h โ 100 โ [ auto | <length> | <percentage> ] โ
# โ r_opacity โ o โ 0.5 โ [ <number>(0,1) | <percentage> ] โ
# โ r_rx โ r โ 25 โ [ <length> | <percentage> | auto ] โ
# โ r_ry โ r โ 25 โ [ <length> | <percentage> | auto ] โ
# โ r_x โ โ 0 โ [ <length> | <percentage> ] โ
# โ r_y โ โ 0 โ [ <length> | <percentage> ] โ
# โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
# โ t_fill โ fg โ #3311FF โ [ <hex-color> | <named-color> | <rgb()> | <rgba()> | <hsl()> <hsla()> | <lab()> ] โ
# โ t_stroke-color โ stroke โ cyan โ [ <hex-color> | <named-color> | <rgb()> | <rgba()> | <hsl()> <hsla()> | <lab()> ] โ
# โ t_stroke-width โ border โ 0 โ [ <length> | <percentage> ] โ
# โ t_stroke-linecap โ โ round โ [ <butt | round | square> ] โ
# โ t_stroke-linejoin โ โ round โ [ <arcs | bevel |miter | miter-clip | round> ] โ
# โ t_font-family โ ff โ monospace โ [ <family-name> | <generic-family> ] โ
# โ t_font-weight โ fw โ bold โ [ <normal | bold | bolder | lighter | <number> ] โ
# โ t_font-size โ fs โ 8em โ [ <absolute-size> | <relative-size> | <length-percentage> ] โ
# โ t_rotate โ rotate โ 0 โ [ auto | auto-reverse | <number> ] โ
# โ t_transform โ โ translate(0,0) โ [ <transform-function> ] โ
# โ t_transform-origin โ โ center โ [ <transform-origin> ] โ
# โ t_dx โ โ 0 โ [ <length-percentage> | <number> ] โ
# โ t_dy โ โ 3.5 โ [ <length-percentage> | <number> ] โ
# โ t_x โ x โ 50 โ [ <length> | <percentage> ] โ
# โ t_y โ y โ 50 โ [ <length> | <percentage> ] โ
# โฐโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
# โญโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
# โ option โ alias โ default โ type โ
# โโโโโโโโโโโโโโโโโโโโโโโชโโโโโโโโชโโโโโโโโโโชโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโก
# โ background โ xbg โ black โ [ <color> ] โ
# โ background-opacity โ xbo โ 0 โ [ <number>(0,1) | <percentage> ] โ
# โ size โ s โ 500 โ [ <number> ] โ
# โ delay โ d โ 3 โ [ <number> ] โ
# โฐโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
##################################
## below are the default options
#####
############################################################
## these command is equivalent of the rest of the template
#####
# xico แฎท xico.png
# or ..
# xico -bg black -w 100 -h 100 -o 0.5 -r 25 --r_x 0 --r_y 0 \
# -fg '#3311FF' -ff monospace -fw bold -fs 8em --t_rotate 0 \
# --t_dx 0 --t_dy 4 -x 50 -y 50 -s 500 \
# --t_transform none --t_transform-origin center \
# -d 0 แฎท xico.png
############################################################
## run this template with
#
# xico -t default.xc
#####
## or copy the starter template and start there
#
# cp templates/starter.xc <path>
# xico -t <path>
#########################################################################
#--@opt r_fill | bg: [ <hex-color> | <named-color> | <rgb()> | <rgba()> | <hsl()> <hsla()> | <lab()> ] = black
set bg black
#--@opt r_width | w: [ auto | <length> | <percentage> ] = 100
set w 100
#--@opt r_height | h: [ auto | <length> | <percentage> ] = 100
set h 100
#--@opt r_opacity | o: [ <number>(0,1) | <percentage> ] = 0.5
set o 0.5
#--@opt r_rx | r: [ <length> | <percentage> | auto ] = 25 # set 50 for perfect circle
#--@opt r_ry | r: [ <length> | <percentage> | auto ] = 25 # the r alias will set both
set r 25
#--@opt r_x: [ <length> | <percentage> ] = 0
set r_x 0
#--@opt r_y: [ <length> | <percentage> ] = 0
set r_y 0
#--@opt t_fill | fg: [ <hex-color> | <named-color> | <rgb()> | <rgba()> | <hsl()> <hsla()> | <lab()> ] = #3311FF
set fg #3311FF
#--@opt t_stroke-color | stroke: [ <hex-color> | <named-color> | <rgb()> | <rgba()> | <hsl()> <hsla()> | <lab()> ] = cyan
set stroke cyan
#--@opt t_stroke-width | border: [ <length> | <percentage> ] = 0
set border 4
#--@opt t_stroke-linecap: [ <butt | round | square ] = round
set stroke-linecap round
#--@opt t_stroke-linejoin: [ <arcs | bevel |miter | miter-clip | round> ] = round
set stroke-linejoin round
#--@opt t_font-family | ff: [ <family-name> | <generic-family> ] = monospace
set ff monospace
#--@opt t_font-weight | fw: [ <normal | bold | bolder | lighter | <number> ] = bold
set fw bold
#--@opt t_font-size | fs: [ <absolute-size> | <relative-size> | <length-percentage> ] = 8em # x-large, smaller, 20%, 20px
set fs 8em
#--@opt t_rotate: [ auto | auto-reverse | <number> ] = 0
set t_rotate 10
#--@opt t_transform: [ none | <transform-list> ] = none
set t_transform none
#--@opt t_transform-origin: [ <transform-origin> ] = center
set t_transform-origin center
#--@opt t_dx: [ <length-percentage> | <number> ] = 0
set t_dx 0
#--@opt t_dy: [ <length-percentage> | <number> ] = 3.5
set t_dy 3.5
#--@opt t_x | x: [ <length> | <percentage> ] = 50
set x 50
#--@opt t_y | y: [ <length> | <percentage> ] = 50
set y 50
#--@opt size | s: [ <number> ] = 500
set s 500
#--@opt delay | d: [ <number> ] = 3
set d 0
#--@opt background | xbg : [ <color> ]
set xbg #DD6688
#--@opt background-opacity | xbo : [ <length-percentage> | <number> ] = 0
set xbo 0
#--@action pre: [ <path> ]
pre foo/layout
# pre $HOME/awesome/themes/$USER/icons/layout
#--@action put: [ <character> ] [ <path> ]
put แฎท xico.png
#--@action reset | res: reset all set options
put แฎท xico.png
# vim: ft=config:syntax=spec:commentstring=#%s:nowrap:nornu:nonu:nospell:nocul:nocuc