├── .gitignore ├── LICENSE ├── README.md ├── bundle.sh ├── docs └── images │ ├── compact_expanded.jpg │ └── full.jpg └── package ├── contents ├── config │ ├── config.qml │ └── main.xml └── ui │ ├── config │ ├── configAppearance.qml │ └── configGeneral.qml │ ├── lib │ ├── NumberBox.qml │ └── ReprLayout.qml │ └── main.qml └── metadata.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.plasmoid* 2 | *.jpg 3 | *.png 4 | 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | * This program is free software; you can redistribute it and/or 2 | * modify it under the terms of the GNU General Public License as 3 | * published by the Free Software Foundation; either version 2 of 4 | * the License, or (at your option) any later version. 5 | * 6 | * This program is distributed in the hope that it will be useful, 7 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9 | * GNU General Public License for more details. 10 | * 11 | * You should have received a copy of the GNU General Public License 12 | * along with this program. If not, see . GNU GENERAL PUBLIC LICENSE 13 | Version 3, 29 June 2007 14 | 15 | Copyright (C) 2007 Free Software Foundation, Inc. 16 | Everyone is permitted to copy and distribute verbatim copies 17 | of this license document, but changing it is not allowed. 18 | 19 | Preamble 20 | 21 | The GNU General Public License is a free, copyleft license for 22 | software and other kinds of works. 23 | 24 | The licenses for most software and other practical works are designed 25 | to take away your freedom to share and change the works. By contrast, 26 | the GNU General Public License is intended to guarantee your freedom to 27 | share and change all versions of a program--to make sure it remains free 28 | software for all its users. We, the Free Software Foundation, use the 29 | GNU General Public License for most of our software; it applies also to 30 | any other work released this way by its authors. You can apply it to 31 | your programs, too. 32 | 33 | When we speak of free software, we are referring to freedom, not 34 | price. Our General Public Licenses are designed to make sure that you 35 | have the freedom to distribute copies of free software (and charge for 36 | them if you wish), that you receive source code or can get it if you 37 | want it, that you can change the software or use pieces of it in new 38 | free programs, and that you know you can do these things. 39 | 40 | To protect your rights, we need to prevent others from denying you 41 | these rights or asking you to surrender the rights. Therefore, you have 42 | certain responsibilities if you distribute copies of the software, or if 43 | you modify it: responsibilities to respect the freedom of others. 44 | 45 | For example, if you distribute copies of such a program, whether 46 | gratis or for a fee, you must pass on to the recipients the same 47 | freedoms that you received. You must make sure that they, too, receive 48 | or can get the source code. And you must show them these terms so they 49 | know their rights. 50 | 51 | Developers that use the GNU GPL protect your rights with two steps: 52 | (1) assert copyright on the software, and (2) offer you this License 53 | giving you legal permission to copy, distribute and/or modify it. 54 | 55 | For the developers' and authors' protection, the GPL clearly explains 56 | that there is no warranty for this free software. For both users' and 57 | authors' sake, the GPL requires that modified versions be marked as 58 | changed, so that their problems will not be attributed erroneously to 59 | authors of previous versions. 60 | 61 | Some devices are designed to deny users access to install or run 62 | modified versions of the software inside them, although the manufacturer 63 | can do so. This is fundamentally incompatible with the aim of 64 | protecting users' freedom to change the software. The systematic 65 | pattern of such abuse occurs in the area of products for individuals to 66 | use, which is precisely where it is most unacceptable. Therefore, we 67 | have designed this version of the GPL to prohibit the practice for those 68 | products. If such problems arise substantially in other domains, we 69 | stand ready to extend this provision to those domains in future versions 70 | of the GPL, as needed to protect the freedom of users. 71 | 72 | Finally, every program is threatened constantly by software patents. 73 | States should not allow patents to restrict development and use of 74 | software on general-purpose computers, but in those that do, we wish to 75 | avoid the special danger that patents applied to a free program could 76 | make it effectively proprietary. To prevent this, the GPL assures that 77 | patents cannot be used to render the program non-free. 78 | 79 | The precise terms and conditions for copying, distribution and 80 | modification follow. 81 | 82 | TERMS AND CONDITIONS 83 | 84 | 0. Definitions. 85 | 86 | "This License" refers to version 3 of the GNU General Public License. 87 | 88 | "Copyright" also means copyright-like laws that apply to other kinds of 89 | works, such as semiconductor masks. 90 | 91 | "The Program" refers to any copyrightable work licensed under this 92 | License. Each licensee is addressed as "you". "Licensees" and 93 | "recipients" may be individuals or organizations. 94 | 95 | To "modify" a work means to copy from or adapt all or part of the work 96 | in a fashion requiring copyright permission, other than the making of an 97 | exact copy. The resulting work is called a "modified version" of the 98 | earlier work or a work "based on" the earlier work. 99 | 100 | A "covered work" means either the unmodified Program or a work based 101 | on the Program. 102 | 103 | To "propagate" a work means to do anything with it that, without 104 | permission, would make you directly or secondarily liable for 105 | infringement under applicable copyright law, except executing it on a 106 | computer or modifying a private copy. Propagation includes copying, 107 | distribution (with or without modification), making available to the 108 | public, and in some countries other activities as well. 109 | 110 | To "convey" a work means any kind of propagation that enables other 111 | parties to make or receive copies. Mere interaction with a user through 112 | a computer network, with no transfer of a copy, is not conveying. 113 | 114 | An interactive user interface displays "Appropriate Legal Notices" 115 | to the extent that it includes a convenient and prominently visible 116 | feature that (1) displays an appropriate copyright notice, and (2) 117 | tells the user that there is no warranty for the work (except to the 118 | extent that warranties are provided), that licensees may convey the 119 | work under this License, and how to view a copy of this License. If 120 | the interface presents a list of user commands or options, such as a 121 | menu, a prominent item in the list meets this criterion. 122 | 123 | 1. Source Code. 124 | 125 | The "source code" for a work means the preferred form of the work 126 | for making modifications to it. "Object code" means any non-source 127 | form of a work. 128 | 129 | A "Standard Interface" means an interface that either is an official 130 | standard defined by a recognized standards body, or, in the case of 131 | interfaces specified for a particular programming language, one that 132 | is widely used among developers working in that language. 133 | 134 | The "System Libraries" of an executable work include anything, other 135 | than the work as a whole, that (a) is included in the normal form of 136 | packaging a Major Component, but which is not part of that Major 137 | Component, and (b) serves only to enable use of the work with that 138 | Major Component, or to implement a Standard Interface for which an 139 | implementation is available to the public in source code form. A 140 | "Major Component", in this context, means a major essential component 141 | (kernel, window system, and so on) of the specific operating system 142 | (if any) on which the executable work runs, or a compiler used to 143 | produce the work, or an object code interpreter used to run it. 144 | 145 | The "Corresponding Source" for a work in object code form means all 146 | the source code needed to generate, install, and (for an executable 147 | work) run the object code and to modify the work, including scripts to 148 | control those activities. However, it does not include the work's 149 | System Libraries, or general-purpose tools or generally available free 150 | programs which are used unmodified in performing those activities but 151 | which are not part of the work. For example, Corresponding Source 152 | includes interface definition files associated with source files for 153 | the work, and the source code for shared libraries and dynamically 154 | linked subprograms that the work is specifically designed to require, 155 | such as by intimate data communication or control flow between those 156 | subprograms and other parts of the work. 157 | 158 | The Corresponding Source need not include anything that users 159 | can regenerate automatically from other parts of the Corresponding 160 | Source. 161 | 162 | The Corresponding Source for a work in source code form is that 163 | same work. 164 | 165 | 2. Basic Permissions. 166 | 167 | All rights granted under this License are granted for the term of 168 | copyright on the Program, and are irrevocable provided the stated 169 | conditions are met. This License explicitly affirms your unlimited 170 | permission to run the unmodified Program. The output from running a 171 | covered work is covered by this License only if the output, given its 172 | content, constitutes a covered work. This License acknowledges your 173 | rights of fair use or other equivalent, as provided by copyright law. 174 | 175 | You may make, run and propagate covered works that you do not 176 | convey, without conditions so long as your license otherwise remains 177 | in force. You may convey covered works to others for the sole purpose 178 | of having them make modifications exclusively for you, or provide you 179 | with facilities for running those works, provided that you comply with 180 | the terms of this License in conveying all material for which you do 181 | not control copyright. Those thus making or running the covered works 182 | for you must do so exclusively on your behalf, under your direction 183 | and control, on terms that prohibit them from making any copies of 184 | your copyrighted material outside their relationship with you. 185 | 186 | Conveying under any other circumstances is permitted solely under 187 | the conditions stated below. Sublicensing is not allowed; section 10 188 | makes it unnecessary. 189 | 190 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 191 | 192 | No covered work shall be deemed part of an effective technological 193 | measure under any applicable law fulfilling obligations under article 194 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 195 | similar laws prohibiting or restricting circumvention of such 196 | measures. 197 | 198 | When you convey a covered work, you waive any legal power to forbid 199 | circumvention of technological measures to the extent such circumvention 200 | is effected by exercising rights under this License with respect to 201 | the covered work, and you disclaim any intention to limit operation or 202 | modification of the work as a means of enforcing, against the work's 203 | users, your or third parties' legal rights to forbid circumvention of 204 | technological measures. 205 | 206 | 4. Conveying Verbatim Copies. 207 | 208 | You may convey verbatim copies of the Program's source code as you 209 | receive it, in any medium, provided that you conspicuously and 210 | appropriately publish on each copy an appropriate copyright notice; 211 | keep intact all notices stating that this License and any 212 | non-permissive terms added in accord with section 7 apply to the code; 213 | keep intact all notices of the absence of any warranty; and give all 214 | recipients a copy of this License along with the Program. 215 | 216 | You may charge any price or no price for each copy that you convey, 217 | and you may offer support or warranty protection for a fee. 218 | 219 | 5. Conveying Modified Source Versions. 220 | 221 | You may convey a work based on the Program, or the modifications to 222 | produce it from the Program, in the form of source code under the 223 | terms of section 4, provided that you also meet all of these conditions: 224 | 225 | a) The work must carry prominent notices stating that you modified 226 | it, and giving a relevant date. 227 | 228 | b) The work must carry prominent notices stating that it is 229 | released under this License and any conditions added under section 230 | 7. This requirement modifies the requirement in section 4 to 231 | "keep intact all notices". 232 | 233 | c) You must license the entire work, as a whole, under this 234 | License to anyone who comes into possession of a copy. This 235 | License will therefore apply, along with any applicable section 7 236 | additional terms, to the whole of the work, and all its parts, 237 | regardless of how they are packaged. This License gives no 238 | permission to license the work in any other way, but it does not 239 | invalidate such permission if you have separately received it. 240 | 241 | d) If the work has interactive user interfaces, each must display 242 | Appropriate Legal Notices; however, if the Program has interactive 243 | interfaces that do not display Appropriate Legal Notices, your 244 | work need not make them do so. 245 | 246 | A compilation of a covered work with other separate and independent 247 | works, which are not by their nature extensions of the covered work, 248 | and which are not combined with it such as to form a larger program, 249 | in or on a volume of a storage or distribution medium, is called an 250 | "aggregate" if the compilation and its resulting copyright are not 251 | used to limit the access or legal rights of the compilation's users 252 | beyond what the individual works permit. Inclusion of a covered work 253 | in an aggregate does not cause this License to apply to the other 254 | parts of the aggregate. 255 | 256 | 6. Conveying Non-Source Forms. 257 | 258 | You may convey a covered work in object code form under the terms 259 | of sections 4 and 5, provided that you also convey the 260 | machine-readable Corresponding Source under the terms of this License, 261 | in one of these ways: 262 | 263 | a) Convey the object code in, or embodied in, a physical product 264 | (including a physical distribution medium), accompanied by the 265 | Corresponding Source fixed on a durable physical medium 266 | customarily used for software interchange. 267 | 268 | b) Convey the object code in, or embodied in, a physical product 269 | (including a physical distribution medium), accompanied by a 270 | written offer, valid for at least three years and valid for as 271 | long as you offer spare parts or customer support for that product 272 | model, to give anyone who possesses the object code either (1) a 273 | copy of the Corresponding Source for all the software in the 274 | product that is covered by this License, on a durable physical 275 | medium customarily used for software interchange, for a price no 276 | more than your reasonable cost of physically performing this 277 | conveying of source, or (2) access to copy the 278 | Corresponding Source from a network server at no charge. 279 | 280 | c) Convey individual copies of the object code with a copy of the 281 | written offer to provide the Corresponding Source. This 282 | alternative is allowed only occasionally and noncommercially, and 283 | only if you received the object code with such an offer, in accord 284 | with subsection 6b. 285 | 286 | d) Convey the object code by offering access from a designated 287 | place (gratis or for a charge), and offer equivalent access to the 288 | Corresponding Source in the same way through the same place at no 289 | further charge. You need not require recipients to copy the 290 | Corresponding Source along with the object code. If the place to 291 | copy the object code is a network server, the Corresponding Source 292 | may be on a different server (operated by you or a third party) 293 | that supports equivalent copying facilities, provided you maintain 294 | clear directions next to the object code saying where to find the 295 | Corresponding Source. Regardless of what server hosts the 296 | Corresponding Source, you remain obligated to ensure that it is 297 | available for as long as needed to satisfy these requirements. 298 | 299 | e) Convey the object code using peer-to-peer transmission, provided 300 | you inform other peers where the object code and Corresponding 301 | Source of the work are being offered to the general public at no 302 | charge under subsection 6d. 303 | 304 | A separable portion of the object code, whose source code is excluded 305 | from the Corresponding Source as a System Library, need not be 306 | included in conveying the object code work. 307 | 308 | A "User Product" is either (1) a "consumer product", which means any 309 | tangible personal property which is normally used for personal, family, 310 | or household purposes, or (2) anything designed or sold for incorporation 311 | into a dwelling. In determining whether a product is a consumer product, 312 | doubtful cases shall be resolved in favor of coverage. For a particular 313 | product received by a particular user, "normally used" refers to a 314 | typical or common use of that class of product, regardless of the status 315 | of the particular user or of the way in which the particular user 316 | actually uses, or expects or is expected to use, the product. A product 317 | is a consumer product regardless of whether the product has substantial 318 | commercial, industrial or non-consumer uses, unless such uses represent 319 | the only significant mode of use of the product. 320 | 321 | "Installation Information" for a User Product means any methods, 322 | procedures, authorization keys, or other information required to install 323 | and execute modified versions of a covered work in that User Product from 324 | a modified version of its Corresponding Source. The information must 325 | suffice to ensure that the continued functioning of the modified object 326 | code is in no case prevented or interfered with solely because 327 | modification has been made. 328 | 329 | If you convey an object code work under this section in, or with, or 330 | specifically for use in, a User Product, and the conveying occurs as 331 | part of a transaction in which the right of possession and use of the 332 | User Product is transferred to the recipient in perpetuity or for a 333 | fixed term (regardless of how the transaction is characterized), the 334 | Corresponding Source conveyed under this section must be accompanied 335 | by the Installation Information. But this requirement does not apply 336 | if neither you nor any third party retains the ability to install 337 | modified object code on the User Product (for example, the work has 338 | been installed in ROM). 339 | 340 | The requirement to provide Installation Information does not include a 341 | requirement to continue to provide support service, warranty, or updates 342 | for a work that has been modified or installed by the recipient, or for 343 | the User Product in which it has been modified or installed. Access to a 344 | network may be denied when the modification itself materially and 345 | adversely affects the operation of the network or violates the rules and 346 | protocols for communication across the network. 347 | 348 | Corresponding Source conveyed, and Installation Information provided, 349 | in accord with this section must be in a format that is publicly 350 | documented (and with an implementation available to the public in 351 | source code form), and must require no special password or key for 352 | unpacking, reading or copying. 353 | 354 | 7. Additional Terms. 355 | 356 | "Additional permissions" are terms that supplement the terms of this 357 | License by making exceptions from one or more of its conditions. 358 | Additional permissions that are applicable to the entire Program shall 359 | be treated as though they were included in this License, to the extent 360 | that they are valid under applicable law. If additional permissions 361 | apply only to part of the Program, that part may be used separately 362 | under those permissions, but the entire Program remains governed by 363 | this License without regard to the additional permissions. 364 | 365 | When you convey a copy of a covered work, you may at your option 366 | remove any additional permissions from that copy, or from any part of 367 | it. (Additional permissions may be written to require their own 368 | removal in certain cases when you modify the work.) You may place 369 | additional permissions on material, added by you to a covered work, 370 | for which you have or can give appropriate copyright permission. 371 | 372 | Notwithstanding any other provision of this License, for material you 373 | add to a covered work, you may (if authorized by the copyright holders of 374 | that material) supplement the terms of this License with terms: 375 | 376 | a) Disclaiming warranty or limiting liability differently from the 377 | terms of sections 15 and 16 of this License; or 378 | 379 | b) Requiring preservation of specified reasonable legal notices or 380 | author attributions in that material or in the Appropriate Legal 381 | Notices displayed by works containing it; or 382 | 383 | c) Prohibiting misrepresentation of the origin of that material, or 384 | requiring that modified versions of such material be marked in 385 | reasonable ways as different from the original version; or 386 | 387 | d) Limiting the use for publicity purposes of names of licensors or 388 | authors of the material; or 389 | 390 | e) Declining to grant rights under trademark law for use of some 391 | trade names, trademarks, or service marks; or 392 | 393 | f) Requiring indemnification of licensors and authors of that 394 | material by anyone who conveys the material (or modified versions of 395 | it) with contractual assumptions of liability to the recipient, for 396 | any liability that these contractual assumptions directly impose on 397 | those licensors and authors. 398 | 399 | All other non-permissive additional terms are considered "further 400 | restrictions" within the meaning of section 10. If the Program as you 401 | received it, or any part of it, contains a notice stating that it is 402 | governed by this License along with a term that is a further 403 | restriction, you may remove that term. If a license document contains 404 | a further restriction but permits relicensing or conveying under this 405 | License, you may add to a covered work material governed by the terms 406 | of that license document, provided that the further restriction does 407 | not survive such relicensing or conveying. 408 | 409 | If you add terms to a covered work in accord with this section, you 410 | must place, in the relevant source files, a statement of the 411 | additional terms that apply to those files, or a notice indicating 412 | where to find the applicable terms. 413 | 414 | Additional terms, permissive or non-permissive, may be stated in the 415 | form of a separately written license, or stated as exceptions; 416 | the above requirements apply either way. 417 | 418 | 8. Termination. 419 | 420 | You may not propagate or modify a covered work except as expressly 421 | provided under this License. Any attempt otherwise to propagate or 422 | modify it is void, and will automatically terminate your rights under 423 | this License (including any patent licenses granted under the third 424 | paragraph of section 11). 425 | 426 | However, if you cease all violation of this License, then your 427 | license from a particular copyright holder is reinstated (a) 428 | provisionally, unless and until the copyright holder explicitly and 429 | finally terminates your license, and (b) permanently, if the copyright 430 | holder fails to notify you of the violation by some reasonable means 431 | prior to 60 days after the cessation. 432 | 433 | Moreover, your license from a particular copyright holder is 434 | reinstated permanently if the copyright holder notifies you of the 435 | violation by some reasonable means, this is the first time you have 436 | received notice of violation of this License (for any work) from that 437 | copyright holder, and you cure the violation prior to 30 days after 438 | your receipt of the notice. 439 | 440 | Termination of your rights under this section does not terminate the 441 | licenses of parties who have received copies or rights from you under 442 | this License. If your rights have been terminated and not permanently 443 | reinstated, you do not qualify to receive new licenses for the same 444 | material under section 10. 445 | 446 | 9. Acceptance Not Required for Having Copies. 447 | 448 | You are not required to accept this License in order to receive or 449 | run a copy of the Program. Ancillary propagation of a covered work 450 | occurring solely as a consequence of using peer-to-peer transmission 451 | to receive a copy likewise does not require acceptance. However, 452 | nothing other than this License grants you permission to propagate or 453 | modify any covered work. These actions infringe copyright if you do 454 | not accept this License. Therefore, by modifying or propagating a 455 | covered work, you indicate your acceptance of this License to do so. 456 | 457 | 10. Automatic Licensing of Downstream Recipients. 458 | 459 | Each time you convey a covered work, the recipient automatically 460 | receives a license from the original licensors, to run, modify and 461 | propagate that work, subject to this License. You are not responsible 462 | for enforcing compliance by third parties with this License. 463 | 464 | An "entity transaction" is a transaction transferring control of an 465 | organization, or substantially all assets of one, or subdividing an 466 | organization, or merging organizations. If propagation of a covered 467 | work results from an entity transaction, each party to that 468 | transaction who receives a copy of the work also receives whatever 469 | licenses to the work the party's predecessor in interest had or could 470 | give under the previous paragraph, plus a right to possession of the 471 | Corresponding Source of the work from the predecessor in interest, if 472 | the predecessor has it or can get it with reasonable efforts. 473 | 474 | You may not impose any further restrictions on the exercise of the 475 | rights granted or affirmed under this License. For example, you may 476 | not impose a license fee, royalty, or other charge for exercise of 477 | rights granted under this License, and you may not initiate litigation 478 | (including a cross-claim or counterclaim in a lawsuit) alleging that 479 | any patent claim is infringed by making, using, selling, offering for 480 | sale, or importing the Program or any portion of it. 481 | 482 | 11. Patents. 483 | 484 | A "contributor" is a copyright holder who authorizes use under this 485 | License of the Program or a work on which the Program is based. The 486 | work thus licensed is called the contributor's "contributor version". 487 | 488 | A contributor's "essential patent claims" are all patent claims 489 | owned or controlled by the contributor, whether already acquired or 490 | hereafter acquired, that would be infringed by some manner, permitted 491 | by this License, of making, using, or selling its contributor version, 492 | but do not include claims that would be infringed only as a 493 | consequence of further modification of the contributor version. For 494 | purposes of this definition, "control" includes the right to grant 495 | patent sublicenses in a manner consistent with the requirements of 496 | this License. 497 | 498 | Each contributor grants you a non-exclusive, worldwide, royalty-free 499 | patent license under the contributor's essential patent claims, to 500 | make, use, sell, offer for sale, import and otherwise run, modify and 501 | propagate the contents of its contributor version. 502 | 503 | In the following three paragraphs, a "patent license" is any express 504 | agreement or commitment, however denominated, not to enforce a patent 505 | (such as an express permission to practice a patent or covenant not to 506 | sue for patent infringement). To "grant" such a patent license to a 507 | party means to make such an agreement or commitment not to enforce a 508 | patent against the party. 509 | 510 | If you convey a covered work, knowingly relying on a patent license, 511 | and the Corresponding Source of the work is not available for anyone 512 | to copy, free of charge and under the terms of this License, through a 513 | publicly available network server or other readily accessible means, 514 | then you must either (1) cause the Corresponding Source to be so 515 | available, or (2) arrange to deprive yourself of the benefit of the 516 | patent license for this particular work, or (3) arrange, in a manner 517 | consistent with the requirements of this License, to extend the patent 518 | license to downstream recipients. "Knowingly relying" means you have 519 | actual knowledge that, but for the patent license, your conveying the 520 | covered work in a country, or your recipient's use of the covered work 521 | in a country, would infringe one or more identifiable patents in that 522 | country that you have reason to believe are valid. 523 | 524 | If, pursuant to or in connection with a single transaction or 525 | arrangement, you convey, or propagate by procuring conveyance of, a 526 | covered work, and grant a patent license to some of the parties 527 | receiving the covered work authorizing them to use, propagate, modify 528 | or convey a specific copy of the covered work, then the patent license 529 | you grant is automatically extended to all recipients of the covered 530 | work and works based on it. 531 | 532 | A patent license is "discriminatory" if it does not include within 533 | the scope of its coverage, prohibits the exercise of, or is 534 | conditioned on the non-exercise of one or more of the rights that are 535 | specifically granted under this License. You may not convey a covered 536 | work if you are a party to an arrangement with a third party that is 537 | in the business of distributing software, under which you make payment 538 | to the third party based on the extent of your activity of conveying 539 | the work, and under which the third party grants, to any of the 540 | parties who would receive the covered work from you, a discriminatory 541 | patent license (a) in connection with copies of the covered work 542 | conveyed by you (or copies made from those copies), or (b) primarily 543 | for and in connection with specific products or compilations that 544 | contain the covered work, unless you entered into that arrangement, 545 | or that patent license was granted, prior to 28 March 2007. 546 | 547 | Nothing in this License shall be construed as excluding or limiting 548 | any implied license or other defenses to infringement that may 549 | otherwise be available to you under applicable patent law. 550 | 551 | 12. No Surrender of Others' Freedom. 552 | 553 | If conditions are imposed on you (whether by court order, agreement or 554 | otherwise) that contradict the conditions of this License, they do not 555 | excuse you from the conditions of this License. If you cannot convey a 556 | covered work so as to satisfy simultaneously your obligations under this 557 | License and any other pertinent obligations, then as a consequence you may 558 | not convey it at all. For example, if you agree to terms that obligate you 559 | to collect a royalty for further conveying from those to whom you convey 560 | the Program, the only way you could satisfy both those terms and this 561 | License would be to refrain entirely from conveying the Program. 562 | 563 | 13. Use with the GNU Affero General Public License. 564 | 565 | Notwithstanding any other provision of this License, you have 566 | permission to link or combine any covered work with a work licensed 567 | under version 3 of the GNU Affero General Public License into a single 568 | combined work, and to convey the resulting work. The terms of this 569 | License will continue to apply to the part which is the covered work, 570 | but the special requirements of the GNU Affero General Public License, 571 | section 13, concerning interaction through a network will apply to the 572 | combination as such. 573 | 574 | 14. Revised Versions of this License. 575 | 576 | The Free Software Foundation may publish revised and/or new versions of 577 | the GNU General Public License from time to time. Such new versions will 578 | be similar in spirit to the present version, but may differ in detail to 579 | address new problems or concerns. 580 | 581 | Each version is given a distinguishing version number. If the 582 | Program specifies that a certain numbered version of the GNU General 583 | Public License "or any later version" applies to it, you have the 584 | option of following the terms and conditions either of that numbered 585 | version or of any later version published by the Free Software 586 | Foundation. If the Program does not specify a version number of the 587 | GNU General Public License, you may choose any version ever published 588 | by the Free Software Foundation. 589 | 590 | If the Program specifies that a proxy can decide which future 591 | versions of the GNU General Public License can be used, that proxy's 592 | public statement of acceptance of a version permanently authorizes you 593 | to choose that version for the Program. 594 | 595 | Later license versions may give you additional or different 596 | permissions. However, no additional obligations are imposed on any 597 | author or copyright holder as a result of your choosing to follow a 598 | later version. 599 | 600 | 15. Disclaimer of Warranty. 601 | 602 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 603 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 604 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 605 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 606 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 607 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 608 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 609 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 610 | 611 | 16. Limitation of Liability. 612 | 613 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 614 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 615 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 616 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 617 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 618 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 619 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 620 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 621 | SUCH DAMAGES. 622 | 623 | 17. Interpretation of Sections 15 and 16. 624 | 625 | If the disclaimer of warranty and limitation of liability provided 626 | above cannot be given local legal effect according to their terms, 627 | reviewing courts shall apply local law that most closely approximates 628 | an absolute waiver of all civil liability in connection with the 629 | Program, unless a warranty or assumption of liability accompanies a 630 | copy of the Program in return for a fee. 631 | 632 | END OF TERMS AND CONDITIONS 633 | 634 | How to Apply These Terms to Your New Programs 635 | 636 | If you develop a new program, and you want it to be of the greatest 637 | possible use to the public, the best way to achieve this is to make it 638 | free software which everyone can redistribute and change under these terms. 639 | 640 | To do so, attach the following notices to the program. It is safest 641 | to attach them to the start of each source file to most effectively 642 | state the exclusion of warranty; and each file should have at least 643 | the "copyright" line and a pointer to where the full notice is found. 644 | 645 | 646 | Copyright (C) 647 | 648 | This program is free software: you can redistribute it and/or modify 649 | it under the terms of the GNU General Public License as published by 650 | the Free Software Foundation, either version 3 of the License, or 651 | (at your option) any later version. 652 | 653 | This program is distributed in the hope that it will be useful, 654 | but WITHOUT ANY WARRANTY; without even the implied warranty of 655 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 656 | GNU General Public License for more details. 657 | 658 | You should have received a copy of the GNU General Public License 659 | along with this program. If not, see . 660 | 661 | Also add information on how to contact you by electronic and paper mail. 662 | 663 | If the program does terminal interaction, make it output a short 664 | notice like this when it starts in an interactive mode: 665 | 666 | Copyright (C) 667 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 668 | This is free software, and you are welcome to redistribute it 669 | under certain conditions; type `show c' for details. 670 | 671 | The hypothetical commands `show w' and `show c' should show the appropriate 672 | parts of the General Public License. Of course, your program's commands 673 | might be different; for a GUI interface, you would use an "about box". 674 | 675 | You should also get your employer (if you work as a programmer) or school, 676 | if any, to sign a "copyright disclaimer" for the program, if necessary. 677 | For more information on this, and how to apply and follow the GNU GPL, see 678 | . 679 | 680 | The GNU General Public License does not permit incorporating your program 681 | into proprietary programs. If your program is a subroutine library, you 682 | may consider it more useful to permit linking proprietary applications with 683 | the library. If this is what you want to do, use the GNU Lesser General 684 | Public License instead of this License. But first, please read 685 | . 686 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Compact Pager 2 | A compact pager for the [KDE Plasma desktop](https://kde.org/plasma-desktop/), for those who don't like how much space the normal plasma pager takes. 3 | 4 | For the Plasma 5 version, see the [plasma5 branch](https://github.com/tilorenz/compact_pager/tree/plasma5). 5 | 6 | ![Full represtation in panel](https://user-images.githubusercontent.com/22967053/148304498-b7d3938b-4d0a-4559-89bd-3b68e561501d.png) 7 | ![Compact representation, expanded](https://user-images.githubusercontent.com/59516401/151219272-5a776f43-7f9c-4403-b942-079bb77a3e9c.jpg) 8 | 9 | 10 | ## Installation 11 | The pager is available on the [KDE store](https://www.pling.com/p/2112443/) ([plasma 5 version](https://www.pling.com/p/1506284/)), so you can download and install it directly from Plasma. 12 | 13 | ## Manual Installation 14 | - Clone the repo (or download & extract it): `git clone https://github.com/tilorenz/compact_pager.git` 15 | - `kpackagetool6 -i compact_pager/package/ -t Plasma/Applet` 16 | 17 | **To update the plasmoid**, inside the main folder, do: 18 | - `git pull` 19 | - `kpackagetool6 -u package/ -t Plasma/Applet` 20 | - for updating the instances you already have on your desktop/panel, you may need to log out and in again 21 | 22 | ## Development 23 | To test your changes, you can use `plasmoidviewer`: 24 | 25 | `plasmoidviewer -a package` 26 | 27 | ## Gallery 28 | ![GIF showing adaptive behaviour](https://user-images.githubusercontent.com/22967053/148304695-b4954033-d14d-4c28-a917-5ccf35785913.gif) 29 | ![Full representation in vertical panel](https://user-images.githubusercontent.com/22967053/148304504-111ef2e8-9db6-4649-974f-77ba37be59a9.png) 30 | ![Appearance Config](https://user-images.githubusercontent.com/59516401/151220711-2b2fe453-65c9-40a0-85b5-8e2e88ce426d.jpg) 31 | 32 | -------------------------------------------------------------------------------- /bundle.sh: -------------------------------------------------------------------------------- 1 | rm package.plasmoid 2 | zip -r package.plasmoid package 3 | 4 | -------------------------------------------------------------------------------- /docs/images/compact_expanded.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tilorenz/compact_pager/9a14d91bce1b8d4b1a224e235dd2606747778d44/docs/images/compact_expanded.jpg -------------------------------------------------------------------------------- /docs/images/full.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tilorenz/compact_pager/9a14d91bce1b8d4b1a224e235dd2606747778d44/docs/images/full.jpg -------------------------------------------------------------------------------- /package/contents/config/config.qml: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 Marco Martin 3 | * Copyright 2022 Diego Miguel 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 of the License, or 8 | * (at your option) 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., 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. 18 | */ 19 | 20 | import QtQuick 21 | 22 | import org.kde.plasma.configuration 23 | 24 | ConfigModel { 25 | ConfigCategory { 26 | name: i18n("General") 27 | icon: "preferences-desktop-plasma" 28 | source: "config/configGeneral.qml" 29 | } 30 | ConfigCategory { 31 | name: i18n("Appearance") 32 | icon: "preferences-desktop-color" 33 | source: "config/configAppearance.qml" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /package/contents/config/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | false 12 | 13 | 14 | 15 | false 16 | 17 | 18 | 19 | false 20 | 21 | 22 | 23 | true 24 | 25 | 26 | 27 | true 28 | 29 | 30 | 31 | true 32 | 33 | 34 | 35 | false 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 0 45 | 46 | 47 | 48 | 49 | 50 | Switch the layout depending on available space. 51 | 52 | 53 | Always show full layout. 54 | 55 | 56 | Always show compact layout. 57 | 58 | 59 | 0 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | false 71 | 72 | 73 | 74 | false 75 | 76 | 77 | 78 | false 79 | 80 | 81 | 82 | 0 83 | 84 | 85 | 86 | #FFFFFF 87 | 88 | 89 | 90 | false 91 | 92 | 93 | 94 | true 95 | 96 | 97 | 98 | true 99 | 100 | 101 | 102 | #FFFFFF 103 | 104 | 105 | 106 | 1 107 | 108 | 109 | 110 | 25 111 | 112 | 113 | 114 | false 115 | 116 | 117 | 118 | #333333 119 | 120 | 121 | 122 | false 123 | 124 | 125 | 126 | #222222 127 | 128 | 129 | 130 | false 131 | 132 | 133 | 134 | #222222 135 | 136 | 137 | 138 | false 139 | 140 | 141 | 142 | 25 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /package/contents/ui/config/configAppearance.qml: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 Heena Mahour 3 | * Copyright 2013 Sebastian Kügler 4 | * Copyright 2021-2024 Tino Lorenz 5 | * Copyright 2022 Diego Miguel 6 | * 7 | * This program is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program. If not, see . 19 | */ 20 | 21 | import QtQuick 22 | import QtQuick.Controls as QtControls 23 | import QtQuick.Layouts as QtLayouts 24 | 25 | import org.kde.kquickcontrols as KQControls 26 | import org.kde.plasma.core as PlasmaCore 27 | import org.kde.plasma.components as PlasmaComponents3 28 | import org.kde.kirigami as Kirigami 29 | import org.kde.kcmutils as KCM 30 | 31 | KCM.SimpleKCM { 32 | id: layoutAppearanceRoot 33 | 34 | property alias cfg_fontFamily: layoutAppearance.cfg_fontFamily 35 | property alias cfg_fontBold: boldCheckBox.checked 36 | property alias cfg_fontItalic: italicCheckBox.checked 37 | property alias cfg_fontColor: fontColorValue.color 38 | property alias cfg_fontColorChecked: fixedFontColor.checked 39 | property alias cfg_fontSizeChecked: fontSize.checked 40 | property alias cfg_fontSize: fontSizeValue.value 41 | property alias cfg_displayBorder: displayBorder.checked 42 | property alias cfg_borderColor: borderColor.color 43 | property alias cfg_sameBorderColorAsFont: sameColorAsFont.checked 44 | property alias cfg_borderThickness: borderThickness.value 45 | property alias cfg_borderRadius: borderRadius.value 46 | property alias cfg_activeBgColorChecked: fixedActiveBGColor.checked 47 | property alias cfg_activeBgColor: activeBgColorValue.color 48 | property alias cfg_inactiveBgColorChecked: fixedInactiveBGColor.checked 49 | property alias cfg_inactiveBgColor: inactiveBgColorValue.color 50 | property alias cfg_inactiveBgColorWithoutWindowsChecked: fixedInactiveBGColorWithoutWindows.checked 51 | property alias cfg_inactiveBgColorWithoutWindows: inactiveBgColorWithoutWindowsValue.color 52 | property alias cfg_showWindowIndicator: showWindowIndicator.checked 53 | property alias cfg_windowIndicatorRadius: windowIndicatorRadius.value 54 | 55 | Kirigami.FormLayout { 56 | id: layoutAppearance 57 | 58 | //anchors.left: parent.left 59 | //anchors.right: parent.right 60 | 61 | property string cfg_fontFamily 62 | 63 | // Taken from org.kde.plasma.digitalclock 64 | // See: https://phabricator.kde.org/source/plasma-workspace/browse/master/applets/digital-clock/ 65 | onCfg_fontFamilyChanged: { 66 | // HACK by the time we populate our model and/or the ComboBox is finished the value is still undefined 67 | if (cfg_fontFamily) { 68 | for (var i = 0, j = fontsModel.count; i < j; ++i) { 69 | if (fontsModel.get(i).value === cfg_fontFamily) { 70 | fontFamily.currentIndex = i 71 | break 72 | } 73 | } 74 | } 75 | } 76 | 77 | ListModel { 78 | id: fontsModel 79 | Component.onCompleted: { 80 | var arr = [] // use temp array to avoid constant binding stuff 81 | arr.push({text: i18n("Default"), value: ""}) 82 | 83 | var fonts = Qt.fontFamilies() 84 | var foundIndex = 0 85 | for (var i = 0, j = fonts.length; i < j; ++i) { 86 | arr.push({text: fonts[i], value: fonts[i]}) 87 | } 88 | append(arr) 89 | } 90 | } 91 | 92 | // 93 | // FONT 94 | // 95 | Item { 96 | Kirigami.FormData.isSection: true 97 | Kirigami.FormData.label: i18n("Font") 98 | } 99 | 100 | QtLayouts.RowLayout { 101 | QtLayouts.Layout.fillWidth: true 102 | 103 | Kirigami.FormData.label: i18n("Font style:") 104 | 105 | // Based on org.kde.plasma.digitalclock 106 | QtControls.ComboBox { 107 | id: fontFamily 108 | QtLayouts.Layout.fillWidth: true 109 | currentIndex: 0 110 | // ComboBox's sizing is just utterly broken 111 | QtLayouts.Layout.minimumWidth: Kirigami.Units.gridUnit * 10 112 | model: fontsModel 113 | // Doesn't autodeduce from model because we manually populate it 114 | textRole: "text" 115 | 116 | onCurrentIndexChanged: { 117 | var current = model.get(currentIndex) 118 | if (current) { 119 | cfg_fontFamily = current.value 120 | } 121 | } 122 | } 123 | 124 | QtControls.Button { 125 | id: boldCheckBox 126 | icon.name: "format-text-bold" 127 | checkable: true 128 | QtControls.ToolTip { text: i18n("Bold text") } 129 | Accessible.name: QtControls.ToolTip.text 130 | } 131 | 132 | QtControls.Button { 133 | id: italicCheckBox 134 | icon.name: "format-text-italic" 135 | checkable: true 136 | QtControls.ToolTip { text: i18n("Italic text") } 137 | Accessible.name: QtControls.ToolTip.text 138 | } 139 | } 140 | 141 | QtLayouts.RowLayout { 142 | QtLayouts.Layout.fillWidth: true 143 | Kirigami.FormData.label: i18n("Fixed font size:") 144 | 145 | QtControls.CheckBox { 146 | id: fontSize 147 | } 148 | 149 | QtControls.SpinBox { 150 | id: fontSizeValue 151 | enabled: fontSize.checked 152 | from: 1 153 | stepSize: 1 154 | } 155 | } 156 | 157 | QtLayouts.RowLayout { 158 | QtLayouts.Layout.fillWidth: true 159 | Kirigami.FormData.label: i18n("Fixed font color:") 160 | 161 | QtControls.CheckBox { 162 | id: fixedFontColor 163 | } 164 | 165 | KQControls.ColorButton { 166 | id: fontColorValue 167 | enabled: fixedFontColor.checked 168 | Kirigami.FormData.label: i18n("Font color:") 169 | showAlphaChannel: true 170 | onColorChanged: { 171 | if (sameColorAsFont.checked) { 172 | borderColor.color = fontColor.color 173 | } 174 | } 175 | } 176 | } 177 | 178 | Kirigami.Separator { 179 | Kirigami.FormData.isSection: true 180 | Kirigami.FormData.label: i18n("Border") 181 | } 182 | 183 | QtControls.CheckBox { 184 | id: displayBorder 185 | Kirigami.FormData.label: i18n("Show border:") 186 | } 187 | 188 | QtLayouts.RowLayout { 189 | QtLayouts.Layout.fillWidth: true 190 | Kirigami.FormData.label: i18n("Border color:") 191 | spacing: Kirigami.Units.largeSpacing 192 | 193 | KQControls.ColorButton { 194 | id: borderColor 195 | enabled: displayBorder.checked && !sameColorAsFont.checked 196 | showAlphaChannel: true 197 | } 198 | 199 | 200 | QtControls.CheckBox { 201 | id: sameColorAsFont 202 | text: i18n("Same as font") 203 | } 204 | } 205 | 206 | QtControls.SpinBox { 207 | id: borderThickness 208 | enabled: displayBorder.checked 209 | Kirigami.FormData.label: i18n("Border thickness:") 210 | from: 1 211 | stepSize: 1 212 | } 213 | 214 | QtControls.SpinBox { 215 | id: borderRadius 216 | enabled: displayBorder.checked 217 | Kirigami.FormData.label: i18n("Border radius (%):") 218 | from: 0 219 | to: 100 220 | stepSize: 1 221 | } 222 | 223 | Kirigami.Separator { 224 | Kirigami.FormData.isSection: true 225 | Kirigami.FormData.label: i18n("Background") 226 | } 227 | 228 | QtLayouts.RowLayout { 229 | QtLayouts.Layout.fillWidth: true 230 | Kirigami.FormData.label: i18n("Fixed active background color:") 231 | 232 | QtControls.CheckBox { 233 | id: fixedActiveBGColor 234 | } 235 | 236 | KQControls.ColorButton { 237 | id: activeBgColorValue 238 | showAlphaChannel: true 239 | enabled: fixedActiveBGColor.checked 240 | } 241 | } 242 | 243 | QtLayouts.RowLayout { 244 | QtLayouts.Layout.fillWidth: true 245 | Kirigami.FormData.label: i18n("Fixed inactive background color:") 246 | 247 | QtControls.CheckBox { 248 | id: fixedInactiveBGColor 249 | } 250 | 251 | KQControls.ColorButton { 252 | id: inactiveBgColorValue 253 | showAlphaChannel: true 254 | enabled: fixedInactiveBGColor.checked 255 | } 256 | } 257 | 258 | QtLayouts.RowLayout { 259 | QtLayouts.Layout.fillWidth: true 260 | Kirigami.FormData.label: i18n("Fixed inactive background color without windows:") 261 | 262 | QtControls.CheckBox { 263 | id: fixedInactiveBGColorWithoutWindows 264 | } 265 | 266 | KQControls.ColorButton { 267 | id: inactiveBgColorWithoutWindowsValue 268 | showAlphaChannel: true 269 | enabled: fixedInactiveBGColorWithoutWindows.checked 270 | } 271 | } 272 | 273 | Kirigami.Separator { 274 | Kirigami.FormData.isSection: true 275 | Kirigami.FormData.label: i18n("Window Indicator") 276 | } 277 | 278 | QtControls.CheckBox { 279 | id: showWindowIndicator 280 | Kirigami.FormData.label: i18n("Show window indicator:") 281 | } 282 | 283 | QtControls.SpinBox { 284 | id: windowIndicatorRadius 285 | enabled: showWindowIndicator.checked 286 | Kirigami.FormData.label: i18n("Window indicator border radius (%):") 287 | from: 0 288 | to: 100 289 | stepSize: 1 290 | } 291 | } 292 | } 293 | -------------------------------------------------------------------------------- /package/contents/ui/config/configGeneral.qml: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 David Edmundson 3 | * Copyright 2016 Eike Hein 4 | * Copyright 2021-2024 Tino Lorenz 5 | * Copyright 2022 Diego Miguel 6 | * 7 | * This program is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program. If not, see . 19 | */ 20 | 21 | import QtQuick 22 | import QtQuick.Controls as QtControls 23 | import QtQuick.Layouts as QtLayouts 24 | import org.kde.kirigami as Kirigami 25 | import org.kde.kcmutils as KCM 26 | 27 | KCM.SimpleKCM { 28 | id: layoutGeneralRoot 29 | 30 | property alias cfg_forceLayout: pagerLayout.currentIndex 31 | property alias cfg_enableScrolling: enableScrolling.checked 32 | property alias cfg_wrapPage: wrapPage.checked 33 | property alias cfg_currentDesktopSelected: currentDesktopSelectedBox.currentIndex 34 | property alias cfg_actionOnCompactLayout: actionOnCompactLayout.checked 35 | property alias cfg_stayVisible: stayVisible.checked 36 | property alias cfg_showDesktopNames: showDesktopNames.checked 37 | property alias cfg_showWindowIcons: showWindowIcons.checked 38 | property alias cfg_showOnlyCurrentScreen: showOnlyCurrentScreen.checked 39 | 40 | Kirigami.FormLayout { 41 | id: layoutGeneral 42 | 43 | //anchors.fill: parent 44 | 45 | QtControls.CheckBox { 46 | id: stayVisible 47 | text: i18n("Stay visible when there is only one virtual desktop") 48 | } 49 | 50 | QtControls.CheckBox { 51 | id: enableScrolling 52 | text: i18n("Enable scrolling to change the active desktop") 53 | } 54 | 55 | QtControls.CheckBox { 56 | id: wrapPage 57 | enabled: cfg_enableScrolling 58 | text: i18n("Navigation wraps around") 59 | } 60 | 61 | QtControls.CheckBox { 62 | id: showOnlyCurrentScreen 63 | text: i18n("Only show windows from current Screen in pager") 64 | } 65 | 66 | Item { 67 | Kirigami.FormData.isSection: true 68 | } 69 | 70 | QtControls.ButtonGroup { 71 | buttons: [showDesktopNumbers, showDesktopNames, showWindowIcons] 72 | } 73 | 74 | QtControls.RadioButton { 75 | id: showDesktopNumbers 76 | Kirigami.FormData.label: i18n("What to show in box:") 77 | text: i18n("Show desktop numbers") 78 | checked: !showDesktopNames.checked && !showWindowIcons.checked 79 | } 80 | 81 | QtControls.RadioButton { 82 | id: showDesktopNames 83 | text: i18n("Show desktop names") 84 | } 85 | 86 | QtControls.RadioButton { 87 | id: showWindowIcons 88 | text: i18n("Show window icons") 89 | } 90 | 91 | Item { 92 | Kirigami.FormData.isSection: true 93 | } 94 | 95 | QtLayouts.RowLayout { 96 | QtLayouts.Layout.fillWidth: true 97 | 98 | Kirigami.FormData.label: i18n("Layout:") 99 | QtControls.ComboBox { 100 | id: pagerLayout 101 | model: ["Adaptive", "Full", "Compact"] 102 | } 103 | 104 | QtControls.Button { 105 | id: infoButton 106 | icon.name: "dialog-information" 107 | QtControls.ToolTip.visible: hovered 108 | QtControls.ToolTip.text: "Adaptive:
Switch the layout depending on available space.

" + 109 | "Full:
Always show full layout.

" + 110 | "Compact:
Always show compact layout." 111 | } 112 | } 113 | 114 | Item { 115 | Kirigami.FormData.isSection: true 116 | } 117 | 118 | QtControls.ComboBox { 119 | id: currentDesktopSelectedBox 120 | Kirigami.FormData.label: i18n("Selecting current virtual desktop:") 121 | 122 | model: ["Does nothing", "Shows the desktop", "Shows overview"] 123 | } 124 | 125 | QtControls.CheckBox { 126 | id: actionOnCompactLayout 127 | text: i18n("Directly do selected action in compact layout\ninstead of expanding full layout") 128 | } 129 | } 130 | } 131 | -------------------------------------------------------------------------------- /package/contents/ui/lib/NumberBox.qml: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2021 Tino Lorenz 3 | * Copyright 2022 Diego Miguel 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 3 of the License, or 8 | * (at your option) 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, see . 17 | */ 18 | 19 | import QtQuick 20 | import QtQuick.Layouts 21 | import org.kde.plasma.plasmoid 22 | import org.kde.plasma.core as PlasmaCore 23 | import org.kde.plasma.components as PlasmaComponents 24 | import org.kde.kquickcontrolsaddons as KQuickControlsAddonsComponents 25 | import org.kde.kirigami as Kirigami 26 | import org.kde.plasma.private.pager 27 | 28 | Rectangle { 29 | id: numberBox 30 | property alias text: numberText.text 31 | property bool fontSizeChecked: plasmoid.configuration.fontSizeChecked 32 | property color fontColor: plasmoid.configuration.fontColorChecked ? 33 | plasmoid.configuration.fontColor : Kirigami.Theme.textColor 34 | property bool showWindowIndicator: true 35 | property list iconSources: [] 36 | 37 | border.width: plasmoid.configuration.displayBorder ? plasmoid.configuration.borderThickness : 0 38 | radius: height > width ? height * (plasmoid.configuration.borderRadius / 100) : width * (plasmoid.configuration.borderRadius / 100) 39 | 40 | TextMetrics { 41 | id: textMet 42 | text: numberText.text 43 | font: numberText.font 44 | } 45 | 46 | implicitWidth: Math.max(textMet.width + 10, 18) 47 | implicitHeight: textMet.height + 6 48 | 49 | Rectangle { 50 | id: windowIndicator 51 | visible: numberBox.showWindowIndicator 52 | 53 | anchors.left: numberText.right 54 | anchors.top: numberText.top 55 | 56 | width: 8 57 | height: 8 58 | border.color: numberBox.fontColor 59 | border.width: 1 60 | color: "transparent" 61 | radius: width * (plasmoid.configuration.windowIndicatorRadius / 100) 62 | } 63 | 64 | Text { 65 | id: numberText 66 | visible: !plasmoid.configuration.showWindowIcons 67 | anchors.centerIn: parent 68 | text: pagerModel.currentPage + 1 69 | color: fontColor 70 | font { 71 | family: plasmoid.configuration.fontFamily || Kirigami.Theme.defaultFont.family 72 | bold: plasmoid.configuration.fontBold 73 | italic: plasmoid.configuration.fontItalic 74 | pixelSize: fontSizeChecked ? plasmoid.configuration.fontSize : Math.min(parent.height*0.7, parent.width*0.7) 75 | } 76 | } 77 | 78 | Grid { 79 | id: iconGrid 80 | anchors.centerIn: parent 81 | visible: plasmoid.configuration.showWindowIcons 82 | 83 | readonly property int maxIconCount: Math.floor(Math.max(numberBox.height, numberBox.width) / iconSize) 84 | readonly property bool showIconsInColumn: numberBox.height > numberBox.width 85 | readonly property bool showAllIcons: numberBox.iconSources.length <= maxIconCount 86 | readonly property int iconSize: Math.min(numberBox.height * 0.7, numberBox.width * 0.7) 87 | 88 | columns: (showIconsInColumn || !showAllIcons) ? 1 : maxIconCount 89 | rows: (showIconsInColumn && showAllIcons) ? maxIconCount : 1 90 | flow: showIconsInColumn ? Grid.TopToBottom : Grid.LeftToRight 91 | 92 | component BoxIcon: Kirigami.Icon { 93 | height: iconGrid.iconSize 94 | width: iconGrid.iconSize 95 | roundToIconSize: false 96 | } 97 | 98 | Repeater { 99 | model: numberBox.iconSources 100 | BoxIcon { 101 | visible: iconGrid.showAllIcons 102 | source: modelData 103 | } 104 | } 105 | 106 | BoxIcon { 107 | visible: !iconGrid.showAllIcons 108 | source: iconGrid.showIconsInColumn ? "view-more-symbolic" : "view-more-horizontal-symbolic" 109 | } 110 | } 111 | 112 | } 113 | -------------------------------------------------------------------------------- /package/contents/ui/lib/ReprLayout.qml: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2021-2024 Tino Lorenz 3 | * Copyright 2022 Diego Miguel 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 3 of the License, or 8 | * (at your option) 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, see . 17 | */ 18 | 19 | import QtQuick 20 | import QtQuick.Layouts 21 | import org.kde.plasma.plasmoid 22 | import org.kde.plasma.core as PlasmaCore 23 | import org.kde.plasma.components as PlasmaComponents 24 | import org.kde.kquickcontrolsaddons as KQuickControlsAddonsComponents 25 | import org.kde.kirigami as Kirigami 26 | import org.kde.plasma.private.pager 27 | 28 | 29 | GridLayout { 30 | id: reprLayout 31 | property bool isFullRep: true 32 | 33 | property color bgColorHighlight: plasmoid.configuration.activeBgColorChecked ? 34 | plasmoid.configuration.activeBgColor : Kirigami.Theme.backgroundColor 35 | 36 | property color fontColor: plasmoid.configuration.fontColorChecked ? 37 | plasmoid.configuration.fontColor : Kirigami.Theme.textColor 38 | 39 | // Dim backgrounds of all but current desktop 40 | property color bgColor: plasmoid.configuration.inactiveBgColorChecked ? 41 | plasmoid.configuration.inactiveBgColor : 42 | Qt.rgba( 43 | Math.max(0, bgColorHighlight.r * 0.65), 44 | Math.max(0, bgColorHighlight.g * 0.65), 45 | Math.max(0, bgColorHighlight.b * 0.65), 46 | bgColorHighlight.a 47 | ) 48 | property color bgColorWithoutWindows: plasmoid.configuration.inactiveBgColorWithoutWindowsChecked ? 49 | plasmoid.configuration.inactiveBgColorWithoutWindows : bgColor 50 | property color borderColorHighlight: plasmoid.configuration.sameBorderColorAsFont ? 51 | fontColor : plasmoid.configuration.borderColor 52 | 53 | // Dim borders of all but current desktop 54 | property color borderColor: Qt.rgba( 55 | Math.max(0, borderColorHighlight.r - 0.4), 56 | Math.max(0, borderColorHighlight.g - 0.4), 57 | Math.max(0, borderColorHighlight.b - 0.4), 58 | borderColorHighlight.a 59 | ) 60 | 61 | function modelColumns() { 62 | return Math.ceil(pagerModel.count / pagerModel.layoutRows) 63 | } 64 | 65 | // if we have the space to lay the desktops out like the model says 66 | function properLayoutFits(cols) { 67 | let wantedWidth = 20 * cols 68 | let wantedHeight = 20 * pagerModel.layoutRows 69 | return width >= wantedWidth && height >= wantedHeight 70 | } 71 | 72 | property bool shouldShowFullLayout: { 73 | if (isFullRep) { 74 | return true 75 | } 76 | switch (plasmoid.configuration.forceLayout) { 77 | case 0: return properLayoutFits(modelColumns()) // adaptive 78 | case 1: return true // full 79 | case 2: return false // compact 80 | } 81 | } 82 | 83 | 84 | columns: { 85 | let cols = modelColumns() 86 | 87 | // names are larger and don't all have equal width, so there's no point even 88 | // trying to figure out if it would fit 89 | if (plasmoid.configuration.showDesktopNames) { 90 | return cols 91 | } 92 | 93 | switch (Plasmoid.formFactor) { 94 | // for vertical and horizontal panels, we ignore the height and width, respectively 95 | // since the plasmoid can scale in those directions 96 | case 2: { // horizontal 97 | let availableRows = Math.floor(height / 20) 98 | let targetRows = Math.max(Math.min(availableRows, pagerModel.layoutRows), 1) 99 | return Math.ceil(pagerModel.count / targetRows) 100 | } 101 | case 3: { // vertical 102 | let availableColumns = Math.floor(width / 20) 103 | return Math.max(Math.min(availableColumns, cols), 1) 104 | } 105 | default: 106 | return cols 107 | } 108 | } 109 | 110 | Repeater { 111 | id: dRep 112 | model: pagerModel 113 | 114 | NumberBox { 115 | id: nBox 116 | visible: reprLayout.shouldShowFullLayout || index === pagerModel.currentPage 117 | // TODO fix in plasma 118 | text: (plasmoid.configuration.showDesktopNames && model.display != "") ? model.display : index + 1 119 | Layout.fillWidth: true 120 | Layout.fillHeight: true 121 | Layout.minimumWidth: implicitWidth 122 | Layout.preferredHeight: implicitHeight 123 | Layout.minimumHeight: 20 124 | Layout.preferredWidth: Math.max(implicitWidth, height) 125 | Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter 126 | 127 | // this is horrible, is there really no other way to do this in qml??? 128 | Repeater { 129 | id: proxyRepeater 130 | model: TasksModel 131 | Item { 132 | visible: false 133 | property var iconSource: model.decoration 134 | } 135 | } 136 | 137 | showWindowIndicator: plasmoid.configuration.showWindowIndicator && proxyRepeater.count > 0 138 | 139 | iconSources: { 140 | const result = []; 141 | for (let i = 0; i < proxyRepeater.count; i++) { 142 | const taskProxy = proxyRepeater.itemAt(i); 143 | result.push(taskProxy.iconSource); 144 | } 145 | return result; 146 | } 147 | 148 | //highlight the current desktop 149 | color: index === pagerModel.currentPage ? bgColorHighlight : 150 | ((proxyRepeater.count > 0) ? bgColor : bgColorWithoutWindows) 151 | border.color: index === pagerModel.currentPage ? borderColorHighlight : borderColor 152 | 153 | MouseArea { 154 | anchors.fill: parent 155 | onClicked: { 156 | // when clicking on the desktop we're already on 157 | if (model.index === pagerModel.currentPage) { 158 | // ...and we're in full layout or configured to do an action in compact layout... 159 | if (reprLayout.shouldShowFullLayout || plasmoid.configuration.actionOnCompactLayout) { 160 | // do some action 161 | switch (plasmoid.configuration.currentDesktopSelected) { 162 | case 0: // do nothing 163 | break; 164 | case 1: // show desktop 165 | pagerModel.changePage(pagerModel.currentPage) 166 | break; 167 | case 2: 168 | runOverview() 169 | break; 170 | } 171 | root.expanded = false 172 | } else { 173 | root.expanded = !root.expanded 174 | } 175 | } else { 176 | pagerModel.changePage(model.index) 177 | root.expanded = false 178 | } 179 | } 180 | } 181 | } 182 | } 183 | } 184 | -------------------------------------------------------------------------------- /package/contents/ui/main.qml: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 Luís Gabriel Lima 3 | * Copyright 2016 Kai Uwe Broulik 4 | * Copyright 2016 Eike Hein 5 | * Copyright 2021 Tino Lorenz 6 | * Copyright 2022 Diego Miguel 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License. 19 | * along with this program. If not, see . 20 | */ 21 | 22 | import QtQuick 23 | import QtQuick.Layouts 24 | import org.kde.plasma.plasmoid 25 | import org.kde.plasma.core as PlasmaCore 26 | import org.kde.plasma.components as PlasmaComponents 27 | import org.kde.kquickcontrolsaddons as KQuickControlsAddonsComponents 28 | import org.kde.kirigami as Kirigami 29 | 30 | import org.kde.plasma.private.pager 31 | import org.kde.kcmutils as KCM 32 | import org.kde.config as KConfig 33 | 34 | import org.kde.plasma.plasma5support as Plasma5Support 35 | 36 | import "./lib" 37 | 38 | PlasmoidItem { 39 | id: root 40 | 41 | Plasmoid.status: (pagerModel.shouldShowPager || plasmoid.configuration.stayVisible) ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.HiddenStatus 42 | 43 | property int wheelDelta: 0 44 | 45 | function action_addDesktop() { 46 | pagerModel.addDesktop(); 47 | } 48 | 49 | function action_removeDesktop() { 50 | pagerModel.removeDesktop(); 51 | } 52 | 53 | function action_openKCM() { 54 | KQuickControlsAddonsComponents.KCMShell.openSystemSettings("kcm_kwin_virtualdesktops"); 55 | } 56 | 57 | function runOverview() { 58 | executable.exec('qdbus org.kde.kglobalaccel /component/kwin invokeShortcut Overview') 59 | } 60 | 61 | function switchDesktop(wheel) { 62 | // Magic number 120 for common "one click, see: 63 | // https://doc.qt.io/qt-5/qml-qtquick-wheelevent.html#angleDelta-prop 64 | wheelDelta += wheel.angleDelta.y || wheel.angleDelta.x; 65 | 66 | var increment = 0; 67 | 68 | while (wheelDelta >= 120) { 69 | wheelDelta -= 120; 70 | increment++; 71 | } 72 | 73 | while (wheelDelta <= -120) { 74 | wheelDelta += 120; 75 | increment--; 76 | } 77 | 78 | while (increment !== 0) { 79 | if (increment < 0) { 80 | var nextPage = plasmoid.configuration.wrapPage ? 81 | (pagerModel.currentPage + 1) % pagerModel.count : 82 | Math.min(pagerModel.currentPage + 1, pagerModel.count - 1); 83 | if(nextPage !== pagerModel.currentPage) 84 | pagerModel.changePage(nextPage); 85 | } else { 86 | var previousPage = plasmoid.configuration.wrapPage ? 87 | (pagerModel.count + pagerModel.currentPage - 1) % pagerModel.count : 88 | Math.max(pagerModel.currentPage - 1, 0); 89 | if(previousPage !== pagerModel.currentPage) 90 | pagerModel.changePage(previousPage); 91 | } 92 | 93 | increment += (increment < 0) ? 1 : -1; 94 | } 95 | } 96 | 97 | MouseArea { 98 | id: rootMouseArea 99 | anchors.fill: parent 100 | 101 | onWheel: wheel => { plasmoid.configuration.enableScrolling ? switchDesktop(wheel) : {} } 102 | } 103 | 104 | preferredRepresentation: compactRepresentation 105 | compactRepresentation: ReprLayout { 106 | isFullRep: false 107 | } 108 | fullRepresentation: ReprLayout { 109 | isFullRep: true 110 | } 111 | 112 | PagerModel { 113 | id: pagerModel 114 | 115 | enabled: root.visible 116 | 117 | showDesktop: (plasmoid.configuration.currentDesktopSelected === 1) 118 | 119 | showOnlyCurrentScreen: plasmoid.configuration.showOnlyCurrentScreen 120 | screenGeometry: root.screenGeometry 121 | 122 | pagerType: PagerModel.VirtualDesktops 123 | } 124 | 125 | Plasma5Support.DataSource { 126 | id: executable 127 | engine: "executable" 128 | connectedSources: [] 129 | onNewData: function(source, data) { 130 | disconnectSource(source) 131 | } 132 | 133 | function exec(cmd) { 134 | executable.connectSource(cmd) 135 | } 136 | } 137 | 138 | Plasmoid.contextualActions: [ 139 | PlasmaCore.Action { 140 | text: "Add Virtual Desktop" 141 | icon.name: "list-add" 142 | visible: KConfig.KAuthorized.authorize("kcm_kwin_virtualdesktops") 143 | onTriggered: pagerModel.addDesktop() 144 | }, 145 | PlasmaCore.Action { 146 | text: "Remove Virtual Desktop" 147 | icon.name: "list-remove" 148 | visible: KConfig.KAuthorized.authorize("kcm_kwin_virtualdesktops") 149 | enabled: Qt.binding(function() { 150 | return pagerModel.count > 1; 151 | }); 152 | onTriggered: pagerModel.removeDesktop() 153 | }, 154 | PlasmaCore.Action { 155 | text: "Configure Virtual Desktops…" 156 | visible: KConfig.KAuthorized.authorize("kcm_kwin_virtualdesktops") 157 | onTriggered: KCM.KCMLauncher.openSystemSettings("kcm_kwin_virtualdesktops") 158 | } 159 | ] 160 | } 161 | -------------------------------------------------------------------------------- /package/metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "KPackageStructure": "Plasma/Applet", 3 | "KPlugin": { 4 | "Authors": [ 5 | { 6 | "Email": "tilrnz@gmx.net", 7 | "Name": "Tino Lorenz" 8 | }, 9 | { 10 | "Email": "hello@diegomiguel.me", 11 | "Name": "Diego Miguel" 12 | } 13 | ], 14 | "Category": "Windows and Tasks", 15 | "Description": "Switch between virtual desktops", 16 | "Description[ar]": "بدّل بين أسطح المكتب الوهمية", 17 | "Description[az]": "Virtual İş Masaları arası keçid", 18 | "Description[be@latin]": "Pieraklučeńnie virtualnych stałoŭ", 19 | "Description[bg]": "Превключване между работните плотове", 20 | "Description[bs]": "Prebacujte virtuelne površi", 21 | "Description[ca@valencia]": "Commuta entre escriptoris virtuals", 22 | "Description[ca]": "Commuta entre escriptoris virtuals", 23 | "Description[cs]": "Přepínač mezi virtuálními plochami", 24 | "Description[da]": "Skift mellem virtuelle skriveborde", 25 | "Description[de]": "Ermöglicht Ihnen das Wechseln zwischen virtuellen Arbeitsflächen.", 26 | "Description[el]": "Εναλλαγή μεταξύ εικονικών επιφανειών εργασίας", 27 | "Description[en_GB]": "Switch between virtual desktops", 28 | "Description[eo]": "Komuti inter virtualaj labortabloj", 29 | "Description[es]": "Cambiar entre escritorios virtuales", 30 | "Description[et]": "Lülitumine virtuaalsete töölaudade vahel", 31 | "Description[eu]": "Aldatu alegiazko mahaigain batetik bestera", 32 | "Description[fi]": "Vaihda virtuaalityöpöytää", 33 | "Description[fr]": "Passe d'un bureau virtuel à l'autre", 34 | "Description[fy]": "Wikselje tusken firuele buroblêden", 35 | "Description[ga]": "Athraigh an deasc fhíorúil", 36 | "Description[gl]": "Cambia entre escritorios virtuais", 37 | "Description[gu]": "વર્ચ્યુઅલ ડેસ્કટોપ્સની વચ્ચે બદલો", 38 | "Description[he]": "משמש למעבר בין שולחנות עבודה וירטואלים", 39 | "Description[hi]": "आभासी डेस्कटॉप्स के बीच स्विच करें", 40 | "Description[hne]": "आभासी डेस्कटाप मं स्विच करव", 41 | "Description[hr]": "Mijenjanje virtualnih radnih površina", 42 | "Description[hsb]": "Mjez wirtuelnymi dźěłowymi powjerchami tam a sem skakać", 43 | "Description[hu]": "Virtuális asztalok közötti váltásra szolgáló elem", 44 | "Description[ia]": "Commuta inter scriptorios virtual", 45 | "Description[id]": "Berpindah di antara desktop virtual", 46 | "Description[is]": "Skiptir milli sýndarskjáborða", 47 | "Description[it]": "Passa tra i desktop virtuali", 48 | "Description[ja]": "仮想デスクトップを切り替えます", 49 | "Description[kk]": "Виртуалды үстелдерді ақтару", 50 | "Description[km]": "ប្ដូរ​រវាង​ផ្ទៃតុ​និម្មិត", 51 | "Description[kn]": "ವಾಸ್ತವಪ್ರಾಯ ಗಣಕತೆರೆಗಳ ನಡುವೆ ಅಂತರಿಸು", 52 | "Description[ko]": "가상 바탕 화면간 전환", 53 | "Description[lt]": "Perjungti tarp virtualių darbalaukių", 54 | "Description[lv]": "Pārslēgties starp virtuālām darbvirsmām", 55 | "Description[mk]": "Менување меѓу виртуелни раб. површини", 56 | "Description[ml]": "വര്‍ച്ചുവല്‍ പണിയിടങ്ങള്‍ തമ്മില്‍ മാറുക", 57 | "Description[mr]": "आभासी डेस्कटॉप बदला", 58 | "Description[nb]": "Bytt mellom virtuelle skrivebord", 59 | "Description[nds]": "Twischen Schriefdischen wesseln", 60 | "Description[nl]": "Schakel tussen virtuele bureaubladen", 61 | "Description[nn]": "Byt mellom virtuelle skrivebord", 62 | "Description[or]": "ଆଭାସୀ ଡ଼େସ୍କଟପଗୁଡ଼ିକ ମଧ୍ଯରେ ଅଦଳ ବଦଳ କରନ୍ତୁ", 63 | "Description[pa]": "ਵਰਚੁਅਲ ਡੈਸਕਟਾਪਾਂ ਵਿੱਚ ਸਵਿੱਚ ਕਰੋ", 64 | "Description[pl]": "Przełącza między pulpitami", 65 | "Description[pt]": "Mudar de ecrã virtual", 66 | "Description[pt_BR]": "Alterna entre áreas de trabalho virtuais", 67 | "Description[ro]": "Comută între birouri virtuale", 68 | "Description[ru]": "Переключение между рабочими столами", 69 | "Description[si]": "අතත්‍ය වැඩතල අතර මාරුවන්න", 70 | "Description[sk]": "Prepínanie medzi virtuálnymi plochami", 71 | "Description[sl]": "Preklapljaj med navideznimi namizji", 72 | "Description[sr@ijekavian]": "Пребацујте виртуелне површи", 73 | "Description[sr@ijekavianlatin]": "Prebacujte virtuelne površi", 74 | "Description[sr@latin]": "Prebacujte virtuelne površi", 75 | "Description[sr]": "Пребацујте виртуелне површи", 76 | "Description[sv]": "Byt mellan virtuella skrivbord", 77 | "Description[ta]": "Switch between virtual desktops", 78 | "Description[te]": "వర్చ్యువల్ రంగస్థలముల మధ్యన మారుము", 79 | "Description[th]": "สลับไปมาระหว่างพื้นที่ทำงานเสมือน", 80 | "Description[tr]": "Sanal masaüstleri arasında gezin", 81 | "Description[ug]": "مەۋھۇم ئۈستەلئۈستىلىرىنى ئالماشتۇر", 82 | "Description[uk]": "Перемкніть віртуальні стільниці", 83 | "Description[vi]": "Chuyển giữa các bàn làm việc ảo", 84 | "Description[wa]": "Passer d' on forveyou scribanne a èn ôte", 85 | "Description[x-test]": "xxSwitch between virtual desktopsxx", 86 | "Description[zh_CN]": "在虚拟桌面间切换", 87 | "Description[zh_TW]": "在虛擬桌面間切換", 88 | "EnabledByDefault": false, 89 | "Icon": "user-desktop", 90 | "Id": "com.github.tilorenz.compact_pager", 91 | "License": "GPL-3.0+", 92 | "Name": "Compact Pager", 93 | "Version": "3.5", 94 | "Website": "https://github.com/tilorenz/compact_pager" 95 | }, 96 | "X-Plasma-API-Minimum-Version": "6.0", 97 | "X-Plasma-NotificationArea": "true", 98 | "X-Plasma-NotificationAreaCategory": "SystemServices", 99 | "X-Plasma-Provides": [ 100 | "org.kde.plasma.virtualdesktops" 101 | ] 102 | } 103 | --------------------------------------------------------------------------------