├── .gitattributes
├── .icons
├── Mojave-CT-Light.zip
└── capataine-cursors.zip
├── .local
└── share.zip
├── .themes
└── Sierra-light.zip
├── LICENSE
├── README.md
├── grub
├── CyberRe
│ ├── background.png
│ ├── boot_menu2_c.png
│ ├── dejavu_14.pf2
│ ├── droidlogo_bold_17.pf2
│ ├── droidlogo_bold_20.pf2
│ ├── droidlogo_bold_26.pf2
│ ├── droidlogo_regular_12.pf2
│ ├── droidlogo_regular_17.pf2
│ ├── highlight_c.png
│ ├── highlight_w.png
│ ├── preview.png
│ ├── progress_highlight_c.png
│ └── theme.txt
└── install.sh
├── lock
├── bin
│ ├── .fonts
│ │ └── Montserrat
│ │ │ ├── Montserrat-Black.ttf
│ │ │ ├── Montserrat-BlackItalic.ttf
│ │ │ ├── Montserrat-Bold.ttf
│ │ │ ├── Montserrat-BoldItalic.ttf
│ │ │ ├── Montserrat-ExtraBold.ttf
│ │ │ ├── Montserrat-ExtraBoldItalic.ttf
│ │ │ ├── Montserrat-ExtraLight.ttf
│ │ │ ├── Montserrat-ExtraLightItalic.ttf
│ │ │ ├── Montserrat-Italic.ttf
│ │ │ ├── Montserrat-Light.ttf
│ │ │ ├── Montserrat-LightItalic.ttf
│ │ │ ├── Montserrat-Medium.ttf
│ │ │ ├── Montserrat-MediumItalic.ttf
│ │ │ ├── Montserrat-Regular.ttf
│ │ │ ├── Montserrat-SemiBold.ttf
│ │ │ ├── Montserrat-SemiBoldItalic.ttf
│ │ │ ├── Montserrat-Thin.ttf
│ │ │ ├── Montserrat-ThinItalic.ttf
│ │ │ └── OFL.txt
│ ├── SetAsWallpaper
│ ├── disco-wallpapers.xml
│ ├── gnome-shell.css-backup
│ │ └── gnome-shell.css
│ └── high_ubunterra.css
├── install.sh
├── readme__READ__IT
└── uninstall.sh
├── plymouth
├── themes
│ ├── darwin
│ │ ├── animation.png
│ │ ├── background.png
│ │ ├── box.png
│ │ ├── bullet.png
│ │ ├── darwin.plymouth
│ │ ├── darwin.script
│ │ ├── entry.png
│ │ ├── lock.png
│ │ ├── logo.png
│ │ ├── motif.png
│ │ ├── progress_bar.png
│ │ ├── progress_box.png
│ │ ├── progress_box_background.png
│ │ ├── progress_box_edge.png
│ │ └── suspend.png
│ ├── default.grub
│ ├── default.plymouth
│ ├── details
│ │ └── details.plymouth
│ ├── text.plymouth
│ ├── text
│ │ └── text.plymouth
│ ├── tribar
│ │ └── tribar.plymouth
│ ├── ubuntu-logo
│ │ ├── password-field.png
│ │ ├── password-field16.png
│ │ ├── progress-dot-off.png
│ │ ├── progress-dot-off16.png
│ │ ├── progress-dot-on.png
│ │ ├── progress-dot-on16.png
│ │ ├── ubuntu-logo.grub
│ │ ├── ubuntu-logo.plymouth
│ │ ├── ubuntu-logo.png
│ │ ├── ubuntu-logo.script
│ │ └── ubuntu-logo16.png
│ └── ubuntu-text
│ │ ├── ubuntu-text.plymouth
│ │ └── ubuntu-text.plymouth.in
└── ubuntu-logo.png
└── run.sh
/.gitattributes:
--------------------------------------------------------------------------------
1 | static/* linguist-vendored
2 | *.css linguist-language=bash
3 |
--------------------------------------------------------------------------------
/.icons/Mojave-CT-Light.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/.icons/Mojave-CT-Light.zip
--------------------------------------------------------------------------------
/.icons/capataine-cursors.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/.icons/capataine-cursors.zip
--------------------------------------------------------------------------------
/.local/share.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/.local/share.zip
--------------------------------------------------------------------------------
/.themes/Sierra-light.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/.themes/Sierra-light.zip
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](http://perso.crans.org/besson/LICENSE.html)
2 |
3 | # MacBuntu
4 | Turn your Ubuntu Looks like MacOSx i've Tested in Ubuntu 18.04.
5 |
6 |
7 |
8 |
9 |
10 |
11 | ## Installation Guide
12 | ### Installation
13 | * Open up Terminal Enter
14 |
15 | git clone https://github.com/rizwansoaib/macbuntu.git
16 | cd macbuntu
17 | chmod +x run.sh
18 | ./run.sh
19 | ### Setup
20 |
21 | * After Successfull Installation press ALT+F2 press r then Enter
22 |
--------------------------------------------------------------------------------
/grub/CyberRe/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/background.png
--------------------------------------------------------------------------------
/grub/CyberRe/boot_menu2_c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/boot_menu2_c.png
--------------------------------------------------------------------------------
/grub/CyberRe/dejavu_14.pf2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/dejavu_14.pf2
--------------------------------------------------------------------------------
/grub/CyberRe/droidlogo_bold_17.pf2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/droidlogo_bold_17.pf2
--------------------------------------------------------------------------------
/grub/CyberRe/droidlogo_bold_20.pf2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/droidlogo_bold_20.pf2
--------------------------------------------------------------------------------
/grub/CyberRe/droidlogo_bold_26.pf2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/droidlogo_bold_26.pf2
--------------------------------------------------------------------------------
/grub/CyberRe/droidlogo_regular_12.pf2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/droidlogo_regular_12.pf2
--------------------------------------------------------------------------------
/grub/CyberRe/droidlogo_regular_17.pf2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/droidlogo_regular_17.pf2
--------------------------------------------------------------------------------
/grub/CyberRe/highlight_c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/highlight_c.png
--------------------------------------------------------------------------------
/grub/CyberRe/highlight_w.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/highlight_w.png
--------------------------------------------------------------------------------
/grub/CyberRe/preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/preview.png
--------------------------------------------------------------------------------
/grub/CyberRe/progress_highlight_c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/grub/CyberRe/progress_highlight_c.png
--------------------------------------------------------------------------------
/grub/CyberRe/theme.txt:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2020 L. Henrique Lopes - HENK
2 |
3 | # general settings
4 | title-text: ""
5 | title-color: "#3ec6ae"
6 | message-font: "DejaVu Sans Regular 14"
7 | message-color: "#fd262e"
8 | message-bg-color: "#808080"
9 | desktop-image: "background.png"
10 | desktop-color: "#808080"
11 | terminal-font: "DejaVu Sans Regular 14"
12 |
13 |
14 | # boot menu
15 | + boot_menu {
16 | left = 28%
17 | width = 50%
18 | top = 22%
19 | height = 45%
20 | item_font = "DroidLogo Regular 17"
21 | item_color = "#fb3048"
22 | selected_item_font = "DroidLogo Regular 17"
23 | selected_item_color = "#74d6cf"
24 | icon_width = 16
25 | icon_height = 16
26 | item_height = 33
27 | item_padding = 20
28 | item_icon_space = 5
29 | item_spacing = 5
30 | menu_pixmap_style = "boot_menu2_*.png"
31 | selected_item_pixmap_style = "highlight_*.png"
32 | }
33 |
34 | # Show progress
35 | + progress_bar {
36 | id = "__timeout__"
37 | left = 0%
38 | width = 100%
39 | top = 99%
40 | height = 31
41 | show_text = false
42 | text = ""
43 | fg_color = "#3daee9"
44 | bg_color = "#31363b"
45 | border_color = "#31363b"
46 | highlight_style = "progress_highlight_*.png"
47 | }
48 |
49 |
50 |
--------------------------------------------------------------------------------
/grub/install.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Grub2 Theme
4 |
5 | ROOT_UID=0
6 | THEME_DIR="/boot/grub/themes"
7 | THEME_NAME=CyberRe
8 | MAX_DELAY=20 # max delay for user to enter root pass
9 |
10 | #COLORS
11 | CDEF=" \033[0m" # default color
12 | CCIN=" \033[0;36m" # info color
13 | CGSC=" \033[0;32m" # success color
14 | CRER=" \033[0;31m" # error color
15 | CWAR=" \033[0;33m" # waring color
16 | b_CDEF=" \033[1;37m" # bold default color
17 | b_CCIN=" \033[1;36m" # bold info color
18 | b_CGSC=" \033[1;32m" # bold success color
19 | b_CRER=" \033[1;31m" # bold error color
20 | b_CWAR=" \033[1;33m" # bold warning color
21 |
22 | # echo like ... with flag type and display message colors
23 | prompt () {
24 | case ${1} in
25 | "-s"|"--success")
26 | echo -e "${b_CGSC}${@/-s/}${CDEF}";; # print success message
27 | "-e"|"--error")
28 | echo -e "${b_CRER}${@/-e/}${CDEF}";; # print error message
29 | "-w"|"--warning")
30 | echo -e "${b_CWAR}${@/-w/}${CDEF}";; # print warning message
31 | "-i"|"--info")
32 | echo -e "${b_CCIN}${@/-i/}${CDEF}";; # print info message
33 | *)
34 | echo -e "$@"
35 | ;;
36 | esac
37 | }
38 |
39 | # Welcome message
40 | prompt -s "\n\t************************\n\t* ${THEME_NAME} - Grub2 Theme *\n\t************************"
41 |
42 | # Check command avalibility
43 | function has_command() {
44 | command -v $1 > /dev/null
45 | }
46 |
47 | # Checking for root access and proceed if it is present
48 | if [ "$UID" -eq "$ROOT_UID" ]; then
49 |
50 | # Create themes directory if not exists
51 | prompt -i "\nChecking directory...\n"
52 | [[ -d ${THEME_DIR}/${THEME_NAME} ]] && rm -rf ${THEME_DIR}/${THEME_NAME}
53 | mkdir -p "${THEME_DIR}/${THEME_NAME}"
54 |
55 | # Copy theme
56 | prompt -i "\nInstalling theme...\n"
57 |
58 | cp -a ${THEME_NAME}/* ${THEME_DIR}/${THEME_NAME}
59 |
60 | # Set theme
61 | prompt -i "\nSetting the theme as main...\n"
62 |
63 | # Backup grub config
64 | cp -an /etc/default/grub /etc/default/grub.bak
65 |
66 | grep "GRUB_THEME=" /etc/default/grub 2>&1 >/dev/null && sed -i '/GRUB_THEME=/d' /etc/default/grub
67 |
68 | echo "GRUB_THEME=\"${THEME_DIR}/${THEME_NAME}/theme.txt\"" >> /etc/default/grub
69 |
70 | # Update grub config
71 | echo -e "Updating grub..."
72 | if has_command update-grub; then
73 | update-grub
74 | elif has_command grub-mkconfig; then
75 | grub-mkconfig -o /boot/grub/grub.cfg
76 | elif has_command grub2-mkconfig; then
77 | if has_command zypper; then
78 | grub2-mkconfig -o /boot/grub2/grub.cfg
79 | elif has_command dnf; then
80 | grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
81 | fi
82 | fi
83 |
84 | # Success message
85 | prompt -s "\n\t ***************\n\t * installed! *\n\t ***************\n"
86 |
87 | else
88 |
89 | # Error message
90 | prompt -e "\n [ Error! ] -> Run me as root "
91 |
92 | # persisted execution of the script as root
93 | read -p "[ trusted ] specify the root password : " -t${MAX_DELAY} -s
94 | [[ -n "$REPLY" ]] && {
95 | sudo -S <<< $REPLY $0
96 | } || {
97 | prompt "\n Operation canceled"
98 | exit 1
99 | }
100 | fi
101 |
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Black.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-BlackItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-BlackItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Bold.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-BoldItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-ExtraBold.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-ExtraLight.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-ExtraLightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-ExtraLightItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Italic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Light.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-LightItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Medium.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-MediumItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-MediumItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Regular.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-SemiBold.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-SemiBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-SemiBoldItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-Thin.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/Montserrat-ThinItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/lock/bin/.fonts/Montserrat/Montserrat-ThinItalic.ttf
--------------------------------------------------------------------------------
/lock/bin/.fonts/Montserrat/OFL.txt:
--------------------------------------------------------------------------------
1 | Copyright 2011 The Montserrat Project Authors (https://github.com/JulietaUla/Montserrat)
2 |
3 | This Font Software is licensed under the SIL Open Font License, Version 1.1.
4 | This license is copied below, and is also available with a FAQ at:
5 | http://scripts.sil.org/OFL
6 |
7 |
8 | -----------------------------------------------------------
9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10 | -----------------------------------------------------------
11 |
12 | PREAMBLE
13 | The goals of the Open Font License (OFL) are to stimulate worldwide
14 | development of collaborative font projects, to support the font creation
15 | efforts of academic and linguistic communities, and to provide a free and
16 | open framework in which fonts may be shared and improved in partnership
17 | with others.
18 |
19 | The OFL allows the licensed fonts to be used, studied, modified and
20 | redistributed freely as long as they are not sold by themselves. The
21 | fonts, including any derivative works, can be bundled, embedded,
22 | redistributed and/or sold with any software provided that any reserved
23 | names are not used by derivative works. The fonts and derivatives,
24 | however, cannot be released under any other type of license. The
25 | requirement for fonts to remain under this license does not apply
26 | to any document created using the fonts or their derivatives.
27 |
28 | DEFINITIONS
29 | "Font Software" refers to the set of files released by the Copyright
30 | Holder(s) under this license and clearly marked as such. This may
31 | include source files, build scripts and documentation.
32 |
33 | "Reserved Font Name" refers to any names specified as such after the
34 | copyright statement(s).
35 |
36 | "Original Version" refers to the collection of Font Software components as
37 | distributed by the Copyright Holder(s).
38 |
39 | "Modified Version" refers to any derivative made by adding to, deleting,
40 | or substituting -- in part or in whole -- any of the components of the
41 | Original Version, by changing formats or by porting the Font Software to a
42 | new environment.
43 |
44 | "Author" refers to any designer, engineer, programmer, technical
45 | writer or other person who contributed to the Font Software.
46 |
47 | PERMISSION & CONDITIONS
48 | Permission is hereby granted, free of charge, to any person obtaining
49 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
50 | redistribute, and sell modified and unmodified copies of the Font
51 | Software, subject to the following conditions:
52 |
53 | 1) Neither the Font Software nor any of its individual components,
54 | in Original or Modified Versions, may be sold by itself.
55 |
56 | 2) Original or Modified Versions of the Font Software may be bundled,
57 | redistributed and/or sold with any software, provided that each copy
58 | contains the above copyright notice and this license. These can be
59 | included either as stand-alone text files, human-readable headers or
60 | in the appropriate machine-readable metadata fields within text or
61 | binary files as long as those fields can be easily viewed by the user.
62 |
63 | 3) No Modified Version of the Font Software may use the Reserved Font
64 | Name(s) unless explicit written permission is granted by the corresponding
65 | Copyright Holder. This restriction only applies to the primary font name as
66 | presented to the users.
67 |
68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69 | Software shall not be used to promote, endorse or advertise any
70 | Modified Version, except to acknowledge the contribution(s) of the
71 | Copyright Holder(s) and the Author(s) or with their explicit written
72 | permission.
73 |
74 | 5) The Font Software, modified or unmodified, in part or in whole,
75 | must be distributed entirely under this license, and must not be
76 | distributed under any other license. The requirement for fonts to
77 | remain under this license does not apply to any document created
78 | using the Font Software.
79 |
80 | TERMINATION
81 | This license becomes null and void if any of the above conditions are
82 | not met.
83 |
84 | DISCLAIMER
85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93 | OTHER DEALINGS IN THE FONT SOFTWARE.
94 |
--------------------------------------------------------------------------------
/lock/bin/SetAsWallpaper:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Set As Wallpaper
3 | rm -rf $HOME/.cache/SetAsWallpaper/*
4 | # Copy selected file to temp folder "$HOME/.cache/SetAsWallpaper"
5 | while [ $# -gt 0 ]; do
6 | ORIGINALITEM="$1"
7 | DUPLICATEITEM="${ORIGINALITEM} (copy)"
8 | cp -r "$ORIGINALITEM" "$DUPLICATEITEM" $HOME/.cache/SetAsWallpaper/
9 | shift
10 | done
11 | mv -f $HOME/.cache/SetAsWallpaper/* $HOME/.cache/SetAsWallpaper/huwallpaper.jpg
12 | # Make your wallpaper blurry
13 | gsettings set org.gnome.desktop.background picture-uri "file:///$HOME/.cache/SetAsWallpaper/huwallpaper.jpg"
14 | pkexec convert -resize 1440 -quality 100 -brightness-contrast -10x-15 -blur 0x30 $HOME/.cache/SetAsWallpaper/* /usr/share/backgrounds/gdmlock.jpg
15 | sleep 3
16 | gsettings set org.gnome.desktop.screensaver picture-uri "file:///usr/share/backgrounds/gdmlock.jpg"
17 | # Enjoy!
18 | exit 1
19 |
--------------------------------------------------------------------------------
/lock/bin/disco-wallpapers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Ubuntu 19.04 Community Wallpapers
6 | /usr/share/backgrounds/contest/disco.xml
7 | zoom
8 |
9 |
10 | Capucijnengang
11 | /usr/share/backgrounds/Capucijnengang_by_Artem_Kavalerov.jpg
12 | zoom
13 | #000000
14 | #000000
15 | solid
16 |
17 |
18 | Cramond Island
19 | /usr/share/backgrounds/Cramond_Island_by_Keanu_Kerr.jpg
20 | zoom
21 | #000000
22 | #000000
23 | solid
24 |
25 |
26 | Flower Gate Bridge
27 | /usr/share/backgrounds/Flower_Gate_Bridge_by_Michele_Agostini.jpg
28 | zoom
29 | #000000
30 | #000000
31 | solid
32 |
33 |
34 | On the harbour
35 | /usr/share/backgrounds/On_the_harbour_by_Víctor_Fernández_Rico.jpg
36 | zoom
37 | #000000
38 | #000000
39 | solid
40 |
41 |
42 | Staniel Cay
43 | /usr/share/backgrounds/Staniel_Cay_by_Joseph_Bylund.jpg
44 | zoom
45 | #000000
46 | #000000
47 | solid
48 |
49 |
50 | Sunset of Peloponnesus
51 | /usr/share/backgrounds/Sunset_of_Peloponnesus_by_Simos_Xenitellis.jpg
52 | zoom
53 | #000000
54 | #000000
55 | solid
56 |
57 |
58 | Tennis ball
59 | /usr/share/backgrounds/Tennis_ball_by_Artem_Kavalerov.jpg
60 | zoom
61 | #000000
62 | #000000
63 | solid
64 |
65 |
66 | Water of Leith
67 | /usr/share/backgrounds/Water_of_Leith_by_Keanu_Kerr.jpg
68 | zoom
69 | #000000
70 | #000000
71 | solid
72 |
73 |
74 | 80s Disco Dingo Simulation
75 | /usr/share/backgrounds/80s_Disco_Dingo_Simulation_by_Abubakar_NK.jpg
76 | zoom
77 | #000000
78 | #000000
79 | solid
80 |
81 |
82 | Disco Dingo Alt Default
83 | /usr/share/backgrounds/Disco_Dingo_Alt_Default_by_Abubakar_NK.png
84 | zoom
85 | #000000
86 | #000000
87 | solid
88 |
89 |
90 | gdmlock
91 | /usr/share/backgrounds/gdmlock.jpg
92 | zoom
93 | #000000
94 | #000000
95 | solid
96 |
97 |
98 |
--------------------------------------------------------------------------------
/lock/bin/gnome-shell.css-backup/gnome-shell.css:
--------------------------------------------------------------------------------
1 | /* This stylesheet is generated, DO NOT EDIT */
2 | /* Copyright 2009, 2015 Red Hat, Inc.
3 | *
4 | * Portions adapted from Mx's data/style/default.css
5 | * Copyright 2009 Intel Corporation
6 | *
7 | * This program is free software; you can redistribute it and/or modify it
8 | * under the terms and conditions of the GNU Lesser General Public License,
9 | * version 2.1, as published by the Free Software Foundation.
10 | *
11 | * This program is distributed in the hope it will be useful, but WITHOUT ANY
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
14 | * more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public License
17 | * along with this program; if not, write to the Free Software Foundation,
18 | * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
19 | */
20 | /* GLOBALS */
21 | stage {
22 | font-family: Ubuntu, Cantarell, Sans-Serif;
23 | font-size: 11pt;
24 | color: #F7F7F7; }
25 |
26 | /* WIDGETS */
27 | /* Buttons */
28 | .button {
29 | border-radius: 4px;
30 | border-width: 1px;
31 | border-bottom-style: none;
32 | min-height: 22px;
33 | padding: 4px 32px;
34 | transition-duration: 200ms;
35 | background-color: #1d1d1d;
36 | border-color: black;
37 | color: #F7F7F7;
38 | icon-shadow: none;
39 | text-shadow: none; }
40 | .button:focus {
41 | transition-duration: 200ms;
42 | box-shadow: inset 0px 0px 0px 1px #E95420; }
43 | .button:hover {
44 | transition-duration: 200ms;
45 | background-color: #373737; }
46 | .button:insensitive {
47 | transition-duration: 200ms;
48 | color: #8e8e8e;
49 | border-color: black;
50 | background-color: rgba(52, 52, 52, 0.7);
51 | box-shadow: none;
52 | text-shadow: none;
53 | icon-shadow: none; }
54 | .button:active {
55 | transition-duration: 200ms;
56 | box-shadow: none; }
57 |
58 | .modal-dialog-linked-button, .notification-banner .notification-button, .hotplug-notification-item {
59 | border-right-width: 1px;
60 | transition-duration: 200ms;
61 | background-color: #FAFAFA;
62 | border-color: #ededed;
63 | color: #3D3D3D;
64 | icon-shadow: none;
65 | text-shadow: none;
66 | padding: 12px;
67 | border-top: 1px solid #cccccc; }
68 | .modal-dialog-linked-button:active, .notification-banner .notification-button:active, .hotplug-notification-item:active {
69 | transition-duration: 200ms; }
70 | .modal-dialog-linked-button:focus, .notification-banner .notification-button:focus, .hotplug-notification-item:focus {
71 | transition-duration: 200ms;
72 | box-shadow: inset 0px 0px 0px 1px #E95420; }
73 | .modal-dialog-linked-button:hover, .notification-banner .notification-button:hover, .hotplug-notification-item:hover {
74 | transition-duration: 200ms;
75 | background-color: white; }
76 | .modal-dialog-linked-button:focus:hover, .notification-banner .notification-button:focus:hover, .hotplug-notification-item:focus:hover {
77 | transition-duration: 200ms;
78 | background-color: white; }
79 | .modal-dialog-linked-button:insensitive, .notification-banner .notification-button:insensitive, .hotplug-notification-item:insensitive {
80 | transition-duration: 200ms;
81 | color: #8e8e8e;
82 | border-color: #ededed;
83 | background-color: rgba(228, 228, 228, 0.7);
84 | box-shadow: none;
85 | text-shadow: none;
86 | icon-shadow: none; }
87 | .modal-dialog-linked-button:hover, .modal-dialog-linked-button:focus:hover, .notification-banner .notification-button:hover, .hotplug-notification-item:hover, .notification-banner .notification-button:focus:hover, .hotplug-notification-item:focus:hover {
88 | background-color: rgba(61, 61, 61, 0.15); }
89 | .modal-dialog-linked-button:active, .modal-dialog-linked-button:focus:active, .notification-banner .notification-button:active, .hotplug-notification-item:active, .notification-banner .notification-button:focus:active, .hotplug-notification-item:focus:active {
90 | background-color: rgba(61, 61, 61, 0.2); }
91 | .modal-dialog-linked-button:first-child, .notification-banner .notification-button:first-child, .hotplug-notification-item:first-child {
92 | border-radius: 0px 0px 0px 6px; }
93 | .modal-dialog-linked-button:last-child, .notification-banner .notification-button:last-child, .hotplug-notification-item:last-child {
94 | border-right-width: 0px;
95 | border-radius: 0px 0px 6px 0px; }
96 | .modal-dialog-linked-button:first-child:last-child, .notification-banner .notification-button:first-child:last-child, .hotplug-notification-item:first-child:last-child {
97 | border-right-width: 0px;
98 | border-radius: 0px 0px 6px 6px; }
99 |
100 | /* Entries */
101 | StEntry {
102 | border-radius: 4px;
103 | border-width: 1px;
104 | min-height: 22px;
105 | padding: 4px;
106 | color: #F7F7F7;
107 | background-color: #181818;
108 | border-color: #060606;
109 | box-shadow: none;
110 | selection-background-color: #E95420;
111 | selected-color: #ffffff; }
112 | StEntry:focus {
113 | color: #F7F7F7;
114 | border-color: #E95420;
115 | box-shadow: none; }
116 | StEntry:insensitive {
117 | color: #8e8e8e;
118 | background-color: rgba(48, 48, 48, 0.7);
119 | border-color: #202020;
120 | box-shadow: none; }
121 | StEntry StIcon.capslock-warning {
122 | icon-size: 16px;
123 | warning-color: #F89B0F;
124 | padding: 0 4px; }
125 |
126 | /* Scrollbars */
127 | StScrollView.vfade {
128 | -st-vfade-offset: 68px; }
129 |
130 | StScrollView.hfade {
131 | -st-hfade-offset: 68px; }
132 |
133 | StScrollBar {
134 | padding: 0; }
135 | StScrollView StScrollBar {
136 | min-width: 14px;
137 | min-height: 14px; }
138 | StScrollBar StBin#trough {
139 | border-radius: 0;
140 | background-color: transparent; }
141 | StScrollBar StButton#vhandle, StScrollBar StButton#hhandle {
142 | border-radius: 8px;
143 | background-color: #a3a3a3;
144 | margin: 3px; }
145 | StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover {
146 | background-color: #cdcdcd; }
147 | StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
148 | background-color: #E95420; }
149 |
150 | /* Slider */
151 | .slider {
152 | height: 1em;
153 | -barlevel-height: 0.2em;
154 | -barlevel-background-color: #7a7a7a;
155 | -barlevel-border-color: #060606;
156 | -barlevel-active-background-color: #19B6EE;
157 | -barlevel-active-border-color: #19B6EE;
158 | -barlevel-overdrive-color: #d81329;
159 | -barlevel-overdrive-border-color: #a90f20;
160 | -barlevel-overdrive-separator-width: 0.2em;
161 | -barlevel-border-width: 0px;
162 | -slider-handle-radius: 8px;
163 | color: #F7F7F7;
164 | /* START: VERSION SPECIFIC CODE (< 3.29.90) */
165 | -slider-height: 0.2em;
166 | -slider-background-color: #7a7a7a;
167 | -slider-border-color: #060606;
168 | -slider-active-background-color: #19B6EE;
169 | -slider-active-border-color: #19B6EE;
170 | -slider-border-width: 0px;
171 | /* END: VERSION SPECIFIC CODE (< 3.29.90) */ }
172 |
173 | /* Check Boxes */
174 | .check-box StBoxLayout {
175 | spacing: .8em; }
176 |
177 | .check-box StBin {
178 | width: 24px;
179 | height: 22px;
180 | background-image: url("checkbox-off.svg"); }
181 |
182 | .check-box:focus StBin {
183 | background-image: url("checkbox-off-focused.svg"); }
184 |
185 | .check-box:checked StBin {
186 | background-image: url("checkbox.svg"); }
187 |
188 | .check-box:focus:checked StBin {
189 | background-image: url("checkbox-focused.svg"); }
190 |
191 | /* Switches */
192 | .toggle-switch {
193 | width: 65px;
194 | height: 22px;
195 | background-size: contain; }
196 |
197 | .toggle-switch-us {
198 | background-image: url("toggle-off.svg"); }
199 | .toggle-switch-us:checked {
200 | background-image: url("toggle-on.svg"); }
201 |
202 | .toggle-switch-intl {
203 | background-image: url("toggle-off.svg"); }
204 | .toggle-switch-intl:checked {
205 | background-image: url("toggle-on.svg"); }
206 |
207 | /* links */
208 | .shell-link {
209 | color: #19B6EE; }
210 | .shell-link:hover {
211 | color: #48c5f2; }
212 |
213 | /* Modal Dialogs */
214 | .headline {
215 | font-size: 110%; }
216 |
217 | .lightbox {
218 | background-color: black; }
219 |
220 | .flashspot {
221 | background-color: white; }
222 |
223 | .modal-dialog {
224 | border-radius: 6px; }
225 | .modal-dialog .modal-dialog-content-box {
226 | padding: 24px; }
227 | .modal-dialog .run-dialog-entry {
228 | width: 20em;
229 | margin-bottom: 6px; }
230 | .modal-dialog .run-dialog-entry:focus {
231 | border-color: #E95420; }
232 | .modal-dialog .run-dialog-error-box {
233 | padding-top: 16px;
234 | spacing: 6px; }
235 | .modal-dialog .run-dialog-button-box {
236 | padding-top: 1em; }
237 | .modal-dialog .run-dialog-label {
238 | font-size: 12pt;
239 | font-weight: normal;
240 | color: #2d2d2d;
241 | padding-bottom: .4em; }
242 |
243 | .mount-dialog-subject,
244 | .end-session-dialog-subject {
245 | font-size: 14pt; }
246 |
247 | /* Message Dialog */
248 | .message-dialog-main-layout {
249 | padding: 12px 20px 0;
250 | spacing: 12px; }
251 |
252 | .message-dialog-content {
253 | max-width: 28em;
254 | spacing: 20px; }
255 |
256 | .message-dialog-icon {
257 | min-width: 48px;
258 | icon-size: 48px; }
259 |
260 | .message-dialog-title {
261 | font-size: 135%;
262 | font-weight: normal; }
263 |
264 | .message-dialog-subtitle {
265 | color: #2d2d2d;
266 | font-weight: normal; }
267 |
268 | /* End Session Dialog */
269 | .end-session-dialog {
270 | spacing: 42px;
271 | border: 1px solid rgba(255, 255, 255, 0.13); }
272 |
273 | .end-session-dialog-list {
274 | padding-top: 20px; }
275 |
276 | .end-session-dialog-layout {
277 | padding-left: 17px; }
278 | .end-session-dialog-layout:rtl {
279 | padding-right: 17px; }
280 |
281 | .end-session-dialog-description {
282 | width: 28em;
283 | padding-bottom: 10px; }
284 | .end-session-dialog-description:rtl {
285 | text-align: right; }
286 |
287 | .end-session-dialog-warning {
288 | width: 28em;
289 | color: #F89B0F;
290 | padding-top: 6px; }
291 | .end-session-dialog-warning:rtl {
292 | text-align: right; }
293 |
294 | .end-session-dialog-logout-icon {
295 | border-radius: 99px;
296 | width: 48px;
297 | height: 48px;
298 | background-size: contain; }
299 |
300 | .end-session-dialog-shutdown-icon {
301 | color: #3D3D3D;
302 | width: 48px;
303 | height: 48px; }
304 |
305 | .end-session-dialog-inhibitor-layout {
306 | spacing: 16px;
307 | max-height: 200px;
308 | padding-right: 65px;
309 | padding-left: 65px; }
310 |
311 | .end-session-dialog-session-list,
312 | .end-session-dialog-app-list {
313 | spacing: 1em; }
314 |
315 | .end-session-dialog-list-header {
316 | font-weight: bold; }
317 | .end-session-dialog-list-header:rtl {
318 | text-align: right; }
319 |
320 | .end-session-dialog-app-list-item,
321 | .end-session-dialog-session-list-item {
322 | spacing: 1em; }
323 |
324 | .end-session-dialog-app-list-item-name,
325 | .end-session-dialog-session-list-item-name {
326 | font-weight: bold; }
327 |
328 | .end-session-dialog-app-list-item-description {
329 | color: #3D3D3D;
330 | font-size: 10pt; }
331 |
332 | /* ShellMountOperation Dialogs */
333 | .shell-mount-operation-icon {
334 | icon-size: 48px; }
335 |
336 | .mount-dialog {
337 | spacing: 24px; }
338 | .mount-dialog .message-dialog-title {
339 | padding-top: 10px;
340 | padding-left: 17px;
341 | padding-bottom: 6px;
342 | max-width: 34em; }
343 | .mount-dialog .message-dialog-title:rtl {
344 | padding-left: 0px;
345 | padding-right: 17px; }
346 | .mount-dialog .message-dialog-body {
347 | padding-left: 17px;
348 | width: 28em; }
349 | .mount-dialog .message-dialog-body:rtl {
350 | padding-left: 0px;
351 | padding-right: 17px; }
352 |
353 | .mount-dialog-app-list {
354 | max-height: 200px;
355 | padding-top: 24px;
356 | padding-left: 49px;
357 | padding-right: 32px; }
358 |
359 | .mount-dialog-app-list:rtl {
360 | padding-right: 49px;
361 | padding-left: 32px; }
362 |
363 | .mount-dialog-app-list-item {
364 | color: #c4c4c4; }
365 | .mount-dialog-app-list-item:hover {
366 | color: #F7F7F7; }
367 | .mount-dialog-app-list-item:ltr {
368 | padding-right: 1em; }
369 | .mount-dialog-app-list-item:rtl {
370 | padding-left: 1em; }
371 |
372 | .mount-dialog-app-list-item-icon:ltr {
373 | padding-right: 17px; }
374 |
375 | .mount-dialog-app-list-item-icon:rtl {
376 | padding-left: 17px; }
377 |
378 | .mount-dialog-app-list-item-name {
379 | font-size: 10pt; }
380 |
381 | /* Password or Authentication Dialog */
382 | .prompt-dialog {
383 | width: 34em; }
384 | .prompt-dialog .message-dialog-main-layout {
385 | spacing: 24px;
386 | padding: 10px; }
387 | .prompt-dialog .message-dialog-content {
388 | spacing: 16px; }
389 | .prompt-dialog .message-dialog-title {
390 | color: #2d2d2d; }
391 |
392 | .prompt-dialog-description:rtl {
393 | text-align: right; }
394 |
395 | .prompt-dialog-password-box {
396 | spacing: 1em;
397 | padding-bottom: 1em; }
398 |
399 | .prompt-dialog-error-label {
400 | font-size: 10pt;
401 | color: #ED3146;
402 | padding-bottom: 8px; }
403 |
404 | .prompt-dialog-info-label {
405 | font-size: 10pt;
406 | padding-bottom: 8px; }
407 |
408 | .hidden {
409 | color: rgba(0, 0, 0, 0); }
410 |
411 | .prompt-dialog-null-label {
412 | font-size: 10pt;
413 | padding-bottom: 8px; }
414 |
415 | /* Polkit Dialog */
416 | .polkit-dialog-user-layout {
417 | padding-left: 10px;
418 | spacing: 10px; }
419 | .polkit-dialog-user-layout:rtl {
420 | padding-left: 0px;
421 | padding-right: 10px; }
422 |
423 | .polkit-dialog-user-root-label {
424 | color: #F89B0F; }
425 |
426 | .polkit-dialog-user-icon {
427 | border-radius: 99px;
428 | background-size: contain;
429 | width: 48px;
430 | height: 48px; }
431 |
432 | /* Audio selection dialog */
433 | .audio-device-selection-dialog {
434 | spacing: 30px; }
435 |
436 | .audio-selection-content {
437 | spacing: 20px;
438 | padding: 24px; }
439 |
440 | .audio-selection-title {
441 | font-weight: bold;
442 | text-align: center; }
443 |
444 | .audio-selection-box {
445 | spacing: 20px; }
446 |
447 | .audio-selection-device {
448 | border-radius: 12px; }
449 | .audio-selection-device:hover, .audio-selection-device:focus:hover {
450 | background-color: rgba(61, 61, 61, 0.15); }
451 | .audio-selection-device:active, .audio-selection-device:focus:active {
452 | background-color: rgba(61, 61, 61, 0.2); }
453 |
454 | .audio-selection-device-box {
455 | padding: 20px;
456 | spacing: 20px; }
457 |
458 | .audio-selection-device-icon {
459 | icon-size: 64px; }
460 |
461 | /* Access Dialog */
462 | .access-dialog {
463 | spacing: 30px; }
464 |
465 | /* Geolocation Dialog */
466 | .geolocation-dialog {
467 | spacing: 30px; }
468 |
469 | /* Extension Dialog */
470 | .extension-dialog .message-dialog-main-layout {
471 | spacing: 24px;
472 | padding: 10px; }
473 |
474 | .extension-dialog .message-dialog-title {
475 | color: #3D3D3D; }
476 |
477 | /* Inhibit-Shortcuts Dialog */
478 | .inhibit-shortcuts-dialog {
479 | spacing: 30px; }
480 |
481 | /* Network Agent Dialog */
482 | .network-dialog-secret-table {
483 | spacing-rows: 15px;
484 | spacing-columns: 1em; }
485 |
486 | .keyring-dialog-control-table {
487 | spacing-rows: 15px;
488 | spacing-columns: 1em; }
489 |
490 | /* Popovers/Menus */
491 | .popup-menu {
492 | min-width: 15em; }
493 | .popup-menu .popup-sub-menu {
494 | background-color: rgba(115, 115, 115, 0.225);
495 | box-shadow: inset 0 -1px 0px rgba(255, 255, 255, 0.13); }
496 | .popup-menu .popup-menu-content {
497 | padding: 1em 0em; }
498 | .popup-menu .popup-menu-item {
499 | spacing: 12px;
500 | border-top: 1px solid transparent; }
501 | .popup-menu .popup-menu-item:ltr {
502 | padding: .4em 1.75em .4em 0em; }
503 | .popup-menu .popup-menu-item:rtl {
504 | padding: .4em 0em .4em 1.75em; }
505 | .popup-menu .popup-menu-item:checked {
506 | box-shadow: inset 0 -1px 0px rgba(247, 247, 247, 0.145);
507 | background-color: transparent;
508 | border-top-color: transparent;
509 | font-weight: bold; }
510 | .popup-menu .popup-menu-item.selected {
511 | background-color: rgba(255, 255, 255, 0.2);
512 | color: #F7F7F7;
513 | border-top-color: rgba(61, 61, 61, 0.15); }
514 | .popup-menu .popup-menu-item:active {
515 | background-color: rgba(255, 255, 255, 0.25);
516 | color: rgba(255, 255, 255, 0.5);
517 | box-shadow: none; }
518 | .popup-menu .popup-menu-item:insensitive {
519 | color: rgba(247, 247, 247, 0.5); }
520 | .popup-menu .popup-inactive-menu-item {
521 | color: #F7F7F7; }
522 | .popup-menu .popup-inactive-menu-item:insensitive {
523 | color: rgba(247, 247, 247, 0.5); }
524 | .popup-menu.panel-menu {
525 | -boxpointer-gap: 4px;
526 | margin-bottom: 1.75em; }
527 |
528 | .popup-menu-ornament {
529 | text-align: right;
530 | width: 1.2em; }
531 |
532 | .popup-menu-boxpointer,
533 | .candidate-popup-boxpointer {
534 | -arrow-border-radius: 6px;
535 | -arrow-background-color: rgba(29, 29, 29, 0.975);
536 | -arrow-border-width: 1px;
537 | -arrow-border-color: rgba(255, 255, 255, 0.13);
538 | -arrow-base: 24px;
539 | -arrow-rise: 11px;
540 | -arrow-box-shadow: 0 1px 3px black; }
541 |
542 | .popup-separator-menu-item {
543 | height: 1px;
544 | margin: 6px 64px;
545 | background-color: transparent;
546 | border-color: rgba(247, 247, 247, 0.09);
547 | border-bottom-width: 1px;
548 | border-bottom-style: solid; }
549 |
550 | .background-menu {
551 | -boxpointer-gap: 4px;
552 | -arrow-rise: 0px; }
553 |
554 | /* fallback menu
555 | - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
556 | app menu inside the main app window itself rather than the top bar
557 | */
558 | /* OSD */
559 | .osd-window {
560 | text-align: center;
561 | font-weight: bold;
562 | spacing: 1em;
563 | margin: 32px;
564 | min-width: 64px;
565 | min-height: 64px;
566 | /* START: VERSION SPECIFIC CODE (< 3.29.90) */
567 | /* END: VERSION SPECIFIC CODE (< 3.29.90) */ }
568 | .osd-window .osd-monitor-label {
569 | font-size: 3em; }
570 | .osd-window .level {
571 | height: 0.3em;
572 | border-radius: 0.3em;
573 | -barlevel-height: 0.3em;
574 | -barlevel-background-color: #7a7a7a;
575 | -barlevel-active-background-color: #19B6EE;
576 | -barlevel-overdrive-color: #d81329;
577 | -barlevel-overdrive-separator-width: 0.2em;
578 | /* START: VERSION SPECIFIC CODE (< 3.29.90) */
579 | /* However, if we enable them, we break the theming for new versions,
580 | so, it's probably better not to show a background at all than breaking
581 | upstream version. */
582 | /* END: VERSION SPECIFIC CODE (< 3.29.90) */ }
583 | .osd-window .level-bar {
584 | background-color: #19B6EE;
585 | border-radius: 0.3em; }
586 |
587 | /* Pad OSD */
588 | .pad-osd-window {
589 | padding: 32px;
590 | background-color: rgba(0, 0, 0, 0.8); }
591 | .pad-osd-window .pad-osd-title-box {
592 | spacing: 12px; }
593 | .pad-osd-window .pad-osd-title-menu-box {
594 | spacing: 6px; }
595 |
596 | .combo-box-label {
597 | width: 15em; }
598 |
599 | /* App Switcher */
600 | .switcher-popup {
601 | padding: 8px;
602 | spacing: 16px; }
603 |
604 | .switcher-list {
605 | border-radius: 12px;
606 | padding: 12px; }
607 |
608 | .switcher-list-item-container {
609 | spacing: 8px; }
610 |
611 | .switcher-list .item-box {
612 | padding: 8px;
613 | border-radius: 4px;
614 | color: #ababab; }
615 |
616 | .switcher-list .item-box:outlined {
617 | padding: 8px; }
618 |
619 | .switcher-list .item-box:selected {
620 | background-color: rgba(255, 255, 255, 0.25);
621 | border-radius: 6px;
622 | color: #F7F7F7; }
623 |
624 | .switcher-list .thumbnail-box {
625 | padding: 2px;
626 | spacing: 4px; }
627 |
628 | .switcher-list .thumbnail {
629 | width: 256px; }
630 |
631 | .switcher-list .separator {
632 | width: 1px;
633 | background: #cccccc; }
634 |
635 | .switcher-arrow {
636 | border-color: rgba(0, 0, 0, 0);
637 | color: rgba(61, 61, 61, 0.8); }
638 | .switcher-arrow:highlighted {
639 | color: #F7F7F7; }
640 |
641 | .input-source-switcher-symbol {
642 | font-size: 34pt;
643 | width: 96px;
644 | height: 96px; }
645 |
646 | /* Window Cycler */
647 | .cycler-highlight {
648 | border: 5px solid #E95420; }
649 |
650 | /* Workspace Switcher */
651 | .workspace-switcher-group {
652 | padding: 12px; }
653 |
654 | .workspace-switcher-container {
655 | padding: 5px;
656 | border-radius: 6px; }
657 |
658 | .workspace-switcher {
659 | background: transparent;
660 | border: 0px;
661 | border-radius: 0px;
662 | padding: 0px;
663 | spacing: 8px; }
664 |
665 | .ws-switcher-active-up, .ws-switcher-active-down {
666 | height: 50px;
667 | background-color: rgba(247, 247, 247, 0.4);
668 | color: #ffffff;
669 | background-size: 32px;
670 | border-radius: 6px; }
671 |
672 | .ws-switcher-active-up {
673 | background-image: url("ws-switch-arrow-up.svg"); }
674 |
675 | .ws-switcher-active-down {
676 | background-image: url("ws-switch-arrow-down.svg"); }
677 |
678 | .ws-switcher-box {
679 | height: 50px;
680 | border: 1px solid rgba(247, 247, 247, 0.1);
681 | background: rgba(247, 247, 247, 0.1);
682 | border-radius: 6px; }
683 |
684 | .osd-window,
685 | .resize-popup, .switcher-list, .workspace-switcher-container {
686 | color: #F7F7F7;
687 | background-color: rgba(29, 29, 29, 0.975);
688 | border: 1px solid rgba(255, 255, 255, 0.13);
689 | border-radius: 12px;
690 | padding: 12px;
691 | box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5); }
692 |
693 | .modal-dialog, .prompt-dialog, .audio-device-selection-dialog, .access-dialog, .geolocation-dialog, .extension-dialog, .inhibit-shortcuts-dialog, .nm-dialog {
694 | color: #3D3D3D;
695 | background-color: rgba(255, 255, 255, 0.975);
696 | border: 1px solid #cccccc;
697 | box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5); }
698 | .modal-dialog .button, .prompt-dialog .button, .audio-device-selection-dialog .button, .access-dialog .button, .geolocation-dialog .button, .extension-dialog .button, .inhibit-shortcuts-dialog .button, .nm-dialog .button {
699 | background-color: white;
700 | color: #3D3D3D;
701 | border-color: #cccccc; }
702 | .modal-dialog .button:hover, .prompt-dialog .button:hover, .audio-device-selection-dialog .button:hover, .access-dialog .button:hover, .geolocation-dialog .button:hover, .extension-dialog .button:hover, .inhibit-shortcuts-dialog .button:hover, .nm-dialog .button:hover {
703 | background-color: rgba(61, 61, 61, 0.15); }
704 | .modal-dialog .button:active, .prompt-dialog .button:active, .audio-device-selection-dialog .button:active, .access-dialog .button:active, .geolocation-dialog .button:active, .extension-dialog .button:active, .inhibit-shortcuts-dialog .button:active, .nm-dialog .button:active {
705 | background-color: rgba(61, 61, 61, 0.2);
706 | box-shadow: none; }
707 |
708 | /* Tiled window previews */
709 | .tile-preview {
710 | background-color: rgba(255, 255, 255, 0.45);
711 | border: 2px solid rgba(255, 255, 255, 0.25); }
712 |
713 | .tile-preview-left.on-primary {
714 | border-radius: 0 0 0 0; }
715 |
716 | .tile-preview-right.on-primary {
717 | border-radius: 0 0 0 0; }
718 |
719 | .tile-preview-left.tile-preview-right.on-primary {
720 | border-radius: 0 0 0 0; }
721 |
722 | /* TOP BAR */
723 | #panel {
724 | background-color: #1d1d1d;
725 | font-weight: 450;
726 | height: 1.86em;
727 | font-feature-settings: "tnum"; }
728 | #panel:overview {
729 | background-color: rgba(29, 29, 29, 0.4);
730 | /* transition from solid to transparent in overview */
731 | transition-duration: 500ms; }
732 | #panel.unlock-screen, #panel.login-screen, #panel.lock-screen {
733 | background-color: transparent; }
734 | #panel #panelLeft, #panel #panelCenter {
735 | spacing: 4px; }
736 | #panel .panel-corner {
737 | -panel-corner-radius: 0;
738 | -panel-corner-background-color: rgba(0, 0, 0, 0.35);
739 | -panel-corner-border-width: 2px;
740 | -panel-corner-border-color: transparent; }
741 | #panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
742 | -panel-corner-border-color: #eb6637; }
743 | #panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-corner.unlock-screen {
744 | -panel-corner-radius: 0;
745 | -panel-corner-background-color: transparent;
746 | -panel-corner-border-color: transparent; }
747 | #panel .panel-button {
748 | -natural-hpadding: 12px;
749 | -minimum-hpadding: 6px;
750 | font-weight: 450;
751 | color: #eaeaea;
752 | transition-duration: 100ms; }
753 | #panel .panel-button .app-menu-icon {
754 | -st-icon-style: symbolic;
755 | margin-left: 4px;
756 | margin-right: 4px; }
757 | #panel .panel-button:hover {
758 | color: white; }
759 | #panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel .panel-button:checked {
760 | background-color: rgba(0, 0, 0, 0.01);
761 | box-shadow: inset 0px -2px #E95420;
762 | color: white; }
763 | #panel .panel-button .system-status-icon {
764 | icon-size: 1.09em;
765 | padding: 0 5px; }
766 | .unlock-screen #panel .panel-button,
767 | .login-screen #panel .panel-button,
768 | .lock-screen #panel .panel-button {
769 | color: white; }
770 | .unlock-screen #panel .panel-button:focus, .unlock-screen #panel .panel-button:hover, .unlock-screen #panel .panel-button:active,
771 | .login-screen #panel .panel-button:focus,
772 | .login-screen #panel .panel-button:hover,
773 | .login-screen #panel .panel-button:active,
774 | .lock-screen #panel .panel-button:focus,
775 | .lock-screen #panel .panel-button:hover,
776 | .lock-screen #panel .panel-button:active {
777 | color: white; }
778 | #panel .panel-status-indicators-box,
779 | #panel .panel-status-menu-box {
780 | spacing: 2px; }
781 | #panel .power-status.panel-status-indicators-box {
782 | spacing: 0; }
783 | #panel .screencast-indicator {
784 | color: #F89B0F; }
785 | #panel .remote-access-indicator {
786 | color: #F89B0F; }
787 |
788 | #calendarArea {
789 | padding: 0.75em 1.0em; }
790 |
791 | .calendar {
792 | margin-bottom: 1em; }
793 |
794 | .calendar,
795 | .datemenu-today-button,
796 | .datemenu-displays-box,
797 | .message-list-sections {
798 | margin: 0 1.5em; }
799 |
800 | .datemenu-calendar-column {
801 | spacing: 0.5em; }
802 |
803 | .datemenu-displays-section {
804 | padding-bottom: 3em; }
805 |
806 | .datemenu-displays-box {
807 | spacing: 1em; }
808 |
809 | .datemenu-calendar-column {
810 | border: 0 solid rgba(247, 247, 247, 0.09); }
811 | .datemenu-calendar-column:ltr {
812 | border-left-width: 1px; }
813 | .datemenu-calendar-column:rtl {
814 | border-right-width: 1px; }
815 |
816 | .datemenu-today-button,
817 | .world-clocks-button,
818 | .weather-button,
819 | .events-section-title {
820 | border-radius: 4px;
821 | padding: .4em; }
822 |
823 | .message-list-section-list:ltr {
824 | padding-left: .4em; }
825 |
826 | .message-list-section-list:rtl {
827 | padding-right: .4em; }
828 |
829 | .datemenu-today-button:hover, .datemenu-today-button:focus,
830 | .world-clocks-button:hover,
831 | .world-clocks-button:focus,
832 | .weather-button:hover,
833 | .weather-button:focus,
834 | .events-section-title:hover,
835 | .events-section-title:focus {
836 | background-color: #323232; }
837 |
838 | .datemenu-today-button:active,
839 | .world-clocks-button:active,
840 | .weather-button:active,
841 | .events-section-title:active {
842 | color: rgba(255, 255, 255, 0.5);
843 | background-color: rgba(255, 255, 255, 0.25); }
844 |
845 | .world-clocks-button {
846 | font-size: 10pt; }
847 |
848 | .weather-button {
849 | color: #c4c4c4; }
850 |
851 | .datemenu-today-button .date-label {
852 | font-size: 1.5em;
853 | font-weight: 300; }
854 |
855 | .world-clocks-header,
856 | .weather-header,
857 | .events-section-title {
858 | color: #F7F7F7;
859 | font-weight: 450;
860 | font-size: 110%; }
861 |
862 | .weather-header.location {
863 | font-weight: normal;
864 | font-size: 0.9em; }
865 |
866 | .world-clocks-grid,
867 | .weather-grid {
868 | spacing-rows: 0.4em; }
869 |
870 | .weather-box {
871 | spacing: 0.4em; }
872 |
873 | .world-clocks-city {
874 | font-weight: bold;
875 | font-size: 0.9em; }
876 |
877 | .world-clocks-time {
878 | color: #c4c4c4;
879 | font-feature-settings: "tnum";
880 | font-size: 1.2em; }
881 |
882 | .world-clocks-timezone {
883 | color: #919191;
884 | font-feature-settings: "tnum";
885 | font-size: 0.9em; }
886 |
887 | .weather-forecast-icon {
888 | icon-size: 2.18em; }
889 |
890 | .weather-forecast-time {
891 | color: #919191;
892 | font-size: 0.8em; }
893 |
894 | .calendar-month-label {
895 | color: #dedede;
896 | font-weight: 450;
897 | font-size: 110%;
898 | padding: 8px 0; }
899 |
900 | .pager-button {
901 | transition-duration: 100ms;
902 | color: #F7F7F7;
903 | background-color: transparent;
904 | width: 32px;
905 | border-radius: 4px; }
906 | .pager-button:hover, .pager-button:focus {
907 | background-color: rgba(255, 255, 255, 0.2); }
908 | .pager-button:active {
909 | background-color: rgba(255, 255, 255, 0.25); }
910 |
911 | .calendar-change-month-back StIcon, .calendar-change-month-forward StIcon {
912 | icon-size: 1.09em; }
913 |
914 | .calendar-day-base {
915 | font-size: 80%;
916 | font-weight: 500;
917 | text-align: center;
918 | width: 2.4em;
919 | height: 2.4em;
920 | padding: 0.1em;
921 | margin: 2px;
922 | border-radius: 4px;
923 | font-feature-settings: "tnum"; }
924 | .calendar-day-base:hover, .calendar-day-base:focus {
925 | background-color: #323232; }
926 | .calendar-day-base:selected {
927 | color: white;
928 | background-color: transparent;
929 | border-radius: 4px;
930 | border: 2px solid #E95420;
931 | margin: 0; }
932 | .calendar-day-base:selected:hover {
933 | background-color: rgba(255, 255, 255, 0.2); }
934 | .calendar-day-base.calendar-day-heading {
935 | color: #919191;
936 | margin-top: 1em;
937 | font-size: 70%; }
938 |
939 | .calendar-day {
940 | border-width: 2px; }
941 |
942 | .calendar-day-top {
943 | border-top-width: 1px; }
944 |
945 | .calendar-day-left {
946 | border-left-width: 1px; }
947 |
948 | .calendar-nonwork-day {
949 | color: #8e8e8e; }
950 |
951 | .calendar-today {
952 | font-weight: bold;
953 | background-color: #464646; }
954 |
955 | .calendar-day-with-events {
956 | color: white;
957 | font-weight: bold;
958 | background-image: url("resource:///org/gnome/shell/theme/calendar-today.svg"); }
959 |
960 | .calendar-other-month-day {
961 | color: rgba(247, 247, 247, 0.15);
962 | opacity: 0.5; }
963 |
964 | .calendar-week-number {
965 | font-size: 70%;
966 | font-weight: 700;
967 | width: 2.3em;
968 | height: 1.8em;
969 | border-radius: 2px;
970 | padding: 0.5em 0 0;
971 | margin: 6px;
972 | background-color: rgba(247, 247, 247, 0.4);
973 | color: #252525; }
974 |
975 | /* Message list */
976 | .message-list {
977 | width: 31.5em; }
978 |
979 | .message-list-clear-button.button {
980 | transition-duration: 200ms;
981 | border-color: transparent;
982 | background-color: transparent;
983 | background-image: none;
984 | box-shadow: none;
985 | text-shadow: none;
986 | icon-shadow: none;
987 | border-color: #3f3f3f;
988 | margin: 1.5em 1.5em 0; }
989 | .message-list-clear-button.button:hover, .message-list-clear-button.button:focus {
990 | transition-duration: 200ms;
991 | background-color: #373737; }
992 | .message-list-clear-button.button:active {
993 | transition-duration: 200ms;
994 | color: #b7b7b7; }
995 | .message-list-clear-button.button:insensitive {
996 | transition-duration: 200ms;
997 | border-color: transparent;
998 | background-color: transparent;
999 | background-image: none;
1000 | box-shadow: none;
1001 | text-shadow: none;
1002 | icon-shadow: none;
1003 | border-color: rgba(145, 145, 145, 0.2); }
1004 |
1005 | .message-list-sections {
1006 | spacing: 1em; }
1007 |
1008 | .message-list-section,
1009 | .message-list-section-list {
1010 | spacing: 0.4em; }
1011 |
1012 | .message {
1013 | background-color: rgba(29, 29, 29, 0.3);
1014 | border: 1px solid rgba(255, 255, 255, 0.13);
1015 | border-radius: 4px; }
1016 | .message:hover, .message:focus {
1017 | background-color: #343434; }
1018 | .message:active {
1019 | background-color: rgba(255, 255, 255, 0.25); }
1020 | .message:active .message-title, .message:active .message-content {
1021 | color: rgba(255, 255, 255, 0.5); }
1022 |
1023 | .message-icon-bin {
1024 | padding: 0.68em 0.2em 0.68em 0.68em; }
1025 | .message-icon-bin:rtl {
1026 | padding: 0.68em 0.68em 0.68em 0.2em; }
1027 |
1028 | .message-icon-bin > StIcon {
1029 | color: #919191;
1030 | icon-size: 1.09em;
1031 | -st-icon-style: symbolic; }
1032 |
1033 | .message-icon-bin > .fallback-window-icon {
1034 | width: 1.09em;
1035 | height: 1.09em; }
1036 |
1037 | .message-secondary-bin {
1038 | padding: 0 0.82em; }
1039 |
1040 | .message-secondary-bin > .event-time {
1041 | color: #919191;
1042 | font-size: 0.7em;
1043 | /* HACK: the label should be baseline-aligned with a 1em label,
1044 | fake this with some bottom padding */
1045 | padding-bottom: 0.13em; }
1046 |
1047 | .message-secondary-bin > StIcon {
1048 | icon-size: 1.09em; }
1049 |
1050 | .message-title {
1051 | color: #dedede; }
1052 |
1053 | .message-content {
1054 | color: #c4c4c4;
1055 | padding: 10px; }
1056 |
1057 | .message-media-control {
1058 | padding: 12px;
1059 | color: #c4c4c4; }
1060 | .message-media-control:last-child:ltr {
1061 | padding-right: 18px; }
1062 | .message-media-control:last-child:rtl {
1063 | padding-left: 18px; }
1064 | .message-media-control:hover {
1065 | color: #F7F7F7; }
1066 | .message-media-control:insensitive {
1067 | color: #919191; }
1068 |
1069 | .media-message-cover-icon {
1070 | icon-size: 48px !important; }
1071 | .media-message-cover-icon.fallback {
1072 | color: #3f3f3f;
1073 | background-color: #252525;
1074 | border: 2px solid #252525;
1075 | border-radius: 2px;
1076 | icon-size: 32px !important;
1077 | padding: 6px; }
1078 |
1079 | .system-switch-user-submenu-icon {
1080 | icon-size: 16px;
1081 | padding: 0 4px; }
1082 |
1083 | #appMenu {
1084 | spinner-image: url("resource:///org/gnome/shell/theme/process-working.svg");
1085 | spacing: 4px; }
1086 | #appMenu .label-shadow {
1087 | color: transparent; }
1088 |
1089 | .app-menu,
1090 | .app-well-menu {
1091 | max-width: 27.25em; }
1092 |
1093 | .aggregate-menu {
1094 | min-width: 21em; }
1095 | .aggregate-menu .popup-menu-icon {
1096 | padding: 0 4px; }
1097 | .aggregate-menu .popup-sub-menu .popup-menu-item > :first-child:ltr {
1098 | /* 12px spacing + 2*4px padding */
1099 | padding-left: 20px;
1100 | margin-left: 1.09em; }
1101 | .aggregate-menu .popup-sub-menu .popup-menu-item > :first-child:rtl {
1102 | /* 12px spacing + 2*4px padding */
1103 | padding-right: 20px;
1104 | margin-right: 1.09em; }
1105 |
1106 | .system-menu-action {
1107 | -st-icon-style: symbolic;
1108 | color: #F7F7F7;
1109 | transition-duration: 200ms;
1110 | border-radius: 4px;
1111 | /* wish we could do 50% */
1112 | padding: 13px;
1113 | border: none; }
1114 | .system-menu-action:hover, .system-menu-action:focus {
1115 | background-color: rgba(255, 255, 255, 0.2);
1116 | color: #F7F7F7;
1117 | border: none;
1118 | padding: 13px; }
1119 | .system-menu-action:active {
1120 | background-color: rgba(255, 255, 255, 0.25);
1121 | border: none;
1122 | color: rgba(255, 255, 255, 0.5); }
1123 | .system-menu-action > StIcon {
1124 | icon-size: 16px; }
1125 |
1126 | .ripple-box {
1127 | width: 52px;
1128 | height: 52px;
1129 | border-radius: 0 0 52px 0;
1130 | background-color: rgba(251, 226, 218, 0.3);
1131 | box-shadow: 0 0 2px 2px #f29b7d; }
1132 |
1133 | .ripple-box:rtl {
1134 | border-radius: 0 0 0 52px; }
1135 |
1136 | .popup-menu-arrow {
1137 | icon-size: 1.09em; }
1138 |
1139 | .popup-menu-icon {
1140 | icon-size: 1.09em; }
1141 |
1142 | .window-close {
1143 | background-color: #E95420;
1144 | color: white;
1145 | border-radius: 24px;
1146 | border: 2px solid #E95420;
1147 | height: 24px;
1148 | width: 24px;
1149 | -shell-close-overlap: 11px;
1150 | box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.5); }
1151 | .window-close:hover {
1152 | background-color: #eb6637;
1153 | border-color: #eb6637; }
1154 | .window-close:active {
1155 | background-color: #da4816;
1156 | border-color: #da4816; }
1157 |
1158 | /* NETWORK DIALOGS */
1159 | .nm-dialog {
1160 | max-height: 34em;
1161 | min-height: 31em;
1162 | min-width: 32em; }
1163 |
1164 | .nm-dialog-content {
1165 | spacing: 20px;
1166 | padding: 24px; }
1167 |
1168 | .nm-dialog-header-hbox {
1169 | spacing: 10px; }
1170 |
1171 | .nm-dialog-airplane-box {
1172 | spacing: 12px; }
1173 |
1174 | .nm-dialog-airplane-headline {
1175 | font-weight: bold;
1176 | text-align: center; }
1177 |
1178 | .nm-dialog-airplane-text {
1179 | color: #3D3D3D; }
1180 |
1181 | .nm-dialog-header-icon {
1182 | icon-size: 32px; }
1183 |
1184 | .nm-dialog-scroll-view {
1185 | border: 1px solid #cccccc; }
1186 |
1187 | .nm-dialog-header {
1188 | font-weight: bold; }
1189 |
1190 | .nm-dialog-item {
1191 | font-size: 110%;
1192 | border-bottom: 1px solid #cccccc;
1193 | padding: 12px;
1194 | spacing: 20px; }
1195 |
1196 | .nm-dialog-item:selected {
1197 | background-color: rgba(61, 61, 61, 0.15);
1198 | color: #3D3D3D; }
1199 |
1200 | .nm-dialog-icons {
1201 | spacing: .5em; }
1202 |
1203 | .nm-dialog-icon {
1204 | icon-size: 16px; }
1205 |
1206 | .no-networks-label {
1207 | color: #2d2d2d; }
1208 |
1209 | .no-networks-box {
1210 | spacing: 12px; }
1211 |
1212 | /* OVERVIEW */
1213 | #overview {
1214 | spacing: 24px; }
1215 |
1216 | .overview-controls {
1217 | padding-bottom: 32px; }
1218 |
1219 | .window-picker {
1220 | -horizontal-spacing: 16px;
1221 | -vertical-spacing: 16px;
1222 | padding: 0 16px 16px; }
1223 | .window-picker.external-monitor {
1224 | padding: 16px; }
1225 |
1226 | .window-clone-border {
1227 | border: 5px solid rgba(255, 255, 255, 0.35);
1228 | border-radius: 6px;
1229 | box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
1230 |
1231 | .window-caption {
1232 | spacing: 25px;
1233 | color: #F7F7F7;
1234 | background-color: #1d1d1d;
1235 | border: 1px solid rgba(255, 255, 255, 0.13);
1236 | border-radius: 6px;
1237 | padding: 4px 12px; }
1238 |
1239 | .search-entry {
1240 | width: 320px;
1241 | border-radius: 4px;
1242 | border-color: rgba(255, 255, 255, 0.13);
1243 | color: #F7F7F7;
1244 | background-color: rgba(29, 29, 29, 0.4); }
1245 | .search-entry, .search-entry:focus {
1246 | padding: 7px 9px; }
1247 | .search-entry:focus {
1248 | border-width: 1px;
1249 | border-color: #E95420; }
1250 | .search-entry .search-entry-icon {
1251 | icon-size: 1em;
1252 | padding: 0 4px;
1253 | color: rgba(247, 247, 247, 0.7); }
1254 | .search-entry:hover .search-entry-icon, .search-entry:focus .search-entry-icon {
1255 | color: #F7F7F7; }
1256 |
1257 | #searchResultsBin {
1258 | max-width: 1000px; }
1259 |
1260 | #searchResultsContent {
1261 | padding-left: 20px;
1262 | padding-right: 20px;
1263 | spacing: 16px; }
1264 |
1265 | .search-section {
1266 | spacing: 16px; }
1267 |
1268 | .search-section-content {
1269 | spacing: 32px; }
1270 |
1271 | .list-search-results {
1272 | spacing: 3px; }
1273 |
1274 | .search-section-separator {
1275 | height: 2px;
1276 | background-color: rgba(255, 255, 255, 0.2); }
1277 |
1278 | .search-section:last-child .search-section-separator {
1279 | background-color: transparent; }
1280 |
1281 | .list-search-result-content {
1282 | spacing: 30px; }
1283 |
1284 | .list-search-result-title {
1285 | color: #F7F7F7;
1286 | spacing: 12px; }
1287 |
1288 | .list-search-result-description {
1289 | color: #c4c4c4; }
1290 |
1291 | .list-search-provider-details {
1292 | width: 150px;
1293 | color: #dedede;
1294 | margin-top: 0.24em; }
1295 |
1296 | .list-search-provider-content {
1297 | spacing: 20px; }
1298 |
1299 | .search-provider-icon {
1300 | padding: 15px; }
1301 |
1302 | /* DASHBOARD */
1303 | #dash {
1304 | font-size: 9pt;
1305 | color: #F7F7F7;
1306 | background-color: #1d1d1d;
1307 | padding: 4px 0;
1308 | border: 1px solid black;
1309 | border-left: 0px;
1310 | border-radius: 0px 9px 9px 0px; }
1311 | #dash:rtl {
1312 | border-radius: 9px 0 0 9px; }
1313 | #dash .placeholder {
1314 | background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
1315 | background-size: contain;
1316 | height: 24px; }
1317 | #dash .empty-dash-drop-target {
1318 | width: 24px;
1319 | height: 24px; }
1320 |
1321 | .dash-item-container > StWidget {
1322 | padding: 4px 8px; }
1323 |
1324 | .dash-label {
1325 | border-radius: 6px;
1326 | padding: 6px 12px;
1327 | color: #F7F7F7;
1328 | background-color: #1d1d1d;
1329 | border: 1px solid rgba(255, 255, 255, 0.13);
1330 | text-align: center;
1331 | -x-offset: 8px; }
1332 |
1333 | /* App Vault/Grid */
1334 | .icon-grid {
1335 | spacing: 30px;
1336 | -shell-grid-horizontal-item-size: 136px;
1337 | -shell-grid-vertical-item-size: 136px; }
1338 | .icon-grid .overview-icon {
1339 | icon-size: 96px; }
1340 |
1341 | .system-action-icon {
1342 | background-color: black;
1343 | color: white;
1344 | border-radius: 99px;
1345 | icon-size: 48px; }
1346 |
1347 | .app-view-controls {
1348 | padding-bottom: 32px; }
1349 |
1350 | .app-view-control {
1351 | padding: 4px 32px;
1352 | margin: 0 4px;
1353 | color: #8e8e8e; }
1354 | .app-view-control, .app-view-control:hover, .app-view-control:checked {
1355 | transition-duration: 200ms;
1356 | border-color: transparent;
1357 | background-color: transparent;
1358 | background-image: none;
1359 | box-shadow: none;
1360 | text-shadow: none;
1361 | icon-shadow: none; }
1362 | .app-view-control:hover {
1363 | box-shadow: inset 0 -2px #8e8e8e;
1364 | color: #F7F7F7; }
1365 | .app-view-control:checked {
1366 | color: #F7F7F7;
1367 | font-weight: bold;
1368 | box-shadow: inset 0 -2px #E95420; }
1369 | .app-view-control:first-child {
1370 | border-right-width: 0;
1371 | border-radius: 0; }
1372 | .app-view-control:last-child {
1373 | border-radius: 0; }
1374 |
1375 | .search-provider-icon:active, .search-provider-icon:checked,
1376 | .list-search-result:active,
1377 | .list-search-result:checked {
1378 | background-color: rgba(4, 4, 4, 0.9); }
1379 |
1380 | .search-provider-icon:focus, .search-provider-icon:selected, .search-provider-icon:hover,
1381 | .list-search-result:focus,
1382 | .list-search-result:selected,
1383 | .list-search-result:hover {
1384 | background-color: rgba(247, 247, 247, 0.1);
1385 | transition-duration: 200ms; }
1386 |
1387 | .app-well-app:active .overview-icon,
1388 | .app-well-app:checked .overview-icon,
1389 | .app-well-app.app-folder:active .overview-icon,
1390 | .app-well-app.app-folder:checked .overview-icon,
1391 | .show-apps:active .overview-icon,
1392 | .show-apps:checked .overview-icon,
1393 | .grid-search-result:active .overview-icon,
1394 | .grid-search-result:checked .overview-icon {
1395 | background-color: rgba(222, 222, 222, 0.3) !important;
1396 | box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.13); }
1397 |
1398 | .app-well-app:hover .overview-icon,
1399 | .app-well-app:focus .overview-icon,
1400 | .app-well-app:selected .overview-icon,
1401 | .app-well-app.app-folder:hover .overview-icon,
1402 | .app-well-app.app-folder:focus .overview-icon,
1403 | .app-well-app.app-folder:selected .overview-icon,
1404 | .show-apps:hover .overview-icon,
1405 | .show-apps:focus .overview-icon,
1406 | .show-apps:selected .overview-icon,
1407 | .grid-search-result:hover .overview-icon,
1408 | .grid-search-result:focus .overview-icon,
1409 | .grid-search-result:selected .overview-icon {
1410 | background-color: rgba(247, 247, 247, 0.3);
1411 | transition-duration: 0ms;
1412 | border-image: none;
1413 | background-image: none; }
1414 |
1415 | .app-well-app-running-dot {
1416 | width: 6px;
1417 | height: 6px;
1418 | box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.5);
1419 | border-radius: 3px;
1420 | background-color: #E95420;
1421 | margin-bottom: 1px; }
1422 |
1423 | .search-provider-icon,
1424 | .list-search-result, .app-well-app .overview-icon,
1425 | .app-well-app.app-folder .overview-icon,
1426 | .show-apps .overview-icon,
1427 | .grid-search-result .overview-icon {
1428 | color: #F7F7F7;
1429 | border-radius: 4px;
1430 | padding: 6px;
1431 | border: 1px solid transparent;
1432 | transition-duration: 100ms;
1433 | text-align: center; }
1434 |
1435 | .app-well-app.app-folder > .overview-icon {
1436 | background-color: rgba(183, 183, 183, 0.5);
1437 | box-shadow: inset 0 0 0 1px rgba(183, 183, 183, 0.4); }
1438 |
1439 | .show-apps:checked .show-apps-icon,
1440 | .show-apps:focus .show-apps-icon {
1441 | color: white;
1442 | transition-duration: 100ms; }
1443 |
1444 | .app-folder-popup {
1445 | -arrow-border-radius: 6px;
1446 | -arrow-background-color: rgba(247, 247, 247, 0.3);
1447 | -arrow-border-width: 1px;
1448 | -arrow-border-color: rgba(247, 247, 247, 0.5);
1449 | -arrow-base: 24px;
1450 | -arrow-rise: 11px; }
1451 |
1452 | .app-folder-popup-bin {
1453 | padding: 5px; }
1454 |
1455 | .app-folder-icon {
1456 | padding: 5px;
1457 | spacing-rows: 5px;
1458 | spacing-columns: 5px; }
1459 |
1460 | .page-indicator {
1461 | padding: 15px 20px; }
1462 | .page-indicator .page-indicator-icon {
1463 | width: 12px;
1464 | height: 12px;
1465 | background-color: transparent;
1466 | border: 2px solid rgba(255, 255, 255, 0.5);
1467 | border-radius: 12px; }
1468 | .page-indicator:hover .page-indicator-icon {
1469 | border-color: white; }
1470 | .page-indicator:active .page-indicator-icon {
1471 | border: none;
1472 | margin: 2px;
1473 | background-color: #fff; }
1474 | .page-indicator:checked .page-indicator-icon, .page-indicator:checked:active {
1475 | background-color: #fff; }
1476 |
1477 | .app-well-app > .overview-icon.overview-icon-with-label,
1478 | .grid-search-result .overview-icon.overview-icon-with-label {
1479 | padding: 10px 8px 5px 8px;
1480 | spacing: 4px; }
1481 |
1482 | .workspace-thumbnails {
1483 | visible-width: 32px;
1484 | spacing: 11px;
1485 | padding: 8px;
1486 | border-radius: 6px 0 0 6px; }
1487 | .workspace-thumbnails:rtl {
1488 | border-radius: 0 6px 6px 0; }
1489 | .workspace-thumbnails .placeholder {
1490 | background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
1491 | background-size: contain;
1492 | height: 24px; }
1493 |
1494 | .workspace-thumbnail-indicator {
1495 | border: 0px solid #E95420;
1496 | border-left-width: 2px;
1497 | padding: 4px; }
1498 |
1499 | .search-display > StBoxLayout,
1500 | .all-apps,
1501 | .frequent-apps > StBoxLayout {
1502 | padding: 0px 88px 10px 88px; }
1503 |
1504 | .workspace-thumbnails {
1505 | color: #F7F7F7;
1506 | background-color: rgba(29, 29, 29, 0.4);
1507 | border: none; }
1508 |
1509 | .search-statustext, .no-frequent-applications-label {
1510 | font-size: 2em;
1511 | font-weight: bold;
1512 | color: #F7F7F7; }
1513 |
1514 | .modal-dialog StEntry, .prompt-dialog StEntry, .audio-device-selection-dialog StEntry, .access-dialog StEntry, .geolocation-dialog StEntry, .extension-dialog StEntry, .inhibit-shortcuts-dialog StEntry, .nm-dialog StEntry, .notification-banner StEntry, .login-dialog StEntry {
1515 | color: #3D3D3D;
1516 | background-color: #FFF;
1517 | border-color: #cccccc;
1518 | box-shadow: none; }
1519 | .modal-dialog StEntry:focus, .prompt-dialog StEntry:focus, .audio-device-selection-dialog StEntry:focus, .access-dialog StEntry:focus, .geolocation-dialog StEntry:focus, .extension-dialog StEntry:focus, .inhibit-shortcuts-dialog StEntry:focus, .nm-dialog StEntry:focus, .notification-banner StEntry:focus, .login-dialog StEntry:focus {
1520 | color: #3D3D3D;
1521 | border-color: #E95420;
1522 | box-shadow: none; }
1523 | .modal-dialog StEntry:insensitive, .prompt-dialog StEntry:insensitive, .audio-device-selection-dialog StEntry:insensitive, .access-dialog StEntry:insensitive, .geolocation-dialog StEntry:insensitive, .extension-dialog StEntry:insensitive, .inhibit-shortcuts-dialog StEntry:insensitive, .nm-dialog StEntry:insensitive, .notification-banner StEntry:insensitive, .login-dialog StEntry:insensitive {
1524 | color: #8e8e8e;
1525 | background-color: rgba(232, 232, 232, 0.7);
1526 | border-color: #202020;
1527 | box-shadow: none;
1528 | border-color: rgba(135, 135, 135, 0.5); }
1529 |
1530 | /* NOTIFICATIONS & MESSAGE TRAY */
1531 | .url-highlighter {
1532 | link-color: #19B6EE; }
1533 |
1534 | .notification-banner {
1535 | font-size: 11pt;
1536 | width: 34em;
1537 | margin: 6px;
1538 | border-radius: 6px;
1539 | border: none;
1540 | min-height: 64px;
1541 | box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5); }
1542 | .notification-banner:hover {
1543 | background: #FFF; }
1544 | .notification-banner, .notification-banner:focus, .notification-banner:active {
1545 | background-color: #FFF; }
1546 | .notification-banner .message-title, .notification-banner:focus .message-title, .notification-banner:active .message-title {
1547 | color: #242424; }
1548 | .notification-banner .message-content, .notification-banner:focus .message-content, .notification-banner:active .message-content {
1549 | color: #3D3D3D; }
1550 | .notification-banner .message-icon-bin > StIcon {
1551 | color: #3D3D3D; }
1552 | .notification-banner .notification-icon {
1553 | padding: 5px; }
1554 | .notification-banner .notification-content {
1555 | padding: 5px;
1556 | spacing: 5px; }
1557 | .notification-banner .secondary-icon {
1558 | icon-size: 1.14286em; }
1559 | .notification-banner .notification-actions {
1560 | padding-top: 0;
1561 | border-top: 1px solid #e6e6e6;
1562 | spacing: 0px; }
1563 | .notification-banner .notification-button {
1564 | padding: 0 16px;
1565 | background-color: transparent;
1566 | min-height: 35px;
1567 | font-weight: 500;
1568 | border: none; }
1569 | .notification-banner .notification-button:focus {
1570 | box-shadow: none; }
1571 |
1572 | .summary-source-counter {
1573 | font-size: 10pt;
1574 | font-weight: bold;
1575 | height: 1.6em;
1576 | width: 1.6em;
1577 | -shell-counter-overlap-x: 3px;
1578 | -shell-counter-overlap-y: 3px;
1579 | background-color: #E95420;
1580 | color: #ffffff;
1581 | border: 2px solid #F7F7F7;
1582 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
1583 | border-radius: 0.9em; }
1584 |
1585 | .secondary-icon {
1586 | icon-size: 1.09em; }
1587 |
1588 | .chat-body {
1589 | spacing: 5px; }
1590 |
1591 | .chat-response {
1592 | margin: 5px; }
1593 |
1594 | .chat-log-message {
1595 | color: #c4c4c4; }
1596 |
1597 | .chat-new-group {
1598 | padding-top: 1em; }
1599 |
1600 | .chat-received {
1601 | padding-left: 4px; }
1602 | .chat-received:rtl {
1603 | padding-left: 0px;
1604 | padding-right: 4px; }
1605 |
1606 | .chat-sent {
1607 | padding-left: 18pt;
1608 | color: #c4c4c4; }
1609 | .chat-sent:rtl {
1610 | padding-left: 0;
1611 | padding-right: 18pt; }
1612 |
1613 | .chat-meta-message {
1614 | padding-left: 4px;
1615 | font-size: 9pt;
1616 | font-weight: bold;
1617 | color: #ababab; }
1618 | .chat-meta-message:rtl {
1619 | padding-left: 0;
1620 | padding-right: 4px; }
1621 |
1622 | .hotplug-transient-box {
1623 | spacing: 6px;
1624 | padding: 2px 72px 2px 12px; }
1625 |
1626 | .hotplug-notification-item {
1627 | border: none;
1628 | box-shadow: none;
1629 | padding: 2px 10px; }
1630 | .hotplug-notification-item:active {
1631 | border: none;
1632 | box-shadow: none; }
1633 |
1634 | .hotplug-notification-item-icon {
1635 | icon-size: 24px;
1636 | padding: 2px 5px; }
1637 |
1638 | .hotplug-resident-box {
1639 | spacing: 8px; }
1640 |
1641 | .hotplug-resident-mount {
1642 | spacing: 8px;
1643 | border-radius: 4px; }
1644 | .hotplug-resident-mount:hover {
1645 | background-color: transparent; }
1646 |
1647 | .hotplug-resident-mount-label {
1648 | color: inherit;
1649 | padding-left: 6px; }
1650 |
1651 | .hotplug-resident-mount-icon {
1652 | icon-size: 24px;
1653 | padding-left: 6px; }
1654 |
1655 | .hotplug-resident-eject-icon {
1656 | icon-size: 16px; }
1657 |
1658 | .hotplug-resident-eject-button {
1659 | padding: 7px;
1660 | border-radius: 5px;
1661 | color: #3D3D3D; }
1662 |
1663 | /* Eeeky things */
1664 | .magnifier-zoom-region {
1665 | border: 2px solid #E95420; }
1666 | .magnifier-zoom-region.full-screen {
1667 | border-width: 0; }
1668 |
1669 | /* On-screen Keyboard */
1670 | .word-suggestions {
1671 | font-size: 14pt;
1672 | spacing: 12px;
1673 | min-height: 20pt; }
1674 |
1675 | #keyboard {
1676 | background-color: rgba(29, 29, 29, 0.7); }
1677 | #keyboard .page-indicator {
1678 | padding: 4px 4px; }
1679 | #keyboard .page-indicator .page-indicator-icon {
1680 | width: 6px;
1681 | height: 6px; }
1682 |
1683 | .key-container {
1684 | padding: 4px;
1685 | spacing: 4px; }
1686 |
1687 | .keyboard-key {
1688 | background-color: #3D3D3D;
1689 | min-height: 2em;
1690 | min-width: 2em;
1691 | font-size: 16pt;
1692 | border-radius: 3px;
1693 | border: 1px solid rgba(255, 255, 255, 0.13);
1694 | color: #F7F7F7; }
1695 | .keyboard-key:focus {
1696 | transition-duration: 200ms;
1697 | box-shadow: inset 0px 0px 0px 1px #E95420; }
1698 | .keyboard-key:hover, .keyboard-key:checked {
1699 | transition-duration: 200ms;
1700 | background-color: #575757; }
1701 | .keyboard-key:active {
1702 | transition-duration: 200ms;
1703 | box-shadow: none; }
1704 | .keyboard-key:grayed {
1705 | background-color: #1d1d1d;
1706 | color: #F7F7F7;
1707 | border-color: rgba(255, 255, 255, 0.13); }
1708 | .keyboard-key.default-key {
1709 | border-color: rgba(255, 255, 255, 0.13);
1710 | background-color: #303030;
1711 | background-size: 24px; }
1712 | .keyboard-key.enter-key {
1713 | transition-duration: 200ms;
1714 | background-color: #3EB34F;
1715 | border-color: #37a047;
1716 | color: #F7F7F7;
1717 | icon-shadow: none;
1718 | text-shadow: none;
1719 | background-image: url("key-enter.svg"); }
1720 | .keyboard-key.enter-key:active {
1721 | transition-duration: 200ms;
1722 | box-shadow: none; }
1723 | .keyboard-key.shift-key-lowercase {
1724 | background-image: url("key-shift.svg"); }
1725 | .keyboard-key.shift-key-uppercase {
1726 | background-image: url("key-shift-uppercase.svg"); }
1727 | .keyboard-key.shift-key-uppercase:latched {
1728 | background-image: url("key-shift-latched-uppercase.svg"); }
1729 | .keyboard-key.hide-key {
1730 | background-image: url("key-hide.svg"); }
1731 | .keyboard-key.layout-key {
1732 | background-image: url("key-layout.svg"); }
1733 |
1734 | .keyboard-subkeys {
1735 | color: white;
1736 | -arrow-border-radius: 10px;
1737 | -arrow-background-color: rgba(29, 29, 29, 0.7);
1738 | -arrow-border-width: 2px;
1739 | -arrow-border-color: rgba(255, 255, 255, 0.13);
1740 | -arrow-base: 20px;
1741 | -arrow-rise: 10px;
1742 | -boxpointer-gap: 5px; }
1743 |
1744 | .emoji-page .keyboard-key {
1745 | background-color: transparent;
1746 | border: none; }
1747 |
1748 | .emoji-panel .keyboard-key:latched {
1749 | border-color: #005684;
1750 | background-color: #006098; }
1751 |
1752 | .candidate-popup-content {
1753 | padding: 0.5em;
1754 | spacing: 0.3em; }
1755 |
1756 | .candidate-index {
1757 | padding: 0 0.5em 0 0;
1758 | color: #c4c4c4; }
1759 |
1760 | .candidate-box {
1761 | padding: 0.3em 0.5em 0.3em 0.5em;
1762 | border-radius: 4px; }
1763 | .candidate-box:selected, .candidate-box:hover {
1764 | background-color: #E95420;
1765 | color: #ffffff; }
1766 |
1767 | .candidate-page-button-box {
1768 | height: 2em; }
1769 | .vertical .candidate-page-button-box {
1770 | padding-top: 0.5em; }
1771 | .horizontal .candidate-page-button-box {
1772 | padding-left: 0.5em; }
1773 |
1774 | .candidate-page-button {
1775 | padding: 4px; }
1776 |
1777 | .candidate-page-button-previous {
1778 | border-radius: 4px 0px 0px 4px;
1779 | border-right-width: 0; }
1780 |
1781 | .candidate-page-button-next {
1782 | border-radius: 0px 4px 4px 0px; }
1783 |
1784 | .candidate-page-button-icon {
1785 | icon-size: 1em; }
1786 |
1787 | /* Auth Dialogs & Screen Shield */
1788 | .user-icon {
1789 | background-size: contain;
1790 | color: #F7F7F7;
1791 | border-radius: 99px; }
1792 | .user-icon:hover {
1793 | border-color: white;
1794 | color: white; }
1795 |
1796 | .login-dialog-banner-view {
1797 | padding-top: 24px;
1798 | max-width: 23em; }
1799 |
1800 | .login-dialog {
1801 | border: none;
1802 | background-color: transparent; }
1803 | .login-dialog .modal-dialog-button-box {
1804 | spacing: 3px; }
1805 | .login-dialog .modal-dialog-button {
1806 | padding: 4px 18px;
1807 | transition-duration: 200ms;
1808 | background-color: #e1e1e1;
1809 | border-color: #d4d4d4;
1810 | color: #3D3D3D;
1811 | icon-shadow: none;
1812 | text-shadow: none;
1813 | box-shadow: none; }
1814 | .login-dialog .modal-dialog-button:active {
1815 | transition-duration: 200ms;
1816 | box-shadow: none; }
1817 | .login-dialog .modal-dialog-button:focus {
1818 | box-shadow: none;
1819 | border-color: #E95420; }
1820 | .login-dialog .modal-dialog-button:hover {
1821 | transition-duration: 200ms;
1822 | background-color: #fafafa; }
1823 | .login-dialog .modal-dialog-button:focus:hover {
1824 | transition-duration: 200ms;
1825 | background-color: #fafafa; }
1826 | .login-dialog .modal-dialog-button:insensitive {
1827 | border-color: #aeaeae;
1828 | background-color: #aeaeae;
1829 | box-shadow: none;
1830 | color: #4a4a4a; }
1831 | .login-dialog .modal-dialog-button:default {
1832 | padding-bottom: 5px;
1833 | padding-top: 5px;
1834 | transition-duration: 200ms;
1835 | background-color: #3EB34F;
1836 | border-color: #37a047;
1837 | color: #F7F7F7;
1838 | icon-shadow: none;
1839 | text-shadow: none;
1840 | box-shadow: none; }
1841 | .login-dialog .modal-dialog-button:default:hover {
1842 | transition-duration: 200ms;
1843 | background-color: #5dc76c; }
1844 | .login-dialog .modal-dialog-button:default:focus {
1845 | transition-duration: 200ms;
1846 | box-shadow: inset 0px 0px 0px 1px white; }
1847 | .login-dialog .modal-dialog-button:default:active {
1848 | transition-duration: 200ms;
1849 | box-shadow: none; }
1850 | .login-dialog .modal-dialog-button:default:focus:hover {
1851 | transition-duration: 200ms;
1852 | background-color: #5dc76c; }
1853 | .login-dialog .modal-dialog-button:default:insensitive {
1854 | transition-duration: 200ms;
1855 | color: #8e8e8e;
1856 | border-color: #37a047;
1857 | background-color: rgba(78, 172, 92, 0.7);
1858 | box-shadow: none;
1859 | text-shadow: none;
1860 | icon-shadow: none;
1861 | background-color: #24672e;
1862 | border-color: #24672e;
1863 | color: rgba(255, 255, 255, 0.5); }
1864 |
1865 | .login-dialog-logo-bin {
1866 | padding: 24px 0px; }
1867 |
1868 | .login-dialog-banner {
1869 | color: rgba(61, 61, 61, 0.85); }
1870 |
1871 | .login-dialog-button-box {
1872 | spacing: 5px; }
1873 |
1874 | .login-dialog-message-warning {
1875 | color: #F89B0F; }
1876 |
1877 | .login-dialog-message-hint {
1878 | padding-top: 0;
1879 | padding-bottom: 20px; }
1880 |
1881 | .login-dialog-user-selection-box {
1882 | padding: 100px 0px; }
1883 |
1884 | .login-dialog-not-listed-label {
1885 | padding-left: 2px; }
1886 | .login-dialog-not-listed-button:focus .login-dialog-not-listed-label,
1887 | .login-dialog-not-listed-button:hover .login-dialog-not-listed-label {
1888 | color: #F7F7F7; }
1889 |
1890 | .login-dialog-not-listed-label {
1891 | font-size: 90%;
1892 | font-weight: normal;
1893 | color: #F7F7F7;
1894 | padding-top: 1em; }
1895 |
1896 | .login-dialog-user-list-view {
1897 | -st-vfade-offset: 1em; }
1898 |
1899 | .login-dialog-user-list {
1900 | spacing: 12px;
1901 | width: 23em; }
1902 | .login-dialog-user-list:expanded .login-dialog-user-list-item:selected {
1903 | background-color: #E95420;
1904 | color: #ffffff; }
1905 | .login-dialog-user-list:expanded .login-dialog-user-list-item:logged-in {
1906 | border-right: 2px solid #E95420; }
1907 |
1908 | .login-dialog-user-list-item {
1909 | border-radius: 5px;
1910 | padding: 6px;
1911 | color: #ababab; }
1912 | .login-dialog-user-list-item:ltr .user-widget {
1913 | padding-right: 1em; }
1914 | .login-dialog-user-list-item:rtl .user-widget {
1915 | padding-left: 1em; }
1916 | .login-dialog-user-list-item .login-dialog-timed-login-indicator {
1917 | height: 2px;
1918 | margin-top: 6px;
1919 | background-color: #F7F7F7; }
1920 | .login-dialog-user-list-item:focus .login-dialog-timed-login-indicator {
1921 | background-color: #F7F7F7; }
1922 |
1923 | .login-dialog-username,
1924 | .user-widget-label {
1925 | color: #F7F7F7;
1926 | font-size: 120%;
1927 | font-weight: normal;
1928 | text-align: left;
1929 | padding-left: 15px; }
1930 |
1931 | .user-widget-label:ltr {
1932 | padding-left: 14px; }
1933 |
1934 | .user-widget-label:rtl {
1935 | padding-right: 14px; }
1936 |
1937 | .login-dialog-prompt-layout {
1938 | padding-top: 24px;
1939 | padding-bottom: 12px;
1940 | spacing: 8px;
1941 | width: 23em; }
1942 |
1943 | .login-dialog-prompt-label {
1944 | color: #c4c4c4;
1945 | font-size: 110%;
1946 | padding-top: 1em; }
1947 |
1948 | .login-dialog-session-list-button StIcon {
1949 | icon-size: 1.25em; }
1950 |
1951 | .login-dialog-session-list-button {
1952 | color: #919191; }
1953 | .login-dialog-session-list-button:hover, .login-dialog-session-list-button:focus {
1954 | color: #F7F7F7; }
1955 | .login-dialog-session-list-button:active {
1956 | color: #787878; }
1957 |
1958 | .screen-shield-arrows {
1959 | padding-bottom: 3em; }
1960 |
1961 | .screen-shield-arrows Gjs_Arrow {
1962 | color: white;
1963 | width: 80px;
1964 | height: 48px;
1965 | -arrow-thickness: 12px;
1966 | -arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
1967 |
1968 | .screen-shield-clock {
1969 | color: white;
1970 | text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
1971 | font-weight: bold;
1972 | text-align: center;
1973 | padding-bottom: 1.5em; }
1974 |
1975 | .screen-shield-clock-time {
1976 | font-size: 72pt;
1977 | text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
1978 | font-feature-settings: "tnum"; }
1979 |
1980 | .screen-shield-clock-date {
1981 | font-size: 28pt;
1982 | font-weight: normal; }
1983 |
1984 | .screen-shield-notifications-container {
1985 | spacing: 6px;
1986 | width: 30em;
1987 | background-color: transparent;
1988 | max-height: 500px; }
1989 | .screen-shield-notifications-container .summary-notification-stack-scrollview {
1990 | padding-top: 0;
1991 | padding-bottom: 0; }
1992 | .screen-shield-notifications-container .notification,
1993 | .screen-shield-notifications-container .screen-shield-notification-source {
1994 | padding: 12px 6px;
1995 | border: 1px solid rgba(255, 255, 255, 0.13);
1996 | background-color: rgba(29, 29, 29, 0.4);
1997 | color: #F7F7F7;
1998 | border-radius: 5px; }
1999 | .screen-shield-notifications-container .notification {
2000 | margin-right: 15px; }
2001 |
2002 | .screen-shield-notification-label {
2003 | font-weight: bold;
2004 | padding: 0px 0px 0px 12px; }
2005 |
2006 | .screen-shield-notification-count-text {
2007 | padding: 0px 0px 0px 12px; }
2008 |
2009 | #panel.lock-screen {
2010 | background-color: transparent; }
2011 |
2012 | .screen-shield-background {
2013 | background: black;
2014 | box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4); }
2015 |
2016 | #lockDialogGroup {
2017 | background-color: #2C001E; }
2018 |
2019 | #screenShieldNotifications StButton#vhandle, #screenShieldNotifications StButton#hhandle {
2020 | background-color: rgba(37, 37, 37, 0.3); }
2021 | #screenShieldNotifications StButton#vhandle:hover, #screenShieldNotifications StButton#vhandle:focus, #screenShieldNotifications StButton#hhandle:hover, #screenShieldNotifications StButton#hhandle:focus {
2022 | background-color: rgba(37, 37, 37, 0.5); }
2023 | #screenShieldNotifications StButton#vhandle:active, #screenShieldNotifications StButton#hhandle:active {
2024 | background-color: rgba(233, 84, 32, 0.5); }
2025 |
2026 | #LookingGlassDialog {
2027 | background-color: rgba(0, 0, 0, 0.8);
2028 | spacing: 4px;
2029 | padding: 4px;
2030 | border: 2px solid grey;
2031 | border-radius: 4px; }
2032 | #LookingGlassDialog > #Toolbar {
2033 | border: 1px solid grey;
2034 | border-radius: 4px; }
2035 | #LookingGlassDialog .labels {
2036 | spacing: 4px; }
2037 | #LookingGlassDialog .notebook-tab {
2038 | -natural-hpadding: 12px;
2039 | -minimum-hpadding: 6px;
2040 | font-weight: bold;
2041 | color: #ccc;
2042 | transition-duration: 100ms;
2043 | padding-left: .3em;
2044 | padding-right: .3em; }
2045 | #LookingGlassDialog .notebook-tab:hover {
2046 | color: white;
2047 | text-shadow: black 0px 2px 2px; }
2048 | #LookingGlassDialog .notebook-tab:selected {
2049 | border-bottom-width: 2px;
2050 | border-color: #eb6637;
2051 | color: white;
2052 | text-shadow: black 0px 2px 2px; }
2053 | #LookingGlassDialog StBoxLayout#EvalBox {
2054 | padding: 4px;
2055 | spacing: 4px; }
2056 | #LookingGlassDialog StBoxLayout#ResultsArea {
2057 | spacing: 4px; }
2058 |
2059 | .lg-dialog StEntry {
2060 | selection-background-color: #bbbbbb;
2061 | selected-color: #333333; }
2062 |
2063 | .lg-dialog .shell-link {
2064 | color: #999999; }
2065 | .lg-dialog .shell-link:hover {
2066 | color: #dddddd; }
2067 |
2068 | .lg-completions-text {
2069 | font-size: .9em;
2070 | font-style: italic; }
2071 |
2072 | .lg-obj-inspector-title {
2073 | spacing: 4px; }
2074 |
2075 | .lg-obj-inspector-button {
2076 | border: 1px solid gray;
2077 | padding: 4px;
2078 | border-radius: 4px; }
2079 | .lg-obj-inspector-button:hover {
2080 | border: 1px solid #ffffff; }
2081 |
2082 | #lookingGlassExtensions {
2083 | padding: 4px; }
2084 |
2085 | .lg-extensions-list {
2086 | padding: 4px;
2087 | spacing: 6px; }
2088 |
2089 | .lg-extension {
2090 | border: 1px solid #6f6f6f;
2091 | border-radius: 4px;
2092 | padding: 4px; }
2093 |
2094 | .lg-extension-name {
2095 | font-weight: bold; }
2096 |
2097 | .lg-extension-meta {
2098 | spacing: 6px; }
2099 |
2100 | #LookingGlassPropertyInspector {
2101 | background: rgba(0, 0, 0, 0.8);
2102 | border: 2px solid grey;
2103 | border-radius: 4px;
2104 | padding: 6px; }
2105 |
2106 | .file-item {
2107 | border-radius: 4px; }
2108 |
2109 | /* Default Ubuntu Dock styling, append !important to any changed rules */
2110 | #dashtodockContainer.shrink #dash,
2111 | #dashtodockContainer.dashtodock #dash {
2112 | border: 1px;
2113 | padding: 0px; }
2114 |
2115 | #dashtodockContainer.shrink.left #dash,
2116 | #dashtodockContainer.dashtodock.left #dash {
2117 | border-left: 0px;
2118 | border-radius: 0px 9px 9px 0px; }
2119 |
2120 | #dashtodockContainer.shrink.right #dash,
2121 | #dashtodockContainer.dashtodock.right #dash {
2122 | border-right: 0px;
2123 | border-radius: 9px 0px 0px 9px; }
2124 |
2125 | #dashtodockContainer.shrink.top #dash,
2126 | #dashtodockContainer.dashtodock.top #dash {
2127 | border-top: 0px;
2128 | border-radius: 0px 0px 9px 9px; }
2129 |
2130 | #dashtodockContainer.shrink.bottom #dash,
2131 | #dashtodockContainer.dashtodock.bottom #dash {
2132 | border-bottom: 0px;
2133 | border-radius: 9px 9px 0px 0px; }
2134 |
2135 | #dashtodockContainer.straight-corner #dash,
2136 | #dashtodockContainer.shrink.straight-corner #dash {
2137 | border-radius: 0px; }
2138 |
2139 | .bottom #dashtodockDashScrollview,
2140 | .top #dashtodockDashScrollview {
2141 | -st-hfade-offset: 24px; }
2142 |
2143 | .left #dashtodockDashScrollview,
2144 | .right #dashtodockDashScrollview {
2145 | -st-vfade-offset: 24px; }
2146 |
2147 | #dashtodockContainer.running-dots .dash-item-container > StButton,
2148 | #dashtodockContainer.dashtodock .dash-item-container > StButton {
2149 | transition-duration: 250;
2150 | background-size: contain; }
2151 |
2152 | #dashtodockContainer.shrink .dash-item-container > StButton,
2153 | #dashtodockContainer.dashtodock .dash-item-container > StButton {
2154 | padding: 2px 4px !important; }
2155 |
2156 | #dashtodockContainer.extended.top #dash, #dashtodockContainer.extended.right #dash,
2157 | #dashtodockContainer.extended.bottom #dash, #dashtodockContainer.extended.left #dash {
2158 | border-radius: 0; }
2159 |
2160 | #dashtodockContainer.extended.top #dash, #dashtodockContainer.extended.bottom #dash {
2161 | border-left: 0px;
2162 | border-right: 0px; }
2163 |
2164 | #dashtodockContainer.extended.right #dash, #dashtodockContainer.extended.left #dash {
2165 | border-top: 0px;
2166 | border-bottom: 0px; }
2167 |
2168 | #dashtodockContainer.running-dots .app-well-app.running > .overview-icon,
2169 | #dashtodockContainer.dashtodock .app-well-app.running > .overview-icon {
2170 | /* Running and focused application style */
2171 | background-image: none; }
2172 |
2173 | #dashtodockContainer.running-dots .app-well-app.focused .overview-icon {
2174 | background-color: rgba(238, 238, 236, 0.2); }
2175 |
2176 | #dashtodockContainer.dashtodock .app-well-app.focused .overview-icon {
2177 | background-color: rgba(238, 238, 236, 0.1); }
2178 |
2179 | #dashtodockContainer.dashtodock #dash {
2180 | background: #2e3436; }
2181 |
2182 | #dashtodockContainer.opaque {
2183 | /* Temporary reduce traslucency, see https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/376
2184 | * background-color: transparentize($dash_bg_color, $dash-opaque-alpha-value);
2185 | * transition-duration: 500ms; */
2186 | background-color: #1d1d1d;
2187 | border-color: rgba(0, 0, 0, 0.4); }
2188 |
2189 | #dashtodockContainer.transparent {
2190 | /* Temporary traslucency under overview state only. See https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/376
2191 | * background-color: transparentize($dash_bg_color, $dash-alpha-value);
2192 | * transition-duration: 500ms; */
2193 | background-color: #1d1d1d;
2194 | border-color: rgba(0, 0, 0, 0.1);
2195 | transition-duration: 500ms; }
2196 | #dashtodockContainer.transparent:overview {
2197 | background-color: rgba(29, 29, 29, 0.4);
2198 | transition-duration: 500ms; }
2199 |
2200 | #dashtodockContainer .number-overlay {
2201 | color: white;
2202 | background-color: rgba(0, 0, 0, 0.8);
2203 | text-align: center; }
2204 |
2205 | #dashtodockContainer .notification-badge {
2206 | color: white;
2207 | background-color: #3EB34F;
2208 | padding: 0.2em 0.5em;
2209 | border-radius: 1em;
2210 | border: 1px solid #318d3e;
2211 | box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.5);
2212 | font-weight: bold;
2213 | text-align: center;
2214 | margin: 2px; }
2215 |
2216 | #dashtodockPreviewSeparator.popup-separator-menu-item-horizontal {
2217 | width: 1px;
2218 | height: auto;
2219 | border-right-width: 1px;
2220 | margin: 32px 0px; }
2221 |
2222 | /* Yaru Dock styling */
2223 | #dashtodockContainer.shrink #dash,
2224 | #dashtodockContainer.dashtodock #dash {
2225 | border: none !important;
2226 | box-shadow: inset 0 1px 2px -1px rgba(0, 0, 0, 0.4) !important; }
2227 |
2228 | #dashtodockContainer.shrink.left #dash,
2229 | #dashtodockContainer.dashtodock.left #dash {
2230 | border: none !important; }
2231 |
2232 | #dashtodockContainer.shrink.right #dash,
2233 | #dashtodockContainer.dashtodock.right #dash {
2234 | border: none !important; }
2235 |
2236 | #dashtodockContainer.shrink.top #dash,
2237 | #dashtodockContainer.dashtodock.top #dash {
2238 | border: none !important; }
2239 |
2240 | #dashtodockContainer.shrink.bottom #dash,
2241 | #dashtodockContainer.dashtodock.bottom #dash {
2242 | border: none !important; }
2243 |
2244 | #dashtodockContainer.straight-corner #dash,
2245 | #dashtodockContainer.shrink.straight-corner #dash {
2246 | border: none !important; }
2247 |
2248 | #dashtodockContainer.shrink.left #dash,
2249 | #dashtodockContainer.dashtodock.left #dash,
2250 | #dashtodockContainer.shrink.right #dash,
2251 | #dashtodockContainer.dashtodock.right #dash {
2252 | background: #1d1d1d;
2253 | padding-top: 2px;
2254 | padding-bottom: 2px; }
2255 |
2256 | #dashtodockContainer .show-apps .overview-icon {
2257 | border-radius: 4px; }
2258 |
2259 | #dashtodockContainer .show-apps:active .overview-icon, #dashtodockContainer .show-apps:checked .overview-icon {
2260 | background-color: rgba(255, 255, 255, 0.25);
2261 | box-shadow: none; }
2262 |
--------------------------------------------------------------------------------
/lock/install.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #sudo apt upate
4 | #sudo apt upgrade
5 |
6 | #sudo apt install graphicsmagick-imagemagick-compat
7 | #sudo apt install imagemagick-6.q16hdri
8 | #sudo apt install imagemagick-6.q16
9 |
10 | sudo cp -f $(pwd)/bin/high_ubunterra.css /usr/share/gnome-shell/theme/Yaru/gnome-shell.css
11 | cp $(pwd)/bin/SetAsWallpaper ~/.local/share/nautilus/scripts/
12 | sleep 1
13 | sudo chmod +x ~/.local/share/nautilus/scripts/SetAsWallpaper
14 | rm -rf ~/.cache/wallpaper/*
15 | cp -af $(pwd)/bin/.fonts ~/
16 | sudo cp -f $(pwd)/bin/disco-wallpapers.xml /usr/share/gnome-background-properties/
17 | mkdir ~/.cache/SetAsWallpaper
18 | echo "***********************************************************************"
19 | echo " Installation complete"
20 | echo "***********************************************************************"
21 | echo " Installed MacBuntu SuccessFully"
22 | echo "***********************************************************************"
23 | exit 1
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/lock/readme__READ__IT:
--------------------------------------------------------------------------------
1 | This is theme nearly looks like macOS lockscreen , with script which can set wallpaper for your desktop and simultaneously set same wallpaper on lock screen and login screen with blur effect like on macOS. In attachment you will find file ubuntu.css, where injected some changes, to make your login screen and lock screen looks more like mac OS.
2 |
3 | ATTENTION: TESTED AND WORK ONLY ON UBUNTU 19.04 Disco Dingo.
4 |
5 |
6 | For Ubuntu 19.04 (Disco Dingo) download files:
7 | High_Ubunterra_DD-X.X(noPass).tar.xz
8 | High_Ubunterra_DD-X.X(Pass).tar.xz
9 |
10 | Not work on few monitors ( Just don't have second monitor so i can't develop work version (-_-) Sorry ).
11 |
12 | Two versions:
13 | High_Ubunterra_X.X(noPass) - without asking password to set wallpaper but script give full permission for root folder " /usr/share/backgrounds/ " by chmod 777 (not safety).
14 | High_Ubunterra_X.X(Pass) - with asking password each time you set wallpaper for change background of " lockscreen ", it is safe, but not comfortable for user.
15 | -----------------------------------------------------------------------------------------------------------------
16 |
17 | REQUIREMENTS:
18 |
19 | #1 - Well, i dont know how it will be on your version of Ubuntu 19.04, i mean how u install it was it update form 18.10 like i did or it will be clean installation, you have to check have you imagemagick, graphicsmagick. If not, uncomment this strings first in install.sh (I made update from 18.10 to 19.04 and loose graphicsmagick and imagemagick).
20 |
21 | #sudo apt upate
22 | #sudo apt upgrade
23 |
24 | #sudo apt install graphicsmagick-imagemagick-compat
25 | #sudo apt install imagemagick-6.q16hdri
26 | #sudo apt install imagemagick-6.q16
27 |
28 | #2 - Plank (https://www.ubuntuupdates.org/package/core/bionic/universe/base/plank)
29 | Or
30 | #3 - Dash to dock extension (tune it how you want to see the dock, turn it off and turn on Ubuntu Dock). This way tested work fine.
31 |
32 | -----------------------------------------------------------------------------------------------------------------
33 |
34 | INSTALLATION howto:
35 |
36 | 1. Click right button of mouse and chose "Open in Terminal" in folder with install.sh, then type command chmode +x ./install.sh and ./install.sh
37 |
38 | 2. Now you just choose your image right click mouse button you will see script and "SetAsWallpaper" just click on it, wallpaper already set.
39 |
40 | 3. To uninstall use command ./uninstall.sh
41 |
42 | Enjoy!
43 |
44 | Video user manual: https://www.youtube.com/watch?v=SUbGma_-d20
45 |
46 | ---------------------------------------------------------------
47 | facebook: https://www.facebook.com/wwwclick
48 | email: eugene.veprytskyi@gmail.com
49 | http://eugenev.kl.com.ua
50 |
--------------------------------------------------------------------------------
/lock/uninstall.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | sudo rm -rf /usr/share/gnome-shell/theme/Yaru/gnome-shell.css
4 | sleep 1
5 | sudo cp $(pwd)/bin/gnome-shell.css-backup/gnome-shell.css /usr/share/gnome-shell/theme/Yaru/gnome-shell.css
6 | rm -rf ~/.local/share/nautilus/scripts/SetAsWallpaper
7 | rm -rf ~/.cache/SetAsWallpaper
8 | rm -rf /usr/share/backgrounds/gdmlock.jpg
9 | rm -r -f ~/.fonts/Montserrat
10 | gsettings set org.gnome.desktop.screensaver picture-uri "file:///usr/share/backgrounds/warty-final-ubuntu.png"
11 | gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/warty-final-ubuntu.png"
12 | echo "***********************************************************************"
13 | echo " Uninstall complete"
14 | echo "***********************************************************************"
15 | echo "Make quick reload Ubuntu to accept changes with command: ALT+F2 --> r"
16 | echo "***********************************************************************"
17 | exit 1
18 |
19 |
--------------------------------------------------------------------------------
/plymouth/themes/darwin/animation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/animation.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/background.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/box.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/bullet.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/darwin.plymouth:
--------------------------------------------------------------------------------
1 | [Plymouth Theme]
2 | Name=Darwin OS X Plymouth
3 | Description=A Plymouth of OS X Yosemite
4 | ModuleName=script
5 |
6 | [script]
7 | ImageDir=/usr/share/plymouth/themes/darwin
8 | ScriptFile=/usr/share/plymouth/themes/darwin/darwin.script
9 |
--------------------------------------------------------------------------------
/plymouth/themes/darwin/darwin.script:
--------------------------------------------------------------------------------
1 | #By Lozano Juan Pablo
2 |
3 | Window.GetMaxWidth = fun (){
4 | i = 0;
5 | width = 0;
6 | while (Window.GetWidth(i)){
7 | width = Math.Max(width, Window.GetWidth(i));
8 | i++;
9 | }
10 | return width;
11 | };
12 |
13 | Window.GetMaxHeight = fun (){
14 | i = 0;
15 | height = 0;
16 | while (Window.GetHeight(i)){
17 | height = Math.Max(height, Window.GetHeight(i));
18 | i++;
19 | }
20 | return height;
21 | };
22 |
23 | anim.imagecount = 32;
24 | anim.target_width = 0.2* 0.46 * Window.GetWidth();
25 | anim.target_height = 0.2* 0.46 * Window.GetWidth();
26 |
27 | fun RotatedImage (index){
28 | index = Math.Int(index);
29 | if (!RotatedImageCache[index])
30 | RotatedImageCache[index] = anim.original_image.Rotate((Math.Pi*2*index)/anim.imagecount).Scale(anim.target_width, anim.target_height);
31 |
32 | return RotatedImageCache[index];
33 | }
34 |
35 |
36 | if (Plymouth.GetMode() == "suspend" || Plymouth.GetMode() == "resume") {
37 | background.original_image = ImageNew("suspend.png");
38 | Window.SetBackgroundTopColor(1, 0, 0);
39 | Window.SetBackgroundBottomColor(0, 1, 0);
40 | }
41 | else {
42 | logo.original_image = ImageNew("logo.png");
43 | background.original_image = ImageNew("background.png");
44 | Window.SetBackgroundTopColor(0.180, 0.545, 0.020);
45 | Window.SetBackgroundBottomColor(0.439, 0.573, 0.333);
46 |
47 | anim.image= ImageNew("animation.png");
48 | anim.original_image= anim.image.Scale(anim.target_width, anim.target_width);
49 |
50 | anim.sprite = SpriteNew();
51 | anim.sprite.SetImage(RotatedImage (0));
52 | anim.sprite.SetX((Window.GetX() + Window.GetWidth() - RotatedImage(0).GetWidth()) / 2);
53 | anim.sprite.SetY(Window.GetY() + Window.GetHeight() * 0.37);
54 | anim.angle = 0;
55 | anim.index = 0;
56 |
57 |
58 | }
59 |
60 | ratio = logo.original_image.GetWidth() / logo.original_image.GetHeight();
61 | reduction = 0.4;
62 | logo.image = logo.original_image.Scale(reduction * Window.GetMaxWidth() , reduction / ratio * Window.GetMaxWidth());
63 | logo.sprite = SpriteNew();
64 | logo.sprite.SetImage(logo.image);
65 | logo.opacity_angle = 0;
66 | logo.sprite.SetX((Window.GetX() + Window.GetMaxWidth() - logo.image.GetWidth()) / 2);
67 | logo.sprite.SetY(Window.GetY() + Window.GetHeight() * 0.37);
68 |
69 | background.image = background.original_image.Scale(Window.GetMaxWidth() , Window.GetMaxHeight());
70 | background.sprite = SpriteNew();
71 | background.sprite.SetImage(background.image);
72 | background.sprite.SetPosition(Window.GetX(), Window.GetY(), -10);
73 |
74 | sprite_prompt = SpriteNew();
75 |
76 | fun refresh_callback ()
77 | {
78 | if (status == "normal")
79 | {
80 | anim.index += 1;
81 | anim.index %= anim.imagecount;
82 | anim.sprite.SetImage(RotatedImage (anim.index));
83 | #anim.sprite.SetOpacity (1);
84 | #motif.sprite.SetOpacity(motif.opacity);
85 | }
86 | else
87 | {
88 | anim.sprite.SetOpacity(0);
89 | motif.sprite.SetOpacity(0);
90 | }
91 |
92 | }
93 |
94 | if (Plymouth.GetMode() != "suspend" && Plymouth.GetMode() != "resume") {
95 | Plymouth.SetRefreshFunction (refresh_callback);
96 | }
97 |
98 | #----------------------------------------- Dialog --------------------------------
99 |
100 | status = "normal";
101 |
102 | fun dialog_setup()
103 | {
104 | local.box;
105 | local.lock;
106 | local.entry;
107 | local.prompt_sprite;
108 |
109 | box.image = ImageNew("box.png");
110 | lock.image = ImageNew("lock.png");
111 | entry.image = ImageNew("entry.png");
112 |
113 | box.sprite = SpriteNew();
114 | box.sprite.SetImage(box.image);
115 | box.x = Window.GetX() + Window.GetWidth() / 2 - box.image.GetWidth()/2;
116 | box.y = Window.GetY() + Window.GetHeight() / 2 - box.image.GetHeight()/2;
117 | box.z = 10000;
118 | box.sprite.SetPosition(box.x, box.y, box.z);
119 |
120 | lock.sprite = SpriteNew();
121 | lock.sprite.SetImage(lock.image);
122 | lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
123 | lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2;
124 | lock.z = box.z + 1;
125 | lock.sprite.SetPosition(lock.x, lock.y, lock.z);
126 |
127 | entry.sprite = SpriteNew();
128 | entry.sprite.SetImage(entry.image);
129 | entry.x = lock.x + lock.image.GetWidth();
130 | entry.y = box.y + box.image.GetHeight()/2 - entry.image.GetHeight()/2;
131 | entry.z = box.z + 1;
132 | entry.sprite.SetPosition(entry.x, entry.y, entry.z);
133 |
134 | prompt_sprite = SpriteNew();
135 | prompt_sprite.SetPosition(box.x, box.y - 20, box.z);
136 |
137 | global.dialog.box = box;
138 | global.dialog.lock = lock;
139 | global.dialog.entry = entry;
140 | global.dialog.bullet_image = ImageNew("bullet.png");
141 | global.dialog.prompt_sprite = prompt_sprite;
142 | dialog_opacity (1);
143 | }
144 |
145 | fun dialog_opacity(opacity)
146 | {
147 | dialog.box.sprite.SetOpacity(opacity);
148 | dialog.lock.sprite.SetOpacity(opacity);
149 | dialog.entry.sprite.SetOpacity(opacity);
150 | dialog.prompt_sprite.SetOpacity(opacity);
151 | for (index = 0; dialog.bullet[index]; index++)
152 | {
153 | dialog.bullet[index].sprite.SetOpacity(opacity);
154 | }
155 | }
156 |
157 | fun display_normal_callback ()
158 | {
159 | global.status = "normal";
160 | if (global.dialog)
161 | dialog_opacity (0);
162 | }
163 |
164 | fun display_password_callback (prompt, bullets)
165 | {
166 | global.status = "password";
167 | if (!global.dialog)
168 | dialog_setup();
169 | else
170 | dialog_opacity(1);
171 | motif.sprite.SetOpacity(0);
172 | anim.sprite.SetOpacity(0);
173 |
174 | dialog.prompt_sprite.SetImage(Image.Text(prompt, 1.0, 1.0, 1.0));
175 | for (index = 0; dialog.bullet[index] || index < bullets; index++)
176 | {
177 |
178 | if (!dialog.bullet[index])
179 | {
180 | dialog.bullet[index].sprite = SpriteNew();
181 | dialog.bullet[index].sprite.SetImage(dialog.bullet_image);
182 | dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth();
183 | dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2;
184 | dialog.bullet[index].z = dialog.entry.z + 1;
185 | dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z);
186 | }
187 | if (index < bullets)
188 | dialog.bullet[index].sprite.SetOpacity(1);
189 | else
190 | dialog.bullet[index].sprite.SetOpacity(0);
191 | }
192 | }
193 |
194 | fun display_message_callback (prompt)
195 | {
196 |
197 | prompt = Image.Text(prompt,1.0, 1.0, 1.0);
198 | sprite_prompt.SetImage(prompt);
199 | sprite_prompt.SetPosition(Window.GetX() + (Window.GetWidth() - prompt.GetWidth()) / 2, Window.GetY() + Window.GetHeight() * 0.93, 2);
200 | }
201 |
202 | /* instantiate dialog at startup, to ensure all icons are loaded in memory before initrd is unmounted, in case /usr isn't mounted yet */
203 | dialog_setup(); dialog_opacity(0);
204 | Plymouth.SetDisplayNormalFunction(display_normal_callback);
205 | Plymouth.SetDisplayPasswordFunction(display_password_callback);
206 | Plymouth.SetMessageFunction(display_message_callback);
207 |
208 | #----------------------------------------- Progress Bar --------------------------------
209 |
210 | progress_box.image = Image("progress_box.png");
211 | progress_box.sprite = Sprite(progress_box.image);
212 |
213 | progress_box.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2;
214 | progress_box.y = Window.GetY() + Window.GetHeight() * 0.65 - progress_box.image.GetHeight() / 2;
215 | progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0);
216 |
217 | progress_bar.original_image = Image("progress_bar.png");
218 | progress_bar.sprite = Sprite();
219 |
220 | progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2;
221 | progress_bar.y = Window.GetY() + Window.GetHeight() * 0.65 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2;
222 | progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1);
223 |
224 | fun progress_callback (duration, progress)
225 | {
226 | if (progress_bar.image.GetWidth () != Math.Int (progress_bar.original_image.GetWidth () * progress))
227 | {
228 | progress_bar.image = progress_bar.original_image.Scale(progress_bar.original_image.GetWidth(progress_bar.original_image) * progress, progress_bar.original_image.GetHeight());
229 | progress_bar.sprite.SetImage (progress_bar.image);
230 | }
231 | }
232 |
233 | Plymouth.SetBootProgressFunction(progress_callback);
234 |
235 | #----------------------------------------- Quit --------------------------------
236 |
237 | fun quit_callback ()
238 | {
239 | anim.sprite.SetOpacity (0);
240 | if (Plymouth.GetMode() == "shutdown") {
241 | motif.sprite.SetOpacity(0);
242 | }
243 | }
244 |
245 | Plymouth.SetQuitFunction(quit_callback);
246 |
247 |
--------------------------------------------------------------------------------
/plymouth/themes/darwin/entry.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/entry.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/lock.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/logo.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/motif.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/motif.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/progress_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/progress_bar.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/progress_box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/progress_box.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/progress_box_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/progress_box_background.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/progress_box_edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/progress_box_edge.png
--------------------------------------------------------------------------------
/plymouth/themes/darwin/suspend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/darwin/suspend.png
--------------------------------------------------------------------------------
/plymouth/themes/default.grub:
--------------------------------------------------------------------------------
1 | /etc/alternatives/default.plymouth.grub
--------------------------------------------------------------------------------
/plymouth/themes/default.plymouth:
--------------------------------------------------------------------------------
1 | /etc/alternatives/default.plymouth
--------------------------------------------------------------------------------
/plymouth/themes/details/details.plymouth:
--------------------------------------------------------------------------------
1 | [Plymouth Theme]
2 | Name=Details
3 | Description=Verbose fallback theme
4 | ModuleName=details
5 |
--------------------------------------------------------------------------------
/plymouth/themes/text.plymouth:
--------------------------------------------------------------------------------
1 | /etc/alternatives/text.plymouth
--------------------------------------------------------------------------------
/plymouth/themes/text/text.plymouth:
--------------------------------------------------------------------------------
1 | [Plymouth Theme]
2 | Name=Text
3 | Description=Text mode theme with a 3 box countdown
4 | ModuleName=text
5 |
--------------------------------------------------------------------------------
/plymouth/themes/tribar/tribar.plymouth:
--------------------------------------------------------------------------------
1 | [Plymouth Theme]
2 | Name=Tribar
3 | Description=Text mode theme with tricolor progress bar
4 | ModuleName=tribar
5 |
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/password-field.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/password-field.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/password-field16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/password-field16.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/progress-dot-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/progress-dot-off.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/progress-dot-off16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/progress-dot-off16.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/progress-dot-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/progress-dot-on.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/progress-dot-on16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/progress-dot-on16.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/ubuntu-logo.grub:
--------------------------------------------------------------------------------
1 | if background_color 44,0,30,0; then
2 | clear
3 | fi
4 |
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth:
--------------------------------------------------------------------------------
1 | [Plymouth Theme]
2 | Name=Ubuntu Logo
3 | Description=A theme that features a blank background with a logo.
4 | ModuleName=script
5 |
6 | [script]
7 | ImageDir=/usr/share/plymouth/themes/darwin
8 | ScriptFile=/usr/share/plymouth/themes/darwin/darwin.script
9 |
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/ubuntu-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rizwansoaib/macbuntu/b8033c38de1db47fdb268afb94cc282610baf5ab/plymouth/themes/ubuntu-logo/ubuntu-logo.png
--------------------------------------------------------------------------------
/plymouth/themes/ubuntu-logo/ubuntu-logo.script:
--------------------------------------------------------------------------------
1 | # ubuntu-logo.script - boot splash plugin
2 | #
3 | # Copyright (C) 2009 Canonical Ltd.
4 | #
5 | # This program is free software; you can redistribute it and/or modify
6 | # it under the terms of the GNU General Public License as published by
7 | # the Free Software Foundation; either version 2, or (at your option)
8 | # any later version.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program; if not, write to the Free Software
17 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 | # 02111-1307, USA.
19 | #
20 | # Written by: Alberto Milone
21 | #
22 | # Based on the example provided with the "script plugin" written by:
23 | # Charlie Brej
24 | #
25 | # Question stuff written by: Markus Waas
26 | #
27 | #
28 |
29 | # Set the text colour in (rgb / 256)
30 | text_colour.red = 1.0;
31 | text_colour.green = 1.0;
32 | text_colour.blue = 1.0;
33 |
34 | # Tinted text #988592
35 | tinted_text_colour.red = 0.59;
36 | tinted_text_colour.green = 0.52;
37 | tinted_text_colour.blue = 0.57;
38 |
39 | # Action Text - #ffffff - RGB 255 255 255
40 | action_text_colour.red = 1.0;
41 | action_text_colour.green = 1.0;
42 | action_text_colour.blue = 1.0;
43 |
44 | # Orange - #ff4012 - RGB 255 64 18
45 | debugsprite = Sprite();
46 | debugsprite_bottom = Sprite();
47 | debugsprite_medium = Sprite();
48 |
49 | # Ubuntu Font
50 | ubuntufont = "Ubuntu, sans-serif 11";
51 | ubuntualignment = "center";
52 |
53 |
54 | # are we currently prompting for a password?
55 | prompt_active = 0;
56 |
57 | # General purpose function to create text
58 | fun WriteText (text, colour) {
59 | image = Image.Text (text, colour.red, colour.green, colour.blue, color.alpha, ubuntufont, ubuntualignment);
60 | return image;
61 | }
62 |
63 | fun ImageToText (text) {
64 | image = WriteText (text, text_colour);
65 | return image;
66 | }
67 |
68 | fun ImageToTintedText (text) {
69 | image = WriteText (text, tinted_text_colour);
70 | return image;
71 | }
72 |
73 | fun ImageToActionText (text) {
74 | image = WriteText (text, action_text_colour);
75 | return image;
76 | }
77 |
78 | fun Debug(text) {
79 | debugsprite.SetImage(ImageToText (text));
80 | }
81 |
82 | fun DebugBottom(text) {
83 | debugsprite_bottom.SetImage(ImageToText (text));
84 | debugsprite_bottom.SetPosition(0, (Window.GetHeight (0) - 20), 1);
85 | }
86 |
87 | fun DebugMedium(text) {
88 | debugsprite_medium.SetImage(ImageToText (text));
89 | debugsprite_medium.SetPosition(0, (Window.GetHeight (0) - 60), 1);
90 | }
91 |
92 | fun TextYOffset() {
93 | local.y;
94 | local.text_height;
95 | local.min_height;
96 |
97 | # Put the 1st line below the logo + some spacing
98 | y = logo.y + logo.height + (progress_indicator.bullet_height * 7 ); # + logo_spacing;
99 |
100 | text_height = first_line_height * 7.5;
101 |
102 | min_height = Window.GetHeight();
103 | if (y + text_height > min_height)
104 | y = min_height - text_height;
105 |
106 | if (y < progress_indicator.y + progress_indicator.height)
107 | return progress_indicator.y + progress_indicator.height;
108 | return y;
109 | }
110 |
111 | #------------------------------String functions-------------------------------
112 |
113 | # This is the equivalent for strstr()
114 | fun StringString(string, substring) {
115 | start = 0;
116 | while (String(string).CharAt (start)) {
117 | walk = 0;
118 | while (String(substring).CharAt (walk) == String(string).CharAt (start + walk) ) {
119 | walk++;
120 | if (!String(substring).CharAt (walk)) return start;
121 | }
122 | start++;
123 | }
124 |
125 | return NULL;
126 | }
127 |
128 | fun StringLength (string) {
129 | index = 0;
130 | while (String(string).CharAt(index)) index++;
131 | return index;
132 | }
133 |
134 | fun StringCopy (source, beginning, end) {
135 | local.destination = "";
136 | for (index = beginning; ( ( (end == NULL) || (index <= end) ) && (String(source).CharAt(index)) ); index++) {
137 | local.destination += String(source).CharAt(index);
138 | }
139 |
140 | return local.destination;
141 | }
142 |
143 | fun StringReplace (source, pattern, replacement) {
144 | local.found = StringString(source, pattern);
145 | if (local.found == NULL)
146 | return source;
147 |
148 | local.new_string = StringCopy (source, 0, local.found - 1) +
149 | replacement +
150 | StringCopy (source, local.found + StringLength(pattern), NULL);
151 |
152 | return local.new_string;
153 | }
154 |
155 | # it makes sense to use it only for
156 | # numbers up to 100
157 | fun StringToInteger (str) {
158 | int = -1;
159 | for (i=0; i<=100; i++) {
160 | if (i+"" == str) {
161 | int = i;
162 | break;
163 | }
164 | }
165 | return int;
166 | }
167 |
168 | #-----------------------------------------------------------------------------
169 | # Previous background colour
170 | # #300a24 --> 0.19, 0.04, 0.14
171 | # New background colour
172 | # #2c001e --> 0.16, 0.00, 0.12
173 | #
174 | Window.SetBackgroundTopColor (0.16, 0.00, 0.12); # Nice colour on top of the screen fading to
175 | Window.SetBackgroundBottomColor (0.16, 0.00, 0.12); # an equally nice colour on the bottom
176 |
177 | bits_per_pixel = Window.GetBitsPerPixel ();
178 | if (bits_per_pixel == 4) {
179 | logo_filename = "ubuntu-logo16.png";
180 | progress_dot_off_filename = "progress-dot-off16.png";
181 | progress_dot_on_filename = "progress-dot-on16.png";
182 | password_field_filename = "password-field16.png";
183 | question_field_filename = "password-field16.png";
184 | } else {
185 | logo_filename = "ubuntu-logo.png";
186 | progress_dot_off_filename = "progress-dot-off.png";
187 | progress_dot_on_filename = "progress-dot-on.png";
188 | password_field_filename = "password-field.png";
189 | question_field_filename = "password-field.png";
190 | }
191 |
192 | logo.image = Image (logo_filename);
193 | logo.sprite = Sprite ();
194 | logo.sprite.SetImage (logo.image);
195 | logo.width = logo.image.GetWidth ();
196 | logo.height = logo.image.GetHeight ();
197 | logo.x = Window.GetX () + Window.GetWidth () / 2 - logo.width / 2;
198 | logo.y = Window.GetY () + Window.GetHeight () / 2 - logo.height;
199 | logo.z = 1000;
200 | logo.sprite.SetX (logo.x);
201 | logo.sprite.SetY (logo.y);
202 | logo.sprite.SetZ (logo.z);
203 | logo.sprite.SetOpacity (1);
204 |
205 | # Spacing below the logo - in pixels
206 | logo_spacing = logo.height * 4;
207 |
208 | message_notification[0].image = ImageToTintedText ("");
209 | message_notification[1].image = ImageToTintedText ("");
210 | fsck_notification.image = ImageToActionText ("");
211 |
212 | status = "normal";
213 |
214 | progress_indicator.bullet_off = Image (progress_dot_off_filename);
215 | progress_indicator.bullet_on = Image (progress_dot_on_filename);
216 | progress_indicator.bullet_width = progress_indicator.bullet_off.GetWidth ();
217 | progress_indicator.bullet_height = progress_indicator.bullet_off.GetHeight ();
218 | progress_indicator.bullet_hspacing = progress_indicator.bullet_width * 1.1;
219 | progress_indicator.width = progress_indicator.bullet_width * 5;
220 | progress_indicator.height = progress_indicator.bullet_height;
221 | progress_indicator.y = logo.y + logo.height + (logo.height / 4);
222 | progress_indicator.x = Window.GetX () + Window.GetWidth () / 2 - progress_indicator.width / 2; # logo.x + 26;
223 |
224 | # use a fixed string with ascending and descending stems to calibrate the
225 | # bounding box for the first message, so the messages below don't move up
226 | # and down according to *their* height.
227 | first_line_height = ImageToTintedText ("AfpqtM").GetHeight();
228 |
229 | # if the user has a 640x480 or 800x600 display, we can't quite fit everything
230 | # (including passphrase prompts) with the target spacing, so scoot the text up
231 | # a bit if needed.
232 | top_of_the_text = TextYOffset();
233 |
234 | #-----------------------------------------Logo functions------------------------------
235 |
236 | # Call this when updating the screen
237 | fun draw_logo () {
238 | logo.sprite.SetX (logo.x);
239 | logo.sprite.SetY (logo.y);
240 | logo.sprite.SetZ (logo.z);
241 | logo.sprite.SetOpacity (1);
242 | }
243 |
244 |
245 | #-----------------------------------------Progress Indicator--------------------------
246 | fun set_progress_indicator () {
247 |
248 |
249 | # Here we assume that we can store half bullets on each half of the screen
250 | # together with some spacing
251 | local.x = progress_indicator.x;
252 |
253 | for (index = 0; index <= 4; index++) {
254 | # Set the "off" bullets
255 | progress_indicator.bullets_off[index].sprite = Sprite (progress_indicator.bullet_off);
256 | progress_indicator.bullets_off[index].sprite.SetPosition (local.x, progress_indicator.y, 1000);
257 | progress_indicator.bullets_off[index].x = local.x;
258 | progress_indicator.bullets_off[index].y = progress_indicator.y;
259 | progress_indicator.bullets_off[index].sprite.SetOpacity (1);
260 |
261 | #local.debug_medium_string = "Progress indicator " + index + ": x = " + progress_indicator.bullets_off[index].x +
262 | # ", y = " + progress_indicator.bullets_off[index].y + ", logo width = " + logo.width +
263 | # ", logo height = " + logo.height + " " + screen_width + " " + screen_height;
264 | #
265 | #(index % 2) && DebugMedium (local.debug_medium_string) || DebugBottom (local.debug_medium_string);
266 |
267 | # Set the "on" bullets on top of the "off" bullets and make them transparent
268 | progress_indicator.bullets_on[index].sprite = Sprite (progress_indicator.bullet_on);
269 | progress_indicator.bullets_on[index].x = progress_indicator.bullets_off[index].x;
270 | progress_indicator.bullets_on[index].y = progress_indicator.bullets_off[index].y;
271 | progress_indicator.bullets_on[index].sprite.SetPosition (progress_indicator.bullets_on[index].x, progress_indicator.bullets_on[index].y, 10000);
272 |
273 | progress_indicator.bullets_on[index].sprite.SetOpacity (0);
274 |
275 | local.x += progress_indicator.bullet_hspacing;
276 | }
277 | #local.debug_string = "Progress indicator: x1 = " + progress_indicator.x + ", x2 = " + local.x + ", y = " + progress_indicator.y +
278 | # ", x logo = " + logo.x + ", y logo = " + logo.y + ", indicator width = " + progress_indicator.width;
279 | #Debug(progress_indicator.bullets_off[0].x);
280 | }
281 |
282 |
283 | # We have 2 bullets, one on top of the other:
284 | # The white one is on top of the red one and the former should
285 | # slowly fade so as to get a nice transition effect.
286 | fun switch_on_bullet (bullets_off, bullets_on, bullet_number, opacity) {
287 | local.x = bullets_on[bullet_number].x;
288 | local.y = bullets_on[bullet_number].y;
289 | local.z = bullets_on[bullet_number].z;
290 |
291 | # Hide the bullets which are off
292 | bullets_off[bullet_number].sprite.SetOpacity (0);
293 |
294 | # Show the bullets which are on
295 | bullets_on[bullet_number].sprite.SetPosition (local.x, local.y, local.z);
296 | bullets_on[bullet_number].sprite.SetOpacity (opacity);
297 |
298 | # Bump the number of times we have switched on bullets
299 | global.times_bullets_switched++;
300 | }
301 |
302 | fun switch_off_bullets () {
303 | # Debug("Switching off progress indicator");
304 |
305 | set_progress_indicator ();
306 | global.times_bullets_switched = 0;
307 | global.on_off = 1;
308 | }
309 |
310 | # This is something that we can call when we exit
311 | fun switch_on_bullets () {
312 | # Debug("Switching off progress indicator");
313 | if (!global.progress_indicator.bullets_on) set_progress_indicator ();
314 | local = global.progress_indicator;
315 |
316 | for (index = 0; bullets_on[index]; index++) {
317 | switch_on_bullet (bullets_off, bullets_on, index, 1.0);
318 | }
319 | }
320 |
321 |
322 | # Implement in boot progress callback
323 | fun animate_progress_indicator (progress, time) {
324 | if (global.progress_time == NULL) {
325 | global.progress_time = progress; #time;
326 | switch_off_bullets ();
327 | }
328 |
329 | # Debug ("progress = " + progress + ", time = " + time + " times switched = " + global.times_bullets_switched + " on_off " + global.on_off);
330 |
331 | # if (global.times_bullets_switched == NULL)
332 | # global.times_bullets_switched = 5;
333 |
334 | # if (global.on_off == NULL)
335 | # global.on_off = 0;
336 |
337 | if ((progress - global.progress_time) >= 1.0) {
338 | global.progress_time = progress;
339 |
340 | if (global.times_bullets_switched == 5) {
341 | # Change which bullets are switched on
342 | # and which ones are switched off
343 | global.on_off = !global.on_off;
344 | global.times_bullets_switched = 0;
345 | }
346 |
347 | if (global.on_off) {
348 | switch_on_bullet (progress_indicator.bullets_off, progress_indicator.bullets_on,
349 | global.times_bullets_switched, 1.0);
350 | }
351 | else {
352 | switch_on_bullet (progress_indicator.bullets_on, progress_indicator.bullets_off,
353 | global.times_bullets_switched, 1.0);
354 | }
355 | }
356 |
357 |
358 | # Start setting bullets to "on" with translucency
359 | # for (index = 0; index <= 5; index++) {
360 | # opacity = 0.0;
361 | # while (opacity <= 1.0) {
362 | # switch_on_bullet (progress_indicator.bullets_off, progress_indicator.bullets_on,
363 | # index, opacity);
364 | # opacity += 0.1;
365 | # }
366 | # }
367 | }
368 |
369 |
370 | #-----------------------------------------Label utility functions---------------------
371 |
372 | # label should be either a string or NULL
373 | # Images for n lines will be created and returned as items of the
374 | # message_label array
375 | #
376 | fun get_message_label (label, is_fake, is_action_line) {
377 | # Debug("Get Label position");
378 | local.message_label;
379 |
380 | if (is_fake)
381 | # Create a fake label so as to get the y coordinate of
382 | # a standard-length label.
383 | local.message_image = ImageToTintedText ("This is a fake message");
384 | else
385 | local.message_image = (is_action_line) && ImageToActionText (label) || ImageToTintedText (label);
386 |
387 | message_label.width = message_image.GetWidth ();
388 | message_label.height = message_image.GetHeight ();
389 |
390 | # Center the line horizontally
391 | message_label.x = Window.GetX () + Window.GetWidth () / 2 - message_label.width / 2;
392 |
393 | message_label.y = top_of_the_text;
394 |
395 | # Put the 2nd line below the fsck line
396 | if (is_action_line) {
397 | local.fsck_label.y = message_label.y + (first_line_height + first_line_height / 2);
398 | message_label.y = local.fsck_label.y + (first_line_height * 2);
399 | }
400 |
401 | # Debug("action label x = " + message_label.x + " y = " + message_label.y );
402 |
403 | # message_debug = "msg_x = " + message_label.x + " msg_y = " + message_label.y +
404 | # "msg_width = " + message_label.width + " msg_height = " +
405 | # message_label.height + " message = " + label;
406 | # Debug(message_debug);
407 |
408 | return message_label;
409 |
410 | }
411 |
412 | # Create an fsck label and/or get its position
413 | fun get_fsck_label (label, is_fake) {
414 | # Debug("Get Label position");
415 | local.fsck_label = global.progress_label;
416 |
417 | if (is_fake)
418 | fsck_label.image = ImageToTintedText ("This is a fake message");
419 | else
420 | fsck_label.image = ImageToTintedText (label);
421 |
422 | fsck_label.width = fsck_label.image.GetWidth ();
423 | fsck_label.height = fsck_label.image.GetHeight ();
424 |
425 | # Centre the label horizontally
426 | fsck_label.x = Window.GetX () + Window.GetWidth () / 2 - fsck_label.width / 2;
427 |
428 | local.first_label = get_message_label (label, 1, 0);
429 |
430 | # Place the label below the 1st message line
431 | fsck_label.y = local.first_label.y + local.first_label.height + (local.first_label.height / 2);
432 |
433 | # message_debug = "msg_x = " + fsck_label.x + " msg_y = " + fsck_label.y +
434 | # "msg_width = " + fsck_label.width + " msg_height = " +
435 | # fsck_label.height + " message = " + label;
436 | # Debug(message_debug);
437 |
438 | return fsck_label;
439 | }
440 |
441 | #-----------------------------------------Message stuff --------------------------------
442 | #
443 |
444 | # Set up a message label
445 | #
446 | # NOTE: this is called when doing something like 'plymouth message "hello world"'
447 | #
448 | fun setup_message (message_text, x, y, z, index) {
449 | # Debug("Message setup");
450 | global.message_notification[index].image = (index) && ImageToActionText (message_text) || ImageToTintedText (message_text);
451 |
452 | # Set up the text message, if any
453 | message_notification[index].x = x;
454 | message_notification[index].y = y;
455 | message_notification[index].z = z;
456 |
457 | message_notification[index].sprite = Sprite ();
458 | message_notification[index].sprite.SetImage (message_notification[index].image);
459 | message_notification[index].sprite.SetX (message_notification[index].x);
460 | message_notification[index].sprite.SetY (message_notification[index].y);
461 | message_notification[index].sprite.SetZ (message_notification[index].z);
462 |
463 | }
464 |
465 | fun show_message (index) {
466 | if (global.message_notification[index].sprite) global.message_notification[index].sprite.SetOpacity(1);
467 | }
468 |
469 | fun hide_message (index) {
470 | if (global.message_notification[index].sprite) global.message_notification[index].sprite.SetOpacity(0);
471 | }
472 |
473 |
474 |
475 |
476 | # the callback function is called when new message should be displayed.
477 | # First arg is message to display.
478 | fun message_callback (message)
479 | {
480 | # Debug("Message callback");
481 | is_fake = 0;
482 | if (!message || (message == "")) is_fake = 1;
483 |
484 | local.substring = "keys:";
485 |
486 | # Look for the "keys:" prefix
487 | local.keys = StringString(message, local.substring);
488 |
489 | local.is_action_line = (keys != NULL);
490 | #Debug("keys " + local.keys + " substring length = " + StringLength(local.substring));
491 |
492 | # Get the message without the "keys:" prefix
493 | if (keys != NULL)
494 | message = StringCopy (message, keys + StringLength(local.substring), NULL);
495 |
496 | # Get the message without the "fsckd-cancel-msg" prefix as we don't support i18n
497 | substring = "fsckd-cancel-msg:";
498 | keys = StringString(message, substring);
499 | if (keys != NULL)
500 | message = StringCopy(message, keys + StringLength(substring), NULL);
501 |
502 | local.label.is_fake = is_fake;
503 | label = get_message_label(message, is_fake, is_action_line);
504 | label.z = 10000;
505 |
506 | setup_message (message, label.x, label.y, label.z, is_action_line);
507 | if (prompt_active && local.is_action_line)
508 | hide_message (is_action_line);
509 | else
510 | show_message (is_action_line);
511 |
512 | }
513 |
514 |
515 | #-----------------------------------------Display Password stuff -----------------------
516 | #
517 |
518 | fun password_dialogue_setup (message_label) {
519 | # Debug("Password dialog setup");
520 |
521 | local.entry;
522 | local.bullet_image;
523 |
524 | bullet_image = Image (progress_dot_off_filename);
525 | entry.image = Image (password_field_filename);
526 |
527 | # Hide the normal labels
528 | prompt_active = 1;
529 | if (message_notification[1].sprite) hide_message (1);
530 |
531 | # Set the prompt label
532 | label = get_message_label(message_label, 0, 1);
533 | label.z = 10000;
534 |
535 | setup_message (message_label, label.x, label.y, label.z, 2);
536 | show_message (2);
537 |
538 | # Set up the text entry which contains the bullets
539 | entry.sprite = Sprite ();
540 | entry.sprite.SetImage (entry.image);
541 |
542 | # Centre the box horizontally
543 | entry.x = Window.GetX () + Window.GetWidth () / 2 - entry.image.GetWidth () / 2;
544 |
545 | # Put the entry below the second label.
546 | entry.y = message_notification[2].y + label.height;
547 |
548 | #Debug ("entry x = " + entry.x + ", y = " + entry.y);
549 | entry.z = 10000;
550 | entry.sprite.SetX (entry.x);
551 | entry.sprite.SetY (entry.y);
552 | entry.sprite.SetZ (entry.z);
553 |
554 | global.password_dialogue = local;
555 | }
556 |
557 | fun password_dialogue_opacity (opacity) {
558 | # Debug("Password dialog opacity");
559 | global.password_dialogue.opacity = opacity;
560 | local = global.password_dialogue;
561 |
562 | # You can make the box translucent with a float
563 | # entry.sprite.SetOpacity (0.3);
564 | entry.sprite.SetOpacity (opacity);
565 | label.sprite.SetOpacity (opacity);
566 |
567 | if (bullets) {
568 | for (index = 0; bullets[index]; index++) {
569 | bullets[index].sprite.SetOpacity (opacity);
570 | }
571 | }
572 | }
573 |
574 |
575 | # The callback function is called when the display should display a password dialogue.
576 | # First arg is prompt string, the second is the number of bullets.
577 | fun display_password_callback (prompt, bullets) {
578 | # Debug("Password dialog setup");
579 |
580 | global.status = "password";
581 | if (!global.password_dialogue) password_dialogue_setup(prompt);
582 | password_dialogue_opacity (1);
583 | bullet_width = password_dialogue.bullet_image.GetWidth();
584 | bullet_y = password_dialogue.entry.y +
585 | password_dialogue.entry.image.GetHeight () / 2 -
586 | password_dialogue.bullet_image.GetHeight () / 2;
587 | margin = bullet_width;
588 | spaces = Math.Int( (password_dialogue.entry.image.GetWidth () - (margin * 2) ) / ( 2 * bullet_width / 3 ) );
589 | #Debug ("spaces = " + spaces + ", bullets = " + bullets);
590 | bullets_area.width = margin + spaces * ( 2 * bullet_width / 3);
591 | bullets_area.x = Window.GetX () + Window.GetWidth () / 2 - bullets_area.width / 2;
592 | #DebugBottom ("pwd_entry x = " + password_dialogue.entry.x + ", bullets_area.x = " + bullets_area.x + ", bullets_area.width = " + bullets_area.width);
593 | if (bullets > spaces)
594 | bullets = spaces;
595 | for (index = 0; password_dialogue.bullets[index] || index < spaces ; index++){
596 | if (!password_dialogue.bullets[index]) {
597 | password_dialogue.bullets[index].sprite = Sprite ();
598 | password_dialogue.bullets[index].sprite.SetImage (password_dialogue.bullet_image);
599 | password_dialogue.bullets[index].x = bullets_area.x + # password_dialogue.entry.x + margin +
600 | index * ( 2 * bullet_width / 3 ) ;
601 | password_dialogue.bullets[index].sprite.SetX (password_dialogue.bullets[index].x);
602 | password_dialogue.bullets[index].y = bullet_y;
603 | password_dialogue.bullets[index].sprite.SetY (password_dialogue.bullets[index].y);
604 | password_dialogue.bullets[index].z = password_dialogue.entry.z + 100 - index;
605 | password_dialogue.bullets[index].sprite.SetZ (password_dialogue.bullets[index].z);
606 | }
607 |
608 | password_dialogue.bullets[index].sprite.SetOpacity (0);
609 |
610 | if (index < bullets ) {
611 | password_dialogue.bullets[index].sprite.SetOpacity (1);
612 | }
613 | }
614 | }
615 |
616 | Plymouth.SetDisplayPasswordFunction (display_password_callback);
617 |
618 | Plymouth.SetMessageFunction (message_callback);
619 |
620 | Plymouth.SetBootProgressFunction (animate_progress_indicator);
621 |
622 | # Plymouth.SetBootProgressFunction: the callback function is called with two numbers, the progress (between 0 and 1) and the time spent booting so far
623 | # Plymouth.SetRootMountedFunction: the callback function is called when a new root is mounted
624 | # Plymouth.SetKeyboardInputFunction: the callback function is called with a string containing a new character entered on the keyboard
625 |
626 | #----------------------------------------- FSCK Counter --------------------------------
627 |
628 | # Initialise the counter
629 | fun init_fsck_count () {
630 | # The number of fsck checks in this cycle
631 | global.counter.total = 0;
632 | # The number of fsck checks already performed + the current one
633 | global.counter.current = 1;
634 | # The previous fsck
635 | global.counter.last = 0;
636 | }
637 |
638 | # Increase the total counter
639 | fun increase_fsck_count () {
640 | global.counter.total++;
641 | }
642 |
643 | fun increase_current_fsck_count () {
644 | global.counter.last = global.counter.current++;
645 | }
646 |
647 | # Clear the counter
648 | fun clear_fsck_count () {
649 | global.counter = NULL;
650 | init_fsck_count ();
651 | }
652 |
653 | #----------------------------------------- Progress Label ------------------------------
654 |
655 |
656 | # Change the opacity level of a progress label
657 | #
658 | # opacity = 1 -> show
659 | # opacity = 0 -> hide
660 | # opacity = 0.3 (or any other float) -> translucent
661 | #
662 | fun set_progress_label_opacity (opacity) {
663 | # the label
664 | progress_label.sprite.SetOpacity (opacity);
665 |
666 | # Make the slot available again when hiding the bar
667 | # So that another bar can take its place
668 | if (opacity == 0) {
669 | progress_label.is_available = 1;
670 | progress_label.device = "";
671 | }
672 | }
673 |
674 | # Set up a new Progress Bar
675 | #
676 | # TODO: Make it possible to reuse (rather than recreate) a bar
677 | # if .is_available = 1. Ideally this would just reset the
678 | # label, the associated
679 | # device and the image size of the sprite.
680 |
681 | fun init_progress_label (device, status_string) {
682 | # Make the slot unavailable
683 | global.progress_label.is_available = 0;
684 | progress_label.progress = 0;
685 | progress_label.device = device;
686 | progress_label.status_string = status_string;
687 | }
688 |
689 | # See if the progress label is keeping track of the fsck
690 | # of "device"
691 | #
692 | fun device_has_progress_label (device) {
693 | #DebugBottom ("label device = " + progress_label.device + " checking device " + device);
694 | return (progress_label.device == device);
695 | }
696 |
697 | # Update the Progress bar which corresponds to index
698 | #
699 | fun update_progress_label (progress) {
700 | # If progress is NULL then we just refresh the label.
701 | # This happens when only counter.total has changed.
702 | if (progress != NULL) {
703 | progress_label.progress = progress;
704 |
705 | #Debug("device " + progress_label.device + " progress " + progress);
706 |
707 | # If progress >= 100% hide the label and make it available again
708 | if (progress >= 100) {
709 | set_progress_label_opacity (0);
710 |
711 | # See if we any other fsck check is complete
712 | # and, if so, hide the progress bars and the labels
713 | on_fsck_completed ();
714 |
715 | return 0;
716 | }
717 | }
718 | # Update progress label here
719 | #
720 | # FIXME: the queue logic from this theme should really be moved into mountall
721 | # instead of using string replacement to deal with localised strings.
722 | label = StringReplace (progress_label.status_string[0], "%1$d", global.counter.current);
723 | label = StringReplace (label, "%2$d", global.counter.total);
724 | label = StringReplace (label, "%3$d", progress_label.progress);
725 | label = StringReplace (label, "%%", "%");
726 |
727 | progress_label = get_fsck_label (label, 0);
728 | #progress_label.progress = progress;
729 |
730 | progress_label.sprite = Sprite (progress_label.image);
731 |
732 | # Set up the bar
733 | progress_label.sprite.SetPosition(progress_label.x, progress_label.y, 1);
734 |
735 | set_progress_label_opacity (1);
736 |
737 | }
738 |
739 | # Refresh the label so as to update counters
740 | fun refresh_progress_label () {
741 | update_progress_label (NULL);
742 | }
743 |
744 | #----------------------------------------- FSCK Queue ----------------------------------
745 |
746 | # Initialise the fsck queue
747 | fun init_queue () {
748 | global.fsck_queue[0].device;
749 | global.fsck_queue[0].progress;
750 | global.fsck_queue.counter = 0;
751 | global.fsck_queue.biggest_item = 0;
752 | }
753 |
754 | fun clear_queue () {
755 | global.fsck_queue = NULL;
756 | init_queue ();
757 | }
758 |
759 | # Return either the device index in the queue or -1
760 | fun queue_look_up_by_device (device) {
761 | for (i=0; i <= fsck_queue.biggest_item; i++) {
762 | if ((fsck_queue[i]) && (fsck_queue[i].device == device))
763 | return i;
764 | }
765 | return -1;
766 | }
767 |
768 | # Keep track of an fsck process in the queue
769 | fun add_fsck_to_queue (device, progress) {
770 | # Look for an empty slot in the queue
771 | for (i=0; global.fsck_queue[i].device; i++) {
772 | continue;
773 | }
774 | local.index = i;
775 |
776 | # Set device and progress
777 | global.fsck_queue[local.index].device = device;
778 | global.fsck_queue[local.index].progress = progress;
779 |
780 | # Increase the queue counter
781 | global.fsck_queue.counter++;
782 |
783 | # Update the max index of the array for iterations
784 | if (local.index > global.fsck_queue.biggest_item)
785 | global.fsck_queue.biggest_item = local.index;
786 |
787 | #DebugMedium ("Adding " + device + " at " + local.index);
788 | }
789 |
790 | fun is_queue_empty () {
791 | return (fsck_queue.counter == 0);
792 | }
793 |
794 | fun is_progress_label_available () {
795 | return (progress_label.is_available == 1);
796 | }
797 |
798 |
799 | # This should cover the case in which the fsck checks in
800 | # the queue are completed before the ones showed in the
801 | # progress label
802 | fun on_queued_fsck_completed () {
803 | if (!is_queue_empty ())
804 | return;
805 |
806 | # Hide the extra label, if any
807 | #if (progress_bar.extra_label.sprite)
808 | # progress_bar.extra_label.sprite.SetOpacity(0);
809 | }
810 |
811 | fun remove_fsck_from_queue (index) {
812 | # Free memory which was previously allocated for
813 | # device and progress
814 | global.fsck_queue[index].device = NULL;
815 | global.fsck_queue[index].progress = NULL;
816 |
817 | # Decrease the queue counter
818 | global.fsck_queue.counter--;
819 |
820 | # See if there are other processes in the queue
821 | # if not, clear the extra_label
822 | on_queued_fsck_completed ();
823 | }
824 |
825 | fun on_fsck_completed () {
826 | # We have moved on to tracking the next fsck
827 | increase_current_fsck_count ();
828 |
829 | if (!is_progress_label_available ())
830 | return;
831 |
832 | if (!is_queue_empty ())
833 | return;
834 |
835 | # Hide the progress label
836 | if (progress_label.sprite)
837 | progress_label.sprite.SetOpacity (0);
838 |
839 | # Clear the queue
840 | clear_queue ();
841 |
842 | # Clear the fsck counter
843 | clear_fsck_count ();
844 | }
845 |
846 | # Update an fsck process that we keep track of in the queue
847 | fun update_progress_in_queue (index, device, progress) {
848 | # If the fsck is complete, remove it from the queue
849 | if (progress >= 100) {
850 | remove_fsck_from_queue (index);
851 | on_queued_fsck_completed ();
852 | return;
853 | }
854 |
855 | global.fsck_queue[index].device = device;
856 | global.fsck_queue[index].progress = progress;
857 |
858 | }
859 |
860 | # TODO: Move it to some function
861 | # Create an empty queue
862 | #init_queue ();
863 |
864 |
865 | #----------------------------------------- FSCK Functions ------------------------------
866 |
867 |
868 | # Either add a new bar for fsck checks or update an existing bar
869 | #
870 | # NOTE: no more than "progress_bar.max_number" bars are allowed
871 | #
872 | fun fsck_check (device, progress, status_string) {
873 |
874 | # The 1st time this will take place
875 | if (!global.progress_label) {
876 | # Increase the fsck counter
877 | increase_fsck_count ();
878 |
879 | # Set up a new label for the check
880 | init_progress_label (device, status_string);
881 | update_progress_label (progress);
882 |
883 | return;
884 | }
885 |
886 |
887 | if (device_has_progress_label (device)) {
888 | # Update the progress of the existing label
889 | update_progress_label (progress);
890 | }
891 | else {
892 | # See if there's already a slot in the queue for the device
893 | local.queue_device_index = queue_look_up_by_device(device);
894 |
895 | # See if the progress_label is available
896 | if (progress_label.is_available) {
897 |
898 | # local.my_string = "available index " + local.available_index + " progress_bar counter is " + progress_bar.counter;
899 | # Debug(local.my_string);
900 |
901 |
902 | # If the fsck check for the device was in the queue, then
903 | # remove it from the queue
904 | if (local.queue_device_index >= 0) {
905 | remove_fsck_from_queue (index);
906 | }
907 | else {
908 | # Increase the fsck counter
909 | increase_fsck_count ();
910 | }
911 |
912 | # local.my_string += local.message;
913 | #Debug("setting new label for device " + device + " progress " + progress);
914 |
915 | # Set up a new label for the check
916 | init_progress_label (device, status_string);
917 | update_progress_label (progress);
918 |
919 | }
920 | # If the progress_label is not available
921 | else {
922 |
923 | # If the fsck check for the device is already in the queue
924 | # just update its progress in the queue
925 | if (local.queue_device_index >= 0) {
926 | #DebugMedium("Updating queue at " + local.queue_device_index + " for device " + device);
927 | update_progress_in_queue (local.queue_device_index, device, progress);
928 | }
929 | # Otherwise add the check to the queue
930 | else {
931 | #DebugMedium("Adding device " + device + " to queue at " + local.queue_device_index);
932 | add_fsck_to_queue (device, progress);
933 |
934 | # Increase the fsck counter
935 | increase_fsck_count ();
936 |
937 | refresh_progress_label ();
938 | }
939 |
940 | }
941 | }
942 |
943 | # if (!is_queue_empty ()) {
944 | # DebugBottom("Extra label for "+ device);
945 | #}
946 | # else {
947 | # DebugBottom("No extra label for " + device + ". 1st Device in the queue "+ fsck_queue[0].device + " counter = " + global.fsck_queue.counter);
948 | # }
949 | }
950 |
951 |
952 | #-----------------------------------------Update Status stuff --------------------------
953 | #
954 | # The update_status_callback is what we can use to pass plymouth whatever we want so
955 | # as to make use of features which are available only in this program (as opposed to
956 | # being available for any theme for the script plugin).
957 | #
958 | # Example:
959 | #
960 | # Thanks to the current implementation, some scripts can call "plymouth --update=fsck:sda1:40"
961 | # and this program will know that 1) we're performing and fsck check, 2) we're checking sda1,
962 | # 3) the program should set the label progress to 40%
963 | #
964 | # Other features can be easily added by parsing the string that we pass plymouth with "--update"
965 | #
966 | fun update_status_callback (status) {
967 | # Debug(status);
968 | if (!status) return;
969 |
970 | string_it = 0;
971 | update_strings[string_it] = "";
972 |
973 | for (i=0; (String(status).CharAt(i) != ""); i++) {
974 | local.temp_char = String(status).CharAt(i);
975 | if (temp_char != ":")
976 | update_strings[string_it] += temp_char;
977 | else
978 | update_strings[++string_it] = "";
979 | }
980 |
981 | # my_string = update_strings[0] + " " + update_strings[1] + " " + update_strings[2];
982 | # Debug(my_string);
983 | # Let's assume that we're dealing with these strings fsck:sda1:40
984 | if ((string_it >= 2) && (update_strings[0] == "fsck")) {
985 |
986 | device = update_strings[1];
987 | progress = update_strings[2];
988 | status_string[0] = update_strings[3]; # "Checking disk %1$d of %2$d (%3$d %% complete)"
989 | if (!status_string[0])
990 | status_string[0] = "Checking disk %1$d of %2$d (%3$d %% complete)";
991 |
992 | if ((device != "") && (progress != "")) {
993 | progress = StringToInteger (progress);
994 |
995 | # Make sure that the fsck_queue is initialised
996 | if (!global.fsck_queue)
997 | init_queue ();
998 |
999 | # Make sure that the fsck counter is initialised
1000 | if (!global.counter)
1001 | init_fsck_count ();
1002 |
1003 | # if (!global.progress_bar.extra_label.sprite)
1004 | # create_extra_fsck_label ();
1005 |
1006 | # Keep track of the fsck check
1007 | fsck_check (device, progress, status_string);
1008 | }
1009 |
1010 | }
1011 |
1012 | # systemd-fsckd pass fsckd::