Compare commits

..

1276 Commits

Author SHA1 Message Date
Simon Schneegans 62c57a5163 Merge branch 'main' into feature/magic-lamp
Checks / Check Clang-Format (push) Has been cancelled
Checks / Check Compliance with REUSE Specification (push) Has been cancelled
Checks / Check Comment Percentage (push) Has been cancelled
Checks / Run ShellCheck (push) Has been cancelled
Checks / Generate References (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 32) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 33) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 34) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 35) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 36) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 37) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, 38) (push) Has been cancelled
Checks / Run Tests (gnome-wayland-nested, rawhide) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 32) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 33) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 34) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 35) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 36) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 37) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, 38) (push) Has been cancelled
Checks / Run Tests (gnome-xsession, rawhide) (push) Has been cancelled
2023-08-13 12:43:40 +02:00
Simon Schneegans 063826354f 🌐 Translated using Weblate (German) 2023-08-13 12:17:22 +02:00
Hosted Weblate 297acee240 🌐 Update translation files 2023-08-13 12:17:22 +02:00
Simon Schneegans e226b65915 🌐 Translated using Weblate (German) 2023-08-13 12:17:22 +02:00
Hosted Weblate 8f3118ab91 🌐 Update translation files 2023-08-13 12:17:22 +02:00
Simon Schneegans c2d6385f6e 🌐 Update translation template 2023-08-13 07:54:11 +02:00
Simon Schneegans 2444c19656 🔀 Merge pull request #367 from Schneegans/feature/show-profile-dir 2023-08-13 07:52:16 +02:00
Simon Schneegans 5b820120fc 📝 Add changelog entry 2023-08-13 06:29:07 +02:00
Simon Schneegans 5ad18b258b 🎉 Add menu entry to open effect-profile directory 2023-08-13 06:28:02 +02:00
Simon Schneegans c30f26f3ec 🌐 Update translation template 2023-08-13 06:04:16 +02:00
Milan Šalka e3de58323d 🌐 Translated using Weblate (Slovak) 2023-08-11 19:25:00 +02:00
Simon Schneegans 5a60ab443e 🔀 Merge pull request #362 from Schneegans/fix/fullscreen-effects 2023-08-06 20:25:57 +02:00
Simon Schneegans 2fc4528057 Merge branch 'main' into fix/fullscreen-effects 2023-08-06 20:00:25 +02:00
Simon Schneegans 4af9692cd5 🔀 Merge pull request #363 from Schneegans/fix/kwin-intellij 2023-08-06 19:58:58 +02:00
Ettore Atalan 44291ef9f3 🌐 Translated using Weblate (German) 2023-08-06 19:58:08 +02:00
Simon Schneegans 2593de09b0 📝 Add changelog entry 2023-08-06 19:49:53 +02:00
Simon Schneegans 17017d7306 🪲 Add IntelliJ IDEs to window blacklist on KDE 2023-08-06 19:49:44 +02:00
Simon Schneegans ca3db8deae 📝 Add changelog entry 2023-08-06 13:42:45 +02:00
Simon Schneegans dcae2e986e 🔧 Set uIsFullscreen also on KWin 2023-08-06 13:40:08 +02:00
Simon Schneegans 68eb93f54f 🔧 Do not apply edge masks on full-screen windows 2023-08-06 12:45:33 +02:00
Simon Schneegans fe6d7ecd6a 🔀 Merge pull request #359 from Schneegans/feature/batch-effect-selection 2023-08-06 12:29:11 +02:00
Simon Schneegans 58a2ddb41f 🔧 Update references 2023-08-06 12:20:36 +02:00
Simon Schneegans dcd0a2f41c 📝 Add changelog entry 2023-08-05 13:51:48 +02:00
Simon Schneegans 14171b1ded 🎉 Add select-all and select-none buttons to GTK3 2023-08-05 13:49:07 +02:00
Simon Schneegans 65cecc5259 🎉 Add select-all and select-none buttons to GTK4 2023-08-05 13:45:47 +02:00
Simon Schneegans 5d105a99c1 📝 Add the functionality to the choose-all and choose-none buttons 2023-08-05 13:38:47 +02:00
Simon Schneegans 2447d40885 💄 Change settings title 2023-08-05 13:38:27 +02:00
Simon Schneegans b9901bad86 🔧 Work on lamp warping 2023-08-05 12:15:55 +02:00
Simon Schneegans 21dc4eac3d 🔧 Pass initial pointer position to magic lamp shader 2023-08-02 19:25:31 +02:00
Simon Schneegans b53b856c3e 🔧 Add some warping 2023-08-02 14:02:38 +02:00
Simon Schneegans 7625c98ad8 Merge branch 'main' into feature/magic-lamp 2023-08-02 13:49:00 +02:00
Simon Schneegans baa7b678e8 🔧 Add all and none buttons for adw 2023-08-02 13:48:31 +02:00
albanobattistella b21144c45f 🌐 Translated using Weblate (Italian) 2023-07-28 13:13:40 +02:00
Reza Almanda 170e8cd8af 🌐 Translated using Weblate (Indonesian) 2023-07-28 13:13:40 +02:00
Milan Šalka f2cbc2af23 🌐 Translated using Weblate (Slovak) 2023-07-28 13:13:40 +02:00
albanobattistella fd0d10bdef 🌐 Translated using Weblate (Italian) 2023-07-28 13:13:40 +02:00
Philip Goto 14fbc70578 🌐 Translated using Weblate (Dutch) 2023-07-28 13:13:40 +02:00
Simon Schneegans 3a03c86fbc 💚 Also set GSK_RENDERER when generating references 2023-07-04 22:05:47 +02:00
Simon Schneegans 067e663854 💚 Set GSK_RENDERER variable 2023-07-04 22:05:47 +02:00
gallegonovato f59af77941 🌐 Translated using Weblate (Spanish) 2023-07-04 20:33:27 +02:00
Simon Schneegans a98345e5f3 🎉 Bump version number 2023-07-03 21:46:29 +02:00
Simon Schneegans f9a25bb4aa 📝 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-07-03 21:27:11 +02:00
Hosted Weblate a107a0b9fa 🌐 Update translation files 2023-07-03 08:38:08 +02:00
Simon Schneegans 8b0e8fa9b3 🔀 Merge pull request #351 from Schneegans/feature/paint-brush 2023-07-03 05:50:51 +02:00
Simon Schneegans ccc4adebd7 🎨 Use two strokes for thickest brush 2023-07-03 05:42:48 +02:00
Simon Schneegans 08b8e75118 🌐 Update translation template 2023-07-02 21:55:58 +02:00
Simon Schneegans a6e2d61c37 💄 Rename "Size" to "Brush Size" 2023-07-02 21:55:24 +02:00
Simon Schneegans 344ec78cac 📝 Add changelog entry 2023-07-02 21:53:17 +02:00
Simon Schneegans b1014b61e5 🎨 Add brush source 2023-07-02 21:45:58 +02:00
Simon Schneegans be38af32af 🎉 Add paint-brush effect 2023-07-02 21:45:40 +02:00
Simon Schneegans c27c644977 📝 Add Paint-Brush effect to README 2023-07-02 21:08:49 +02:00
Simon Schneegans fb964aca8d 🎉 Bump version number 2023-06-09 20:30:05 +02:00
Simon Schneegans 79d9f2801f 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-06-09 20:04:56 +02:00
Simon Schneegans ada0472028 📝 Add changelog entry 2023-06-09 20:04:22 +02:00
Simon Schneegans 1be2e0bf77 📝 Use paypal.me link for paypal donations 2023-06-09 20:03:42 +02:00
Simon Schneegans feebedbdd8 📝 Add changelog entry 2023-06-09 17:50:02 +02:00
Simon Schneegans 834c602f5d 📝 Add support for the donation button on EGO 2023-06-09 17:49:12 +02:00
Simon Schneegans 8afad3a02e 🎉 Bump version number 2023-06-06 20:54:28 +02:00
Simon Schneegans 8829aa039e 📝 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-06-06 20:44:01 +02:00
Simon Schneegans e04b2769b1 💞 Update credits 2023-06-06 20:26:37 +02:00
Simon Schneegans 9293a5ab4d 🔀 Merge pull request #346 from Schneegans/feature/support-dialog 2023-06-06 09:00:21 +02:00
Simon Schneegans 0c58b507d8 📝 Add some comments 2023-06-06 08:47:23 +02:00
Simon Schneegans a585da93a8 🔧 Revert to heart emoji as the burning emoji does not work on GTK3 2023-06-06 08:36:43 +02:00
Simon Schneegans e450e619e6 🔧 Use burning heart emoji 2023-06-06 08:35:12 +02:00
Simon Schneegans 4a747602d9 🔧 Only show the support dialog every tenth time 2023-06-06 08:33:48 +02:00
Simon Schneegans d936717ac0 🔧 Improve wording of the support-dialog 2023-06-06 08:33:17 +02:00
Simon Schneegans 154b5bec32 🔧 Use notify::visible event to show the support dialog 2023-06-06 07:44:30 +02:00
Simon Schneegans 2e20bc8753 🔧 Use map event to show the support dialog 2023-06-06 07:32:58 +02:00
Simon Schneegans 6cc26d0dbc 🔧 Show support dialog programmatically 2023-06-06 06:03:59 +02:00
Simon Schneegans 78d4e79925 🪲 Fix support dialog on GTK4 2023-06-05 21:58:52 +02:00
Simon Schneegans b8759174f8 🪲 Show dialog on GTK3 2023-06-05 21:53:00 +02:00
Simon Schneegans d89be65fe3 🔧 Add support dialog for GTK3 and GTK4 2023-06-05 21:51:33 +02:00
Simon Schneegans 106ed964d5 📝 Add changelog entry 2023-06-05 20:44:16 +02:00
Simon Schneegans f4babe7575 🎉 Add a dialog to ask for support 2023-06-05 20:41:15 +02:00
Simon Schneegans fff39f66a8 🔀 Merge pull request #345 from Schneegans/fix/#344 2023-06-05 06:01:30 +02:00
Simon Schneegans 708b4ca1ad 📝 Add changelog entry 2023-06-05 05:47:29 +02:00
Simon Schneegans b2158eb2e2 🪲 Re-add accidentally deleted line 2023-06-05 05:43:44 +02:00
Simon Schneegans bb46352c37 🪲 Attempt to fix #344 2023-06-05 05:27:18 +02:00
Sabri Ünal 6b63222cbe 🌐 Translated using Weblate (Turkish) 2023-05-28 21:04:03 +02:00
TCr3 a2daa2e1b8 🌐 Translated using Weblate (Turkish) 2023-05-28 21:04:03 +02:00
Sabri Ünal d37c505bef 🌐 Translated using Weblate (Turkish) 2023-05-28 21:04:03 +02:00
Simon Schneegans cb368a6207 🪲 Fix issue #343 2023-05-28 20:37:55 +02:00
Simon Schneegans b0e6b66380 🎉 Bump version number 2023-05-22 20:42:28 +02:00
Simon Schneegans 8ef5a8882f ✨ Format changelog
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-05-22 20:39:31 +02:00
Simon Schneegans 729de9b0ff 🎉 Set release date 2023-05-22 20:38:27 +02:00
Simon Schneegans 59011dfe69 📝 Add changelog entry 2023-05-22 20:37:51 +02:00
Simon Schneegans 64701bef1b 🔀 Merge pull request #341 from Schneegans/fix/#335 2023-05-22 20:36:35 +02:00
Simon Schneegans 70dfbf71f5 💞 Update credits 2023-05-22 20:35:55 +02:00
Simon Schneegans 4d63512e47 📝 Add changelog entry 2023-05-22 20:27:49 +02:00
Simon Schneegans d0dc1b427c 🪲 Fix issue #335 2023-05-22 20:22:58 +02:00
Simon Schneegans c358c59eb4 📝 Fix links 2023-05-22 20:22:43 +02:00
aerowolf 078f2fb853 🌐 Translated using Weblate (Chinese (Simplified)) 2023-05-16 14:55:35 +02:00
Reza Almanda edbd3a7ac8 🌐 Translated using Weblate (Indonesian) 2023-05-16 14:55:35 +02:00
Simon Schneegans 679f9902c1 🎉 Bump version number 2023-05-04 17:26:35 +02:00
Simon Schneegans 7a30881c0d 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-05-04 17:19:03 +02:00
Simon Schneegans 993c72ac2c 📝 Add changelog entry 2023-05-04 17:18:52 +02:00
Simon Schneegans 40193aca03 💞 Update credits 2023-05-04 17:18:02 +02:00
Simon Schneegans 4f91e0668a 🪲 Fix wayland-window picking 2023-05-04 16:53:49 +02:00
Simon Schneegans bffd784221 📝 Add changelog entry 2023-04-24 22:10:38 +02:00
Simon Schneegans 2b1e5cb877 🪲 Fix invisible-window bug 2023-04-24 22:10:26 +02:00
Seong-ho Cho d316203b6f 🌐 Translated using Weblate (Korean) 2023-04-24 21:51:52 +02:00
Isaac Dias 965130e363 🌐 Translated using Weblate (Portuguese (Brazil)) 2023-04-10 20:39:55 +02:00
Simon Schneegans 8e6d65d3eb 🎉 Bump version number 2023-04-08 10:33:06 +02:00
Simon Schneegans aca3c34142 🪲 Fix yet another incompatibility with the Magic Lamp
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-04-08 10:26:54 +02:00
Simon Schneegans 84bd93bd2c 🎉 Bump version number 2023-04-08 09:44:28 +02:00
Simon Schneegans 3367b57c05 🪲 Fix incompatibility with the magic-lamp extension
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-04-08 09:27:31 +02:00
SoftExpert 9905e643a5 🌐 Translated using Weblate (Romanian) 2023-04-07 16:10:33 +02:00
Simon Schneegans 0d8aed5ad0 🔀 Merge pull request #322 from Schneegans/feature/fixes 2023-04-07 16:09:33 +02:00
Simon Schneegans 79601cc8d0 📝 Add changelog entry 2023-04-07 06:37:24 +02:00
Simon Schneegans f021ea7ede 🪲 Fix effects in front of fullscreen windows 2023-04-07 06:35:17 +02:00
Simon Schneegans f3e9917729 🎉 Bump version number 2023-04-07 06:23:59 +02:00
Simon Schneegans 14cfa0818f 🪲 Fix effect profile loading
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-04-06 20:32:45 +02:00
Simon Schneegans 4814730400 🎉 Bump version number 2023-04-06 20:20:59 +02:00
Simon Schneegans 91f7f8f1b5 📝 Fix type 2023-04-06 20:18:30 +02:00
Simon Schneegans fa5baa4301 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2023-04-06 20:17:58 +02:00
Simon Schneegans c80707ee1f 📝 Set release date 2023-04-06 20:17:35 +02:00
Simon Schneegans 343eddbfcb 🔀 Merge pull request #321 from Schneegans/feature/no-hardware-acceleration 2023-04-05 09:44:25 +02:00
Simon Schneegans 04e0999d5b 📝 Add changelog entry [no-ci] 2023-04-05 08:36:12 +02:00
Simon Schneegans 48c8bcec3a 🔧 Fix overview animation on GNOME 3.38 2023-04-05 08:08:03 +02:00
Simon Schneegans 38d12453b6 🪲 Prevent a warning 2023-04-05 08:02:44 +02:00
Simon Schneegans b48e92f8c1 🔧 Do not attempt to scale overview clones on GNOME 3.36 2023-04-05 08:02:13 +02:00
Simon Schneegans 14d482e16a 🪲 Properly scale windows in the overview 2023-04-05 07:51:27 +02:00
Simon Schneegans e87340d7ad 🔧 Perform tests also on Fedora 38 and rawhide 2023-04-04 19:27:37 +02:00
Simon Schneegans ee93c06304 🔧 Add new GS versions to test suite [generate-references] 2023-04-04 13:29:37 +02:00
Simon Schneegans 1e06ed6503 🪲 Fix compatibility with GNOME 3.36 2023-04-04 11:44:15 +02:00
Simon Schneegans 0fd3f0f62f 🔧 Do not depend on Clutter.Transitions 2023-04-04 11:27:01 +02:00
Simon Schneegans 42d69afa89 🔀 Merge pull request #320 from Schneegans/feature/gles 2023-04-03 16:49:56 +02:00
Simon Schneegans 1b57d1e015 Merge branch 'main' into feature/gles 2023-04-02 20:52:26 +02:00
Simon Schneegans 658ca6415a 📝 Add changelog entry 2023-04-02 20:49:11 +02:00
Simon Schneegans 5ffee2c817 ✨ Apply clang-format 2023-04-02 20:46:33 +02:00
Simon Schneegans 5aad16c8bf 🔧 Make shaders compatible with GLES 2023-04-02 20:42:38 +02:00
Simon Schneegans b623a5923f 🔧 Revert tests on GNOME 44 for now 2023-04-01 22:00:24 +02:00
Simon Schneegans e06245bdca 🔧 Update test scripts for Fedora Rawhide 2023-04-01 22:00:02 +02:00
Simon Schneegans e5907292ed 🔧 Execute tests on more GNOME versions 2023-04-01 21:47:19 +02:00
Simon Schneegans 70bfbac890 💞 Update sponsors 2023-03-30 20:44:43 +02:00
Simon Schneegans d010c60143 🔀 Merge pull request #319 from Schneegans/feature/fix-tutorial 2023-03-29 20:47:04 +02:00
CakesTwix 649a1cce73 🌐 Translated using Weblate (Ukrainian) 2023-03-29 20:40:23 +02:00
Simon Schneegans bccdc0253d 📝 Add changelog entries 2023-03-29 20:25:53 +02:00
Simon Schneegans b7429bada3 🔧 Allow effects with no settings 2023-03-29 20:24:28 +02:00
Simon Schneegans 23a85798ca 📝 Fix tutorial 2023-03-29 20:23:40 +02:00
Simon Schneegans 6eebcc6b8c 🎉 Add initial magic lamp code 2023-03-29 20:00:11 +02:00
Philip Goto e051551747 🌐 Translated using Weblate (Dutch) 2023-03-17 13:13:42 +01:00
Simon Schneegans 6eae8d1aa3 🔧 Add Ko-fi 2023-03-10 12:59:49 +01:00
Simon Schneegans 6d34936375 📝 Add KoFi donation method 2023-03-09 13:46:59 +01:00
Jose Riha 46c8eaf417 🌐 Translated using Weblate (Slovak) 2023-03-07 13:26:33 +01:00
WaldiS 55b491bb36 🌐 Translated using Weblate (Polish) 2023-03-05 19:19:21 +01:00
Simon Schneegans c78bc4c094 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-03-01 19:32:56 +01:00
Simon Schneegans 024b39d627 💞 Update credits 2023-03-01 19:29:53 +01:00
Simon Schneegans 349170f68f 💞 Update sponsors 2023-02-28 14:22:45 +01:00
Simon Schneegans 6ba32dff81 📝 Update links 2023-02-26 21:01:30 +01:00
SoftExpert 8fac2692f5 🌐 Translated using Weblate (Romanian) 2023-02-25 07:15:57 +01:00
lenemter 448b9a513d 🌐 Translated using Weblate (Russian) 2023-02-25 07:15:57 +01:00
albanobattistella 94339dbc19 🌐 Translated using Weblate (Italian) 2023-02-25 07:15:57 +01:00
SoftExpert 4aa5b3fc27 🌐 Translated using Weblate (French) 2023-02-25 07:15:57 +01:00
Simon Schneegans 84f11659f1 🔧 Give application profiles a higher priority 2023-02-22 10:50:38 +01:00
Simon Schneegans 5aacdbea5f 📝 Add changelog entry 2023-02-21 21:26:35 +01:00
Simon Schneegans c7b0e92eb2 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2023-02-21 21:23:27 +01:00
Simon Schneegans 612a27fbf5 📝 Update command 2023-02-21 21:23:21 +01:00
gallegonovato 0b71317791 🌐 Translated using Weblate (Spanish) 2023-02-21 20:50:58 +01:00
Heimen Stoffels 465e587714 🌐 Translated using Weblate (Dutch) 2023-02-21 20:50:58 +01:00
Simon Schneegans 591c8d38db 🌐 Translated using Weblate (German) 2023-02-21 20:50:58 +01:00
Hosted Weblate 3fde2f8602 🌐 Update translation files 2023-02-21 20:50:58 +01:00
Isaac Dias 3b8bcd02aa 🌐 Translated using Weblate (Portuguese (Brazil)) 2023-02-21 20:50:58 +01:00
Simon Schneegans 9872531544 🎉 Add support for GNOME 44 2023-02-21 20:24:11 +01:00
Simon Schneegans a4ee545b9a Revert "🔧 Ellipsize profile selection button"
This reverts commit caa29fb9d6.
2023-02-21 20:17:48 +01:00
Simon Schneegans caa29fb9d6 🔧 Ellipsize profile selection button 2023-02-21 20:04:06 +01:00
Simon Schneegans ce6e6389e4 🔧 Tweak default prefs window size 2023-02-21 20:03:24 +01:00
Simon Schneegans edd6d76a58 🔧 Do not attempt to migrate anything if on a new installation 2023-02-21 19:44:13 +01:00
Simon Schneegans b93d28e66c 🔧 Add schema sources to zip file 2023-02-21 17:37:17 +01:00
Simon Schneegans e8703e3484 🔧 Prevent warning 2023-02-21 17:19:45 +01:00
Simon Schneegans fae67f89b5 🎉 Add wallpaper link to menu 2023-02-21 16:47:38 +01:00
Simon Schneegans 97e18cb727 📝 Add changelog entry 2023-02-21 16:41:00 +01:00
Simon Schneegans 1bd646bc92 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2023-02-20 20:30:42 +01:00
Simon Schneegans f4866471e4 📝 Add new teaser link and image 2023-02-20 20:30:37 +01:00
albanobattistella b3237b6e4e 🌐 Translated using Weblate (Italian) 2023-02-20 12:53:25 +01:00
Heimen Stoffels ba9226d4e2 🌐 Translated using Weblate (Dutch) 2023-02-20 09:07:17 +01:00
Ulices 9bd813777e 🌐 Translated using Weblate (Spanish) 2023-02-20 09:07:17 +01:00
Simon Schneegans 56f87c4851 📝 Add link to wallpaper repo 2023-02-16 08:56:21 +01:00
Simon Schneegans 0ef412ebf1 📝 Update previews 2023-02-15 17:34:05 +01:00
Simon Schneegans eb3adfd251 🌐 Translated using Weblate (German) 2023-02-15 13:24:29 +01:00
Hosted Weblate 931a4aab01 🌐 Update translation files 2023-02-15 13:24:29 +01:00
Simon Schneegans 40866b97fb 🌐 Translated using Weblate (German) 2023-02-15 13:24:29 +01:00
Hosted Weblate 0bcd3cd731 🌐 Update translation files 2023-02-15 13:24:29 +01:00
Simon Schneegans 5b89864f7f 🔧 Use high-priority as part of the prpfile name 2023-02-15 13:21:03 +01:00
Simon Schneegans dc7d26e4d7 🔀 Merge pull request #292 from Schneegans/feature/effect-profiles 2023-02-15 12:13:32 +01:00
Simon Schneegans 4280c21575 📝 Add changelog entry 2023-02-15 09:10:38 +01:00
Seong-ho Cho 3179686e28 🌐 Translated using Weblate (Korean) 2023-02-15 08:52:38 +01:00
Simon Schneegans 08450b6358 🌐 Update translation template 2023-02-10 21:22:57 +01:00
Simon Schneegans 2604055fb0 🔧 Remove tooltip 2023-02-10 21:22:32 +01:00
Simon Schneegans bcfe85ce34 🔧 Make dialog message clearer 2023-02-10 21:15:26 +01:00
Simon Schneegans 4b6b6f359d 🪲 Fix profile migration 2023-02-10 06:15:22 +01:00
Simon Schneegans 543cf7de09 🔧 Only try to migrate profiles once 2023-02-10 06:02:23 +01:00
Simon Schneegans f2cf78971d 🔧 Work on setting migration 2023-02-10 05:55:50 +01:00
Simon Schneegans 43130b4680 🔧 Tweak migration code 2023-02-08 21:32:29 +01:00
Simon Schneegans 86f24c0a50 🔧 Tweak migration code 2023-02-08 21:21:49 +01:00
Simon Schneegans 7fb6db28c2 🔧 Tweak migration code 2023-02-08 21:16:38 +01:00
Simon Schneegans d37789ce7a 🔧 Tweak migration code 2023-02-08 21:03:40 +01:00
Simon Schneegans b47c548deb 🔧 Add initial migration code 2023-02-08 20:58:55 +01:00
Simon Schneegans cb60747e5a 🎉 Add async executeCommand method 2023-02-08 20:58:34 +01:00
Simon Schneegans 7f7fd8686f 🔧 Tweak some labels 2023-02-08 20:57:57 +01:00
Simon Schneegans 8d7144b6e4 🔧 Unify trex settings keys 2023-02-08 16:33:00 +01:00
Simon Schneegans 8c163f3a38 🔧 Unify fire settings keys 2023-02-08 16:31:13 +01:00
Simon Schneegans dd5801c0f7 🔧 Support multiple apps per profile 2023-02-08 10:33:03 +01:00
Simon Schneegans 3020fec2bc 🔧 Add arrow to profile chooser button on GTK3 2023-02-08 09:03:03 +01:00
Simon Schneegans 2dd771aac4 🔧 Port version check to GTK3 2023-02-08 07:50:05 +01:00
Simon Schneegans 3c7849cc1a 🔧 Port update notification to GTK4 2023-02-08 06:14:57 +01:00
Simon Schneegans 26e7f6bb00 🔧 Show toast if BMW got updated 2023-02-08 05:33:06 +01:00
KinteLiX 58dec719c7 🌐 Translated using Weblate (Hungarian) 2023-02-07 08:46:39 +01:00
Simon Schneegans 33f4410a5b 📝 Add some comments 2023-02-06 20:25:26 +01:00
Simon Schneegans 1c8ed8df92 📝 Add some comments 2023-02-05 20:29:29 +01:00
Simon Schneegans 142f6e9e3c ✨ Apply clang-format 2023-02-05 20:19:51 +01:00
Simon Schneegans 89e056084a 🔧 Do not fiddle with animation times 2023-02-05 20:19:19 +01:00
Simon Schneegans ab851d8113 🔧 Update references 2023-02-05 20:04:03 +01:00
Simon Schneegans fa7b118dc3 🔧 Do not capture preference window reference in center of the screen 2023-02-05 20:03:51 +01:00
Simon Schneegans fbaa04082c 🪲 Fix syntax error on GNOME 3.36 2023-02-05 19:54:25 +01:00
KinteLiX a5f7a7a215 🌐 Added translation using Weblate (Hungarian) 2023-02-05 13:27:51 +01:00
Simon Schneegans 07d9633609 Merge branch 'feature/effect-profiles-gs38' into feature/effect-profiles 2023-02-05 13:27:22 +01:00
Simon Schneegans 44ccb41f90 🔧 Tweak application entry 2023-02-05 13:25:26 +01:00
Simon Schneegans e62a0454c6 🔧 Fix GTK3 label alignment 2023-02-05 13:25:14 +01:00
Simon Schneegans f149ee4cf3 🔧 Some libadwaita fixes 2023-02-05 13:09:36 +01:00
Simon Schneegans 9539a9fa13 🔧 Port effect profiles to GNOME Shell 3.38 2023-02-05 13:04:45 +01:00
Simon Schneegans bfd52dd98a 📝 Fix typo 2023-02-04 13:53:20 +01:00
Simon Schneegans d95e2eccdc Merge branch 'main' into feature/effect-profiles 2023-02-04 13:21:52 +01:00
Simon Schneegans e7145eb9fb 📝 Update KDE store links 2023-02-04 13:13:21 +01:00
Simon Schneegans 656007bf1e 🎉 Bump version number 2023-02-04 12:51:48 +01:00
Simon Schneegans 01f7bf3a1a 🪲 Fix deployment of KWin packages
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-02-04 12:49:31 +01:00
Simon Schneegans 0e8bd76755 🎉 Bump version number 2023-02-04 12:42:50 +01:00
Simon Schneegans f603eb7784 🎉 Set release date 2023-02-04 12:40:50 +01:00
Simon Schneegans 712317225a Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2023-02-04 12:25:26 +01:00
Simon Schneegans d49f1853a9 📝 Add changelog entry 2023-02-03 19:53:34 +01:00
Simon Schneegans 0210945a1d 🌐 Translated using Weblate (German) 2023-02-03 19:51:41 +01:00
Simon Schneegans f45511290f 💞 Update credits 2023-02-03 19:51:22 +01:00
Simon Schneegans 746c3beb90 📝 Add links to README 2023-02-03 19:46:35 +01:00
SoftExpert 7da0833678 🌐 Translated using Weblate (Romanian) 2023-02-03 19:36:13 +01:00
Mathis Chabrier e7448f488d 🌐 Translated using Weblate (French) 2023-02-03 19:36:13 +01:00
SoftExpert 73b72f1c9d 🌐 Translated using Weblate (French) 2023-02-03 19:36:13 +01:00
Ryan Y 9961fcd867 🌐 Translated using Weblate (Japanese) 2023-02-02 16:49:30 +01:00
Simon Schneegans 4792f8fcbb Merge branch 'feature/effect-profiles' into feature/effect-profiles-gs41 2023-02-02 10:40:30 +01:00
Simon Schneegans cc6a4d8331 🪲 Fix pixel wipe effect 2023-02-02 10:40:16 +01:00
Simon Schneegans 33e9627801 🔧 Port effect profiles to GTK4 2023-02-02 10:37:11 +01:00
Simon Schneegans 956cef56b4 🔧 Start porting to GTK4 2023-02-01 05:36:50 +01:00
Simon Schneegans d6c89cd79b 🔧 Reorder UI file 2023-01-30 19:09:46 +01:00
Simon Schneegans 88168553f8 🔧 Port effect profiles to GS 42 2023-01-30 14:50:25 +01:00
Simon Schneegans 99b90377c5 🎉 Implement profile selection 2023-01-30 13:57:33 +01:00
Simon Schneegans 35860c7b2d 🪲 Fix makefile 2023-01-30 13:57:07 +01:00
Simon Schneegans 792be167a4 🎉 Add WindowPicker 2023-01-30 13:56:56 +01:00
Ryan Y ea6ab1d7f3 🌐 Added translation using Weblate (Japanese) 2023-01-30 10:29:26 +01:00
Simon Schneegans 269c5a1355 🔧 Add some initial profile evaluation 2023-01-30 05:52:49 +01:00
Simon Schneegans ddf54c215e 🪲 Fix tests 2023-01-30 05:51:36 +01:00
Simon Schneegans 1bc146164e 🔧 Previewing effects works again 2023-01-29 20:42:38 +01:00
Simon Schneegans 72f9c8eefc 🔧 Pass testMode flag to shaders 2023-01-29 20:41:40 +01:00
Simon Schneegans 96d098daba 🔧 Connect fire buttons only once 2023-01-29 14:06:43 +01:00
Simon Schneegans 776cfa9736 🔧 Hide copy-paste buttons 2023-01-29 14:01:54 +01:00
Simon Schneegans b9a8071dd1 🔧 Increase default window size 2023-01-29 14:01:43 +01:00
Simon Schneegans da9bd8818d 🪲 Fix double-profile 2023-01-29 13:55:29 +01:00
Simon Schneegans 8bb0ee26db 📝 Add more comments 2023-01-29 13:49:41 +01:00
Simon Schneegans 374b8c98b6 📝 Add plenty of comments 2023-01-29 13:15:58 +01:00
Simon Schneegans 6904762590 🚚 Move effect sources to separate directory 2023-01-29 12:42:06 +01:00
Simon Schneegans 764b8b9ffa 🔧 Profile configuration start working 2023-01-28 20:38:58 +01:00
Simon Schneegans 53e738b87b 🪲 Fix rebinding of properties 2023-01-26 05:55:18 +01:00
Simon Schneegans 524345606c 🔧 Sort profiles 2023-01-26 05:54:58 +01:00
Simon Schneegans 3f6d55994a 🔧 Include profile edit icon 2023-01-26 05:46:37 +01:00
Petro S 2ceb8e3212 🌐 Translated using Weblate (Ukrainian) 2023-01-26 05:33:22 +01:00
gnu-ewm 4179761c7a 🌐 Translated using Weblate (Polish) 2023-01-26 05:33:22 +01:00
Daudix UFO f22acef43b 🌐 Translated using Weblate (Russian) 2023-01-26 05:33:22 +01:00
Heimen Stoffels 30ddd8b496 🌐 Translated using Weblate (Dutch) 2023-01-26 05:33:22 +01:00
gallegonovato 49aeb053bf 🌐 Translated using Weblate (Spanish) 2023-01-26 05:33:22 +01:00
Simon Schneegans 6bdb1b07ff 🔧 Implicitely load effect preferences 2023-01-25 05:50:46 +01:00
Simon Schneegans b2f5a930d0 ✨ Fix indentation 2023-01-23 19:59:19 +01:00
Simon Schneegans 6f83004123 🔧 Add TV Glitch options 2023-01-23 19:58:51 +01:00
Simon Schneegans 86bd765125 Merge branch 'main' into feature/application-profiles 2023-01-23 19:58:23 +01:00
Simon Schneegans 7ab078129f 🔀 Merge pull request #288 from Schneegans/feature/configurable-alpha 2023-01-23 19:46:26 +01:00
Hosted Weblate f318a02b02 🌐 Update translation files 2023-01-23 17:20:20 +01:00
gnu-ewm 6edd9ac723 🌐 Translated using Weblate (Polish) 2023-01-23 17:20:20 +01:00
Simon Schneegans 28d6531a87 🎉 Add support for alpha channel in color of TV Effect, TV Glitch, and Glitch 2023-01-23 17:15:47 +01:00
Simon Schneegans 50780eba46 📝 Add TV Glitch to README 2023-01-23 17:14:32 +01:00
Simon Schneegans 1e5b30a274 🔀 Merge pull request #286 from Schneegans/feature/tv-glitch 2023-01-23 17:13:05 +01:00
Simon Schneegans 7af4455833 🔧 Add more reference images 2023-01-23 13:54:17 +01:00
Simon Schneegans f833b49c25 🔧 Add more color to TV Glitch effect 2023-01-23 13:49:48 +01:00
Simon Schneegans 265187cac5 🔧 Add TV Glitch to CI tests 2023-01-23 13:33:06 +01:00
Simon Schneegans b3b9373956 🌐 Update translation template 2023-01-23 13:21:34 +01:00
Simon Schneegans 0441402fa3 🔧 Add some vertical squishing to the TV Glitch effect 2023-01-23 13:17:16 +01:00
Simon Schneegans d52c27228e 🔧 Port TV Glitch to GNOME 2023-01-23 12:57:24 +01:00
Simon Schneegans 9e1d9142fc 📝 Add changelog entry 2023-01-23 12:57:10 +01:00
Simon Schneegans bf7cb797f2 🚚 Rename shader file 2023-01-23 12:56:53 +01:00
Simon Schneegans 8ace960e18 🔀 Merge pull request #285 from Kurtoid/main 2023-01-23 12:23:16 +01:00
Simon Schneegans 3651237248 🔧 Work on loading of profiles 2023-01-23 09:59:46 +01:00
Kurt Wilson 424f522177 clarify change in tv timing code 2023-01-22 22:35:57 -05:00
Kurt Wilson 72db690fa8 🎉 add tvglitch effect - adds the TV effect to glitch 2023-01-22 22:31:27 -05:00
Simon Schneegans 6da3e209b2 🎨 Add new copy-paste icons 2023-01-22 12:51:34 +01:00
Simon Schneegans 5a0688cffc Merge branch 'main' into feature/application-profiles 2023-01-22 07:14:43 +01:00
Simon Schneegans 29174104e6 📝 Add hint to changelog [no-ci] 2023-01-21 19:33:33 +01:00
Simon Schneegans 4a8724f529 🔀 Merge pull request #283 from Schneegans/feature/translate-kde 2023-01-21 19:31:44 +01:00
Simon Schneegans b05e935f62 📝 Add changelog entry 2023-01-21 13:54:00 +01:00
Simon Schneegans d73bab1cb1 🔧 Fix some KDE strings 2023-01-21 13:45:55 +01:00
Simon Schneegans 8c88adcb19 🔧 Compile translations with kwin build script 2023-01-21 13:34:39 +01:00
Simon Schneegans 492b16cd0c 🔧 Make KDE and GNOME strings more similar 2023-01-21 13:12:14 +01:00
Simon Schneegans 73fc6820b8 🔧 Make fire effect translatable 2023-01-21 12:51:58 +01:00
Simon Schneegans 66f0640027 🔥 Remove unused kwin apparition directory 2023-01-21 12:51:32 +01:00
Simon Schneegans 04387af610 💞 Add new sponsor 2023-01-20 20:29:05 +01:00
Simon Schneegans 7b5ef70b4d 🔧 Add some initial code to load profiles 2023-01-20 20:07:07 +01:00
Simon Schneegans b45480991a Merge branch 'main' into feature/application-profiles 2023-01-18 05:36:59 +01:00
Simon Schneegans a8c1035253 📝 Add changelog entry
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-01-17 20:13:21 +01:00
Simon Schneegans c21790f5a8 🪲 Fix issue #278 2023-01-17 20:13:07 +01:00
Simon Schneegans ae0c1309a2 🔧 Bind profile combo rows to settings 2023-01-17 20:01:41 +01:00
Simon Schneegans 2a79860aac 🔀 Merge pull request #277 from onuralpszr/fedora-package-readme 2023-01-15 12:55:09 +01:00
Onuralp SEZER fd5d195446 📝 fedora package name for readme
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2023-01-15 14:37:13 +03:00
Simon Schneegans a0d134f629 Merge branch 'main' into feature/application-profiles 2023-01-14 13:56:44 +01:00
Simon Schneegans bfc313c825 🎉 Bump version number 2023-01-14 13:43:46 +01:00
Simon Schneegans db38dcb76e 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-01-14 13:29:39 +01:00
Simon Schneegans 945759f57b 💞 Update credits 2023-01-14 13:25:56 +01:00
Simon Schneegans a16ab49eb9 📝 Add changelog entry 2023-01-14 13:25:41 +01:00
Simon Schneegans 3a7e076067 🔧 Work on effect profiles 2023-01-14 13:21:48 +01:00
Simon Schneegans a4b9f70cc3 🔧 Work on effect profiles 2023-01-13 20:41:28 +01:00
Simon Schneegans 532aad1341 🔧 Hack the flap into the widget tree 2023-01-12 20:31:24 +01:00
SoftExpert c2a89b3012 🌐 Translated using Weblate (Romanian) 2023-01-11 20:15:30 +01:00
ssantos 26cba5c1b9 🌐 Translated using Weblate (Portuguese) 2023-01-11 20:15:30 +01:00
SoftExpert e1896b2c0e 🌐 Translated using Weblate (French) 2023-01-11 20:15:30 +01:00
Simon Schneegans 6def4e4a4a 🔧 Try vertical flap 2023-01-11 20:13:08 +01:00
Simon Schneegans 8fdc958cb9 🔧 Start thinking about application profiles 2023-01-11 05:50:39 +01:00
Sir-Ivysaur 8897d23086 🌐 Translated using Weblate (Indonesian) 2023-01-09 20:14:58 +01:00
Daudix UFO cf393b04db 🌐 Translated using Weblate (Russian) 2023-01-09 20:14:58 +01:00
Heimen Stoffels 0cb8effd64 🌐 Translated using Weblate (Dutch) 2023-01-09 20:14:58 +01:00
gallegonovato 1e0370b5d9 🌐 Translated using Weblate (Spanish) 2023-01-09 20:14:58 +01:00
albanobattistella aa5068090d 🌐 Translated using Weblate (Italian) 2023-01-09 20:14:58 +01:00
Ettore Atalan 5236e6c623 🌐 Translated using Weblate (German) 2023-01-09 20:14:58 +01:00
Simon Schneegans 970346daaa 📝 Add changelog entry 2023-01-08 19:57:53 +01:00
Simon Schneegans 2fa10bb706 🪲 Fix issue #272 2023-01-08 19:46:48 +01:00
Simon Schneegans d87e84846d 🔀 Merge pull request #273 from Schneegans/feature/adw-about-window 2023-01-08 19:40:29 +01:00
Simon Schneegans 05c4c8979f 📝 Add changelog entry 2023-01-07 20:43:17 +01:00
Simon Schneegans 0d2ff4f5cd 🔧 Use Adw.AboutWindow if available 2023-01-07 20:42:36 +01:00
Hosted Weblate 7739504d76 🌐 Update translation files 2023-01-07 14:04:15 +01:00
Sir-Ivysaur 4c1320dbd2 🌐 Translated using Weblate (Indonesian) 2023-01-07 14:04:15 +01:00
Simon Schneegans c1989c51f8 🔀 Merge pull request #270 from Schneegans/feature/disable-on-battery-save 2023-01-07 13:48:11 +01:00
Simon Schneegans e2b5658598 🌐 Update translation template 2023-01-07 13:39:28 +01:00
Simon Schneegans 71c5821a6a 📝 Add changelog entry 2023-01-07 13:39:02 +01:00
Simon Schneegans da66af199b 🔧 Hide setting if power profiles deamon is not available 2023-01-07 13:28:13 +01:00
Simon Schneegans 09f2b3bde9 🔧 Add switch to UI 2023-01-07 13:25:36 +01:00
Simon Schneegans c7488c6646 🪲 Fix debug print 2023-01-07 13:05:41 +01:00
Simon Schneegans e4aa5e7aae 🔧 Add initial code to disable on power-save mode 2023-01-07 13:02:22 +01:00
Sir-Ivysaur 581a045c69 🌐 Translated using Weblate (Indonesian) 2023-01-06 08:24:57 +01:00
lenemter 0e4e3067e4 🌐 Translated using Weblate (Russian) 2023-01-06 08:24:57 +01:00
Heimen Stoffels 21bb58138c 🌐 Translated using Weblate (Dutch) 2023-01-06 08:24:57 +01:00
gallegonovato fcd05f498f 🌐 Translated using Weblate (Spanish) 2023-01-06 08:24:57 +01:00
Ettore Atalan f0afd86bab 🌐 Translated using Weblate (German) 2023-01-06 08:24:57 +01:00
Simon Schneegans cc7f73b859 🔧 Slight tweak the window fading of the glitch effect 2023-01-05 06:40:50 +01:00
Simon Schneegans c983a7838d 📝 Simplify README table 2023-01-05 06:40:26 +01:00
Sir-Ivysaur 511ca76f66 🌐 Added translation using Weblate (Indonesian) 2023-01-04 19:41:07 +01:00
Hosted Weblate 81969eb9a4 🌐 Update translation files 2023-01-03 13:56:39 +01:00
Simon Schneegans f0d7352c02 🔀 Merge pull request #265 from Schneegans/feature/glitch 2023-01-03 13:48:47 +01:00
Simon Schneegans c31456512c 🌐 Update translation template 2023-01-03 13:47:52 +01:00
Simon Schneegans e40f25f13e 🔧 Add glitch reference images 2023-01-03 13:39:01 +01:00
Simon Schneegans d6e42369c0 🪲 Fix glitch effect's kwin config ui 2023-01-03 13:32:59 +01:00
Simon Schneegans 9dccccf2b2 🎉 Add initial kwin version of the glitch effect 2023-01-03 13:12:05 +01:00
Simon Schneegans f09901c4ba 📝 Add glitch effect to README 2023-01-03 13:04:17 +01:00
Simon Schneegans 4844e1279d 📝 Add changelog entry [generate-references] 2023-01-03 12:54:25 +01:00
Simon Schneegans ab079efc90 🔧 Tweak glitch effect 2023-01-03 12:52:07 +01:00
Simon Schneegans 88a51ea0dc Merge branch 'main' into feature/glitch 2023-01-02 20:31:22 +01:00
Simon Schneegans 91e6dc86c6 📝 Add changelog entry 2023-01-02 20:31:10 +01:00
Simon Schneegans 6440d00891 🔧 Use heart button instead of menu button 2023-01-02 20:29:49 +01:00
Simon Schneegans 1693d9a25b 📝 Add comment 2023-01-02 20:29:25 +01:00
Simon Schneegans 7840665589 🎉 Add initial version of a glitch effect 2023-01-02 20:28:33 +01:00
lenemter 1b0ab3f127 🌐 Translated using Weblate (Russian) 2022-12-31 19:12:53 +01:00
Simon Schneegans d07f3972d1 🔀 Merge pull request #261 from Schneegans/feature/update-ci 2022-12-31 06:04:13 +01:00
Simon Schneegans eb819c90c8 🔧 Do not copy references into container 2022-12-31 05:56:25 +01:00
Simon Schneegans 5a68fe9189 🔧 Revert changes 2022-12-31 05:56:08 +01:00
Simon Schneegans c22417deef 🔧 Update references 2022-12-31 05:48:05 +01:00
Simon Schneegans a353c2ed3e 🪲 Fix reference generation 2022-12-31 05:42:47 +01:00
Simon Schneegans b7202496fb 🔧 Add Fedora 37 to makefile [generate-references] 2022-12-31 05:34:23 +01:00
Simon Schneegans c4094ab158 🔧 Run tests on Fedora 37 as well 2022-12-31 05:28:13 +01:00
Simon Schneegans dd87d28be9 🔧 Do not install gnome-terminal 2022-12-31 05:27:51 +01:00
Paweł Rzońca 0e9b2cc104 🌐 Translated using Weblate (Polish) 2022-12-30 13:15:33 +01:00
albanobattistella 1c5d1a2240 🌐 Translated using Weblate (Italian) 2022-12-30 13:15:33 +01:00
WaldiS 52d5d32955 🌐 Translated using Weblate (Polish) 2022-12-26 12:54:33 +01:00
Heimen Stoffels da0bc714b0 🌐 Translated using Weblate (Dutch) 2022-12-26 12:54:33 +01:00
albanobattistella 15f4d6aebb 🌐 Translated using Weblate (Italian) 2022-12-26 12:54:33 +01:00
Simon Schneegans 6eb8ab76b6 💞 Add new sponsor 2022-12-23 20:23:52 +01:00
Simon Schneegans a9d98257d9 🎉 Bump version number 2022-12-23 17:39:23 +01:00
Simon Schneegans fe1e1c2658 🔧 Revert version number bump
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-12-23 13:44:58 +01:00
Simon Schneegans 88663ea743 🪲 Fix KWin issue 2022-12-23 13:44:43 +01:00
Simon Schneegans 6eaab902e0 🎉 Bump version number 2022-12-23 13:39:39 +01:00
Simon Schneegans a6411be94b 📝 Add line to README 2022-12-23 13:36:09 +01:00
Simon Schneegans b0c858141a 🎉 Set release date 2022-12-23 13:35:56 +01:00
gallegonovato fb9721b544 🌐 Translated using Weblate (Spanish) 2022-12-23 13:13:54 +01:00
Simon Schneegans 29c050b876 🌐 Translated using Weblate (German) 2022-12-23 13:13:54 +01:00
Hosted Weblate b280ed23b9 🌐 Update translation files 2022-12-23 13:13:54 +01:00
Simon Schneegans 1654f69341 💞 Update credits 2022-12-23 13:13:31 +01:00
Simon Schneegans f19344a76a 🔀 Merge pull request #256 from Schneegans/feature/portal 2022-12-23 13:05:21 +01:00
Simon Schneegans d423e793f8 ✨ Apply clang-format 2022-12-23 11:11:55 +01:00
Simon Schneegans c0ef7961da 🌐 Update translation template 2022-12-23 11:05:53 +01:00
Simon Schneegans f12f88b24d 🔧 Tweak portal parameters 2022-12-23 11:05:28 +01:00
Simon Schneegans 06a6570d43 🔧 Remove undesired newlines 2022-12-22 21:32:35 +01:00
Simon Schneegans 931e5c0aae ©️ Add missing SPDX tag 2022-12-22 21:29:47 +01:00
Simon Schneegans 2d133496f4 🔧 Add portal effect to test suite 2022-12-22 21:29:00 +01:00
Simon Schneegans f49461e8e4 🔧 Update references 2022-12-22 21:28:44 +01:00
Simon Schneegans 3f55c23aff 🪲 Fix KWin portal effect config UI 2022-12-22 21:21:39 +01:00
Simon Schneegans 87281c89df 🎉 Add initial KWin version of the portal effect 2022-12-22 20:33:27 +01:00
Simon Schneegans dbbb79b5af 🔧 Update references script [generate-references] 2022-12-22 20:27:41 +01:00
Simon Schneegans b466f8264c 🪲 More xml fixes 2022-12-22 20:12:49 +01:00
Simon Schneegans 1847c40571 🪲 Fix xml 2022-12-22 20:10:08 +01:00
Simon Schneegans ab2590afc7 📝 Add comment 2022-12-22 20:05:48 +01:00
Simon Schneegans dcc21d81ee ✨ Apply clang-format 2022-12-22 19:59:47 +01:00
Simon Schneegans 41fbab48f6 🔧 Tweak portal effect 2022-12-22 19:58:06 +01:00
Simon Schneegans 4b6a76fbea 🔧 Add random seed to portal 2022-12-22 05:40:05 +01:00
Simon Schneegans 45540f53b3 📝 Add some comments 2022-12-22 05:35:49 +01:00
Simon Schneegans 504a15b5ad 📝 Add changelog entry 2022-12-21 19:17:30 +01:00
Simon Schneegans 21e542688a 📝 Add portal effect to the README 2022-12-21 19:15:59 +01:00
Simon Schneegans 201166441b 🔧 Improve portal effect 2022-12-21 15:42:20 +01:00
Simon Schneegans b218b8d799 🔧 Add a wobble effect to the portal 2022-12-19 21:02:33 +01:00
Simon Schneegans 582b7e839b ©️ Fix SPDX tags 2022-12-19 20:19:44 +01:00
Simon Schneegans c92a2d4fb7 🎉 Add initial portal effect 2022-12-19 20:15:23 +01:00
Simon Schneegans 1116b012e8 🔧 Make alphaOver more readable 2022-12-19 20:14:41 +01:00
Simon Schneegans 69ae86f606 🎉 Add more easing functions 2022-12-19 20:14:17 +01:00
Simon Schneegans d32bc74580 🚚 Move whirl code to common.glsl 2022-12-19 20:13:55 +01:00
lenemter 0d3a3ccbb0 🌐 Translated using Weblate (Russian) 2022-12-12 09:55:21 +01:00
bonbonboi 9ff2762dbf 🌐 Translated using Weblate (Arabic) 2022-12-05 12:08:36 +01:00
Simon Schneegans 3aceb934b3 📝 Tweak wording 2022-11-27 17:31:03 +01:00
Simon Schneegans bc2b2f0ff0 📝 Add note on KWin version 2022-11-27 17:30:26 +01:00
SoftExpert a3553aff75 🌐 Translated using Weblate (Romanian) 2022-11-25 15:38:35 +01:00
Егор Ермаков 14a0b7fe74 🌐 Translated using Weblate (Russian) 2022-11-25 15:38:35 +01:00
albanobattistella 3a32edaa4f 🌐 Translated using Weblate (Italian) 2022-11-25 15:38:35 +01:00
SoftExpert 01491ea712 🌐 Translated using Weblate (French) 2022-11-25 15:38:35 +01:00
Heimen Stoffels b6415dfdb4 🌐 Translated using Weblate (Dutch) 2022-11-13 15:32:20 +01:00
gallegonovato 170a1d7870 🌐 Translated using Weblate (Spanish) 2022-11-13 15:32:20 +01:00
albanobattistella 53dee94dd6 🌐 Translated using Weblate (Italian) 2022-11-13 15:32:20 +01:00
Mathis Chabrier 3a363b232a 🌐 Translated using Weblate (French) 2022-11-13 15:32:20 +01:00
Simon Schneegans c40a2e0ffc 🌐 Translated using Weblate (German) 2022-11-13 15:32:20 +01:00
Simon Schneegans 32aec2c296 🎉 Bump version number 2022-11-09 20:00:52 +01:00
Simon Schneegans 916a431481 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-11-09 19:55:10 +01:00
Simon Schneegans b2fe2528ff 🔧 Fix credits 2022-11-09 19:52:51 +01:00
Simon Schneegans 844883692f 🔧 Update references 2022-11-09 19:39:01 +01:00
Hosted Weblate 1212e4da03 🌐 Update translation files 2022-11-09 19:37:12 +01:00
Heimen Stoffels 2743996231 🌐 Translated using Weblate (Dutch) 2022-11-09 19:37:12 +01:00
gallegonovato fae47743ab 🌐 Translated using Weblate (Spanish) 2022-11-09 19:37:12 +01:00
Simon Schneegans 03a947e9e3 🌐 Update translation template 2022-11-08 21:14:48 +01:00
Simon Schneegans 61801b1bb5 📝 Add color-picker-issue hint 2022-11-08 21:13:55 +01:00
Simon Schneegans 737e9d3340 🎉 Add shift parameter to glide effect [generate-references] 2022-11-08 21:13:55 +01:00
Hosted Weblate 2d930d688c 🌐 Update translation files 2022-11-07 21:37:32 +01:00
Simon Schneegans 0b26f595c0 🌐 Translated using Weblate (German) 2022-11-07 21:37:32 +01:00
Simon Schneegans 1d6018ecd4 💞 Update credits 2022-11-07 21:34:41 +01:00
Simon Schneegans 7da69a62bb 📝 Add changelog entry 2022-11-07 21:34:27 +01:00
Simon Schneegans e468341969 🔧 Use same spelling for two strings 2022-11-07 21:24:51 +01:00
Hosted Weblate db8c6aeb7e 🌐 Update translation files 2022-11-07 21:13:16 +01:00
Simon Schneegans b4fbee94d4 🌐 Update translation template 2022-11-07 21:11:01 +01:00
SoftExpert 42b8ce12e3 🌐 Translated using Weblate (French) 2022-11-07 21:07:29 +01:00
Simon Schneegans 655e90b9cf 🌐 Translated using Weblate (German) 2022-11-07 21:07:29 +01:00
Simon Schneegans a789353a9c 🔀 Merge pull request #236 from Schneegans/feature/restructure-settings 2022-11-07 21:07:03 +01:00
Simon Schneegans 49c6996c86 📝 Add changelog entry 2022-11-07 21:04:25 +01:00
Simon Schneegans a2732ffda0 🔧 Fix preferences on GTK4 (once more) 2022-11-07 20:19:46 +01:00
Simon Schneegans 6d710724a5 🔧 Fix preferences on GTK4 (once more) 2022-11-07 20:06:13 +01:00
Simon Schneegans 1324289d90 🔧 Fix preferences on GTK4 2022-11-07 06:15:59 +01:00
Simon Schneegans f4ebfddfa8 🔧 Add separate ui files for adw and gtk4 2022-11-07 06:12:21 +01:00
Simon Schneegans 3e902cbf37 🔧 Fix for GNOME Shell 42 2022-11-07 05:46:59 +01:00
Simon Schneegans 463722131d 🔧 Tweak button layout 2022-11-07 05:25:50 +01:00
Simon Schneegans f83cb43ee6 🔧 Make effect expander rows behave like an accordion 2022-11-06 20:15:48 +01:00
Simon Schneegans 85248ee143 🔧 Use AdwExpanderRows for effect settings 2022-11-06 19:57:52 +01:00
Simon Schneegans cb4cb5cc2e 💞 Add new sponsor 2022-11-05 19:48:52 +01:00
Simon Schneegans 4b9ad7c1cf 🔀 Merge pull request #234 from Schneegans/feature/kwin-json-config 2022-11-05 06:17:51 +01:00
Simon Schneegans 3cc3c56244 🔧 Revert unnecessary change 2022-11-05 06:16:22 +01:00
Simon Schneegans 008ba55033 📝 Add changelog entry 2022-11-05 06:14:08 +01:00
Simon Schneegans 15dd1c010c ©️ Add SPDX license file 2022-11-05 06:12:50 +01:00
Simon Schneegans 1264bc8b6f 🔧 Fix kwin's metadata.json file 2022-11-05 06:09:09 +01:00
Simon Schneegans 1caff7c078 🔧 Install new metadata.json file 2022-11-05 06:08:46 +01:00
Simon Schneegans faf9deb9da 🔧 Port .desktop to .json config 2022-11-05 05:47:31 +01:00
Simon Schneegans c2736781c6 📝 Add some comments to the KWin JS file 2022-11-05 05:35:56 +01:00
SoftExpert 90f2eb0492 🌐 Translated using Weblate (Romanian) 2022-11-04 21:13:02 +01:00
SoftExpert 405d03b948 🌐 Translated using Weblate (French) 2022-11-04 21:13:02 +01:00
Mathieu B 49aeabcffd 🌐 Translated using Weblate (French) 2022-11-04 21:13:02 +01:00
Heimen Stoffels db7ba0cc94 🌐 Translated using Weblate (Dutch) 2022-11-04 21:13:02 +01:00
gallegonovato 091216d80e 🌐 Translated using Weblate (Spanish) 2022-11-04 21:13:02 +01:00
Hosted Weblate 4fa3bf016c 🌐 Update translation files 2022-11-03 06:53:07 +01:00
Simon Schneegans 70de51ea74 🌐 Update translation template 2022-11-02 22:09:40 +01:00
Simon Schneegans 3844f32dbe 🔀 Merge pull request #231 from Schneegans/feature/glide 2022-11-02 22:07:40 +01:00
Simon Schneegans 3c63efe022 📝 Fix comments 2022-11-02 21:14:36 +01:00
Simon Schneegans cbed20645f 📝 Add some comments 2022-11-02 21:08:18 +01:00
Simon Schneegans 0129d257b4 🔧 Run tests for Glide effect 2022-11-02 20:13:42 +01:00
Simon Schneegans f8f6b7128f ©️ Add SPDX tag 2022-11-02 20:13:27 +01:00
Simon Schneegans 196ca21965 🪲 Fix Glide effect on KWin 2022-11-02 20:06:35 +01:00
Simon Schneegans a298432e96 🔧 Add settings menu for KWin version of Glide 2022-11-02 05:54:42 +01:00
Simon Schneegans a78b4a7bd5 🎉 Add new effect for KWin 2022-11-02 05:38:22 +01:00
Simon Schneegans 7fc466aa00 📝 Add new effect to README 2022-11-02 05:35:03 +01:00
Simon Schneegans 7bb886d717 🔧 Tweak glide defaults [generate-references] 2022-11-02 05:33:11 +01:00
Simon Schneegans 7e0ce1ddad 🔧 Tweak glide defaults [generate-references] 2022-11-02 05:18:55 +01:00
Simon Schneegans 691d3a7dcc 🔧 Tweak glide defaults [generate-references] 2022-11-01 22:16:01 +01:00
Simon Schneegans c60543ecf3 🔧 Tweak glide fading [generate-references] 2022-11-01 22:15:22 +01:00
Simon Schneegans d27bdfe5ec 📝 Add changelog entry [generate-references] 2022-11-01 22:05:24 +01:00
Simon Schneegans b8d6ff47aa 📝 Add some comments 2022-11-01 22:02:05 +01:00
Simon Schneegans c4d95c71c2 🔧 Remove obsolete condition 2022-11-01 21:59:29 +01:00
Simon Schneegans b19b24c1b8 🔧 Generate references for new effect [generate-references] 2022-11-01 21:58:28 +01:00
Simon Schneegans a3297ce9f5 🎉 Add simple glide effect 2022-11-01 21:55:52 +01:00
SoftExpert 69066a144a 🌐 Translated using Weblate (Romanian) 2022-11-01 20:15:34 +01:00
SoftExpert c7399a21e6 🌐 Added translation using Weblate (Romanian) 2022-10-31 20:47:39 +01:00
Maria Victória Sales 65f3c38a34 🌐 Added translation using Weblate (Portuguese (Brazil)) 2022-10-31 20:47:39 +01:00
tamer dab 0122b492f7 🌐 Translated using Weblate (Arabic) 2022-10-13 11:11:46 +02:00
phlostically e245451eec 🌐 Translated using Weblate (Esperanto) 2022-10-04 06:23:03 +02:00
Мистер Перевод 1e4fdaed6a 🌐 Translated using Weblate (Russian) 2022-09-29 19:00:47 +02:00
albanobattistella 6b1590c213 🌐 Translated using Weblate (Italian) 2022-09-18 13:09:17 +02:00
Simon Schneegans 8e133e8fe9 📝 Add spdx tags to tutorial 2022-09-16 20:56:42 +02:00
Simon Schneegans 0589a36daa 📝 Add GNOME 43 to version table 2022-09-16 20:21:02 +02:00
Simon Schneegans 0aa5ee98ba 🔀 Merge pull request #220 from Schneegans/feature/reuse 2022-09-16 20:17:18 +02:00
Muha Aliss eba8376fec 🌐 Translated using Weblate (Turkish) 2022-09-16 20:13:24 +02:00
TCr3 9a195e5f26 🌐 Translated using Weblate (Turkish) 2022-09-16 20:13:24 +02:00
Simon Schneegans 802a9d68e3 📝 Add changelog entry 2022-09-16 20:12:14 +02:00
Simon Schneegans 157cf06e8b 📝 Add REUSE badge 2022-09-16 18:01:30 +02:00
Simon Schneegans 5eb0c48bfa 🔧 Revert temporary test 2022-09-16 17:55:16 +02:00
Simon Schneegans 90c9258d75 🔧 Test whether the new test can fail 2022-09-16 17:54:21 +02:00
Simon Schneegans 18efd1e177 🔧 Add REUSE check 2022-09-16 17:52:57 +02:00
Simon Schneegans 0ff2679f6c 📝 Add tags according to the RESUSE specification 2022-09-16 17:45:08 +02:00
Paweł Rzońca 32ec743647 🌐 Translated using Weblate (Polish) 2022-09-15 11:58:53 +02:00
Celeste Liu 9610c2da8b 🌐 Translated using Weblate (Chinese (Simplified)) 2022-09-15 11:58:53 +02:00
Simon Schneegans 3b4f3611a2 🎉 Bump version number 2022-09-14 05:13:07 +02:00
Simon Schneegans 010e158a36 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-09-14 05:12:38 +02:00
Simon Schneegans 024066ce7f 💞 Update sponsors 2022-09-14 05:07:48 +02:00
Simon Schneegans aa64ec4edc 💞 Update credits 2022-09-13 20:45:57 +02:00
Simon Schneegans b1e6a08a2d 📝 Add changelog entry 2022-09-13 20:45:49 +02:00
Simon Schneegans 66516e947f 🎉 Add support for GNOME 43 2022-09-13 20:31:12 +02:00
Simon Schneegans 71eada0cb2 🔀 Merge pull request #215 from pedroresende/pt-missing-keys 2022-09-13 19:45:22 +02:00
Simon Schneegans 7617cc5680 💞 Add new sponsor 2022-09-11 20:27:05 +02:00
Simon Schneegans f674d50a15 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2022-09-11 20:13:17 +02:00
Simon Schneegans 817df7dc3e 💞 Update sponsor link 2022-09-11 20:12:04 +02:00
Simon Schneegans 9642747676 🔀 Merge pull request #216 from D3vil0p3r/patch-1
Update README.md
2022-09-11 20:11:32 +02:00
Moo 2eaf44e7c1 🌐 Translated using Weblate (Lithuanian) 2022-09-11 19:55:09 +02:00
Юрій Дмитренко b2cbf7481c 🌐 Translated using Weblate (Ukrainian) 2022-09-11 19:55:09 +02:00
Jose Riha 5289b64d1c 🌐 Translated using Weblate (Slovak) 2022-09-11 19:55:09 +02:00
Eshagh shahidani 3c3086a48e 🌐 Translated using Weblate (Persian) 2022-09-11 19:55:09 +02:00
Yamen Malik 70afd737e4 🌐 Translated using Weblate (Arabic) 2022-09-11 19:55:09 +02:00
Юрій Дмитренко cb8dab1d73 🌐 Translated using Weblate (Czech) 2022-09-11 19:55:09 +02:00
Mathieu B 2979fd6451 🌐 Translated using Weblate (French) 2022-09-11 19:55:09 +02:00
Moo c21751b4ea 🌐 Added translation using Weblate (Lithuanian) 2022-09-11 19:55:09 +02:00
Юрій Дмитренко 81dd501fe0 🌐 Added translation using Weblate (Ukrainian) 2022-09-11 19:55:09 +02:00
D3vil0p3r 9101dee542 Update README.md
Updated D3vil0p3r link
2022-09-11 13:56:54 +02:00
Pedro Resende 5de71e9f8f 🌐 Add missing translation keys for the Portuguese language 2022-09-10 02:02:24 +01:00
Simon Schneegans 895f7e25b1 🎉 Bump version number 2022-09-06 14:16:46 +02:00
Simon Schneegans 0db4ffbbe6 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-09-06 14:16:03 +02:00
Heimen Stoffels 91ca2ff364 🌐 Translated using Weblate (Dutch) 2022-09-04 12:59:08 +02:00
Óscar Fernández Díaz 42a24fad3f 🌐 Translated using Weblate (Spanish) 2022-09-04 12:59:08 +02:00
Simon Schneegans 9a90444334 🌐 Translated using Weblate (Dutch) 2022-09-02 21:43:22 +02:00
Simon Schneegans b0bbbf9464 🌐 Translated using Weblate (Norwegian Bokmål) 2022-09-02 21:43:22 +02:00
Simon Schneegans 80b26fe58f 🌐 Translated using Weblate (German) 2022-09-02 21:43:22 +02:00
Simon Schneegans 7d3a5b7202 📝 Add changelog entry 2022-09-02 21:12:24 +02:00
Hosted Weblate 3fd8176195 🌐 Update translation files 2022-09-02 21:08:22 +02:00
Simon Schneegans 4067cef476 🌐 Update translation template 2022-09-02 21:07:34 +02:00
aerowolf 1c600942c4 🌐 Translated using Weblate (Chinese (Simplified)) 2022-09-02 21:06:42 +02:00
Simon Schneegans aded66d902 🔀 Merge pull request #208 from Schneegans/feature/pixel-effects 2022-09-02 21:04:17 +02:00
Simon Schneegans f4a28f1aa4 🪲 Clamp pointer position of pixel wipe and incinerate effect on KWin 2022-09-02 20:44:24 +02:00
Simon Schneegans 5ac925bf52 🎉 Port new effects to KWin 2022-09-02 20:31:46 +02:00
Simon Schneegans bbfb3ea492 🎨 Add preview gifs 2022-09-02 20:19:41 +02:00
Simon Schneegans 2e711f769b 📝 Fix indentation 2022-09-02 06:31:56 +02:00
Simon Schneegans 7d0dd794aa 🔧 Add new tests 2022-09-02 06:31:41 +02:00
Simon Schneegans 483c916bf4 📝 Add changelog entries 2022-09-02 06:15:53 +02:00
Simon Schneegans 6418a19ae8 📝 Update comments 2022-09-02 06:14:41 +02:00
Simon Schneegans f14c9a0017 📝 Add new effects to README 2022-09-02 06:14:23 +02:00
Simon Schneegans d746344c76 🎉 Add pixel wipe effect 2022-09-02 06:07:48 +02:00
Simon Schneegans 2db13ea884 🎉 Add pixel wheel effect 2022-09-02 05:40:44 +02:00
Simon Schneegans e78959695f 🎉 Add pixel wheel effect 2022-09-02 05:39:16 +02:00
Simon Schneegans 35decb95b5 🔀 Merge pull request #206 from Schneegans/feature/doom 2022-09-01 20:17:45 +02:00
Simon Schneegans 9f321c0cf1 🔀 Merge branch 'fix/ci' into feature/doom 2022-09-01 20:03:26 +02:00
Simon Schneegans 3da6236164 📝 Add changelog entries 2022-09-01 20:01:18 +02:00
Simon Schneegans 9303553f1e 🔧 Fix shellcheck issues [run-ci] 2022-09-01 19:52:55 +02:00
Simon Schneegans 246607e492 🔧 Use script to actively search for the image targets [run-ci] 2022-09-01 19:28:54 +02:00
Simon Schneegans 6ce731f7cc 🪲 Fix reference generation script [generate-references] 2022-09-01 05:45:50 +02:00
Simon Schneegans a5d2bd7c4c 🔧 Use gnome-terminal for testing [generate-references] 2022-09-01 05:38:54 +02:00
Simon Schneegans a7ef737334 🔧 Update references [run-ci] 2022-08-31 16:42:57 +02:00
Simon Schneegans 2286887bc3 🪲 Fix yaml [generate-references] 2022-08-31 16:15:06 +02:00
Simon Schneegans 2b7ae2c0cc 🎉 Add Generate References workflow [generate-references] 2022-08-31 16:14:12 +02:00
Simon Schneegans 07669bee7e 🔧 Try fix CI [run-ci] 2022-08-30 22:09:33 +02:00
Simon Schneegans 502b0d35c1 🔧 Try fix CI [run-ci] 2022-08-30 21:18:26 +02:00
Simon Schneegans 6b6486a475 🔧 Update references 2022-08-30 20:48:11 +02:00
Simon Schneegans dd0e50896a 🔧 Update references 2022-08-29 21:30:04 +02:00
Simon Schneegans 045614d315 🪲 Fix test script 2022-08-29 21:24:33 +02:00
Simon Schneegans 21ceac571e 🔧 Use current target name in failed test artifact 2022-08-29 21:19:10 +02:00
Simon Schneegans 40a42f244b 🔧 Update references 2022-08-29 17:22:22 +02:00
Simon Schneegans b6e7adfa5e 🔧 Update CI fail artifacts in one zip 2022-08-29 16:55:09 +02:00
Simon Schneegans df33626f9f 🔧 Upload screen and cropped screen if CI fails 2022-08-29 16:54:48 +02:00
Simon Schneegans a2e4c1bbda 🔧 Add debug print to test script 2022-08-28 21:57:31 +02:00
Simon Schneegans 5d7e4631b6 🔧 Decrease test timeouts 2022-08-28 21:06:42 +02:00
Simon Schneegans 9e37c12bcf 🔧 Use more consistent strings in pixelate effect 2022-08-28 20:51:59 +02:00
Simon Schneegans 5d8dab436f 🔧 Increase test timeouts 2022-08-28 20:51:35 +02:00
Simon Schneegans ad807cddae 🔧 Update test references 2022-08-28 20:34:16 +02:00
Simon Schneegans fa73e7ec73 🔧 Update test references 2022-08-28 20:25:52 +02:00
Simon Schneegans a286412464 🔧 Finishe port of doom effect to KWin 2022-08-28 14:39:30 +02:00
Simon Schneegans df9fe5a04b 🎉 Add initial KWin port of the doom effect 2022-08-28 07:30:26 +02:00
Simon Schneegans 70392cd56f 🔧 Add doom tests 2022-08-28 07:30:09 +02:00
Simon Schneegans 743f5657c7 Merge branch 'main' into feature/doom 2022-08-27 21:22:34 +02:00
Simon Schneegans 330cb3c7b1 🔀 Merge pull request #205 from Schneegans/feature/pixelate 2022-08-27 21:21:36 +02:00
Simon Schneegans 9b5826636a 🔧 Port pixelate to KWin 2022-08-27 21:13:04 +02:00
Simon Schneegans c41a0315f9 📝 Add some comments 2022-08-27 20:59:50 +02:00
Simon Schneegans f1e0d57db7 🔧 Fade melting window at outer boundaries 2022-08-27 20:56:55 +02:00
Simon Schneegans cc6750a595 🔧 Make doom effect work for opening windows 2022-08-27 20:52:57 +02:00
Simon Schneegans 9a63fdeb9d 🎉 Add doom effect 2022-08-27 16:08:01 +02:00
Simon Schneegans 1a50499f61 📝 Add KWin installation instructions 2022-08-27 14:11:28 +02:00
Xəyyam Qocayev 1cb64a48e9 🌐 Translated using Weblate (Azerbaijani) 2022-08-27 13:56:40 +02:00
Xəyyam Qocayev 5c2d33c625 🌐 Added translation using Weblate (Azerbaijani) 2022-08-27 13:56:40 +02:00
Seong-ho Cho 725abae499 🌐 Translated using Weblate (Korean) 2022-08-27 13:56:40 +02:00
Simon Schneegans d7c8035df2 📝 Add new effect to README 2022-08-27 13:54:43 +02:00
Simon Schneegans 349a6f6005 📝 Add changelog entry 2022-08-27 13:41:24 +02:00
Simon Schneegans 9c547e2771 🎉 Add pixelate effect 2022-08-27 13:39:27 +02:00
Simon Schneegans d014b7a8b2 📝 Add changelog entry 2022-08-18 12:30:23 +02:00
Simon Schneegans 6c96d095fa 🔧 Use the same names for the effects on KWin as in the KDE store 2022-08-18 12:28:56 +02:00
Simon Schneegans b1e06e6232 🎉 Bump version number 2022-08-18 06:30:39 +02:00
Simon Schneegans 2ca8e2ed17 📝 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-08-18 06:29:43 +02:00
Simon Schneegans 74e34e9fdf 🔧 Fix shellcheck issues 2022-08-18 06:29:17 +02:00
Simon Schneegans 426eb96b60 🎉 Add an archive for each kwin effect to the releases 2022-08-18 06:24:02 +02:00
Simon Schneegans 4998eb948f 💞 Update sponsors 2022-08-17 21:19:23 +02:00
Simon Schneegans 902173cb19 💞 Update sponsors 2022-08-17 21:16:58 +02:00
Simon Schneegans fcda6e082b 📝 Add changelog entry 2022-08-17 20:58:26 +02:00
Kristoffer Grundström be77e4283b 🌐 Translated using Weblate (Swedish) 2022-08-17 15:46:29 +02:00
Luna Jernberg d931672770 🌐 Translated using Weblate (Swedish) 2022-08-17 15:46:29 +02:00
obslsessed 90ee16ca75 🌐 Translated using Weblate (Swedish) 2022-08-17 15:46:29 +02:00
Simon Schneegans fbeb40c2d0 💞 Add new sponsor 2022-07-28 05:29:21 +02:00
Simon Schneegans a0121f4300 🔀 Merge pull request #196 from Schneegans/feature/incinerate-from-pointer-kwin 2022-07-21 16:59:12 +02:00
Simon Schneegans 784bf9ff6a 📝 Add changelog entry 2022-07-21 16:53:49 +02:00
Simon Schneegans 8b86ed5f7e 🪲 Fix kwin fire effect configuration ui 2022-07-21 16:52:03 +02:00
Simon Schneegans 69bc84189c 🔧 Add toggle to enable the start-from-pointer on kwin 2022-07-21 16:39:42 +02:00
Simon Schneegans 41dee16c12 🎉 Incinerate from pointer on kwin 2022-07-21 16:32:59 +02:00
Simon Schneegans ec1da1a3ea 🔀 Merge pull request #195 from Schneegans/feature/incinerate-from-pointer 2022-07-21 13:11:07 +02:00
Simon Schneegans 476fc39b3a 🔧 Update test references 2022-07-21 12:58:50 +02:00
Simon Schneegans 8e59c66cb2 📝 Add changelog entry 2022-07-20 17:08:03 +02:00
Simon Schneegans 144fc16634 🎉 Start incinerate effect at pointer location 2022-07-20 17:06:04 +02:00
Simon Schneegans 355a9eb395 🎉 Add end-animation signal 2022-07-20 16:51:44 +02:00
Jose Riha a3ba8cc97d 🌐 Translated using Weblate (Slovak) 2022-07-18 20:19:48 +02:00
joe d7cbdc8670 🌐 Translated using Weblate (Chinese (Simplified)) 2022-07-18 20:19:48 +02:00
phlostically b87162cfe3 🌐 Translated using Weblate (Esperanto) 2022-07-13 21:07:09 +02:00
phlostically b44f1381ac 🌐 Added translation using Weblate (Esperanto) 2022-07-09 12:34:00 +02:00
Егор Ермаков 38ddf17d07 🌐 Translated using Weblate (Russian) 2022-07-09 07:20:32 +02:00
Егор Ермаков a6466e140b 🌐 Translated using Weblate (Russian) 2022-07-09 07:20:32 +02:00
Óscar Fernández Díaz 6d85a22b57 🌐 Translated using Weblate (Spanish) 2022-07-09 07:20:32 +02:00
Simon Schneegans f8c3654d37 💞 Add new sponsor 2022-07-09 07:02:33 +02:00
יהודה אליסף f02f2fa772 🌐 Translated using Weblate (Hebrew) 2022-07-04 06:11:07 +02:00
Paweł Rzońca b145ea5ab2 🌐 Translated using Weblate (Polish) 2022-07-04 06:11:07 +02:00
Jorge C a2bf9292bc 🌐 Translated using Weblate (Spanish) 2022-07-04 06:11:07 +02:00
dyegoaurelio 81b785e348 🌐 Translated using Weblate (Portuguese) 2022-07-04 06:11:07 +02:00
KrulesExGamer d8a7cb3523 🌐 Translated using Weblate (Portuguese) 2022-07-04 06:11:07 +02:00
יהודה אליסף 00a1ed5270 🌐 Added translation using Weblate (Hebrew) 2022-07-04 06:11:07 +02:00
KrulesExGamer 0d592827f7 🌐 Added translation using Weblate (Portuguese) 2022-07-04 06:11:07 +02:00
Mathieu B a6c106697b 🌐 Translated using Weblate (French) 2022-07-04 06:11:07 +02:00
Simon Schneegans 27b3ee03f4 🎉 Bump version number 2022-06-30 05:28:38 +02:00
Simon Schneegans 9d660a4808 🎉 Bump version number
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-06-30 05:24:09 +02:00
Simon Schneegans dc633ef78f 📝 Add changelog entry 2022-06-30 05:23:59 +02:00
Simon Schneegans 94c3dfacd0 🔧 Do not include kwin files in GNOME package 2022-06-30 05:21:18 +02:00
Simon Schneegans 74f759e5a3 📝 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2022-06-30 05:12:33 +02:00
Simon Schneegans 75e4a9c94d 💞 Update credits 2022-06-30 05:03:56 +02:00
albanobattistella 7c194e0b65 🌐 Translated using Weblate (Italian) 2022-06-29 21:44:21 +02:00
Heimen Stoffels c87f088f7d 🌐 Translated using Weblate (Dutch) 2022-06-29 21:44:21 +02:00
Simon Schneegans 3e33953fdd 📝 Add changelog entry 2022-06-26 09:48:30 +02:00
Simon Schneegans 79a3e2241a 💞 Update credits 2022-06-26 08:03:58 +02:00
Simon Schneegans 4aef62b07c 🪲 Fix incinerate random seed on kwin 2022-06-25 21:03:23 +02:00
Simon Schneegans 6b3a6a60b3 🌐 Translated using Weblate (German) 2022-06-25 05:56:53 +02:00
Hosted Weblate 3728660047 🌐 Update translation files 2022-06-25 05:56:53 +02:00
Simon Schneegans 0a4c83a80c 🔀 Merge pull request #174 from Schneegans/feature/incinerate 2022-06-25 05:42:43 +02:00
Simon Schneegans 772c1dc15a 🔧 Disable X11 tests again... 2022-06-25 05:38:30 +02:00
Simon Schneegans 88bf8a9a9e 🔧 Update test references 2022-06-25 05:29:33 +02:00
Simon Schneegans 6135bef34e 🔧 Add incinerate effect to test suite 2022-06-25 05:29:15 +02:00
Simon Schneegans 9a74b9d874 🔧 Attempt to run xsession tests 2022-06-25 05:06:43 +02:00
Simon Schneegans 19f03dddf6 🌐 Update translation template 2022-06-25 05:05:28 +02:00
Simon Schneegans 4201a9ea35 🔧 Do not yet attempt to translate KWin effects 2022-06-25 05:05:19 +02:00
Simon Schneegans 85246135af 📝 Add more comments 2022-06-25 05:02:07 +02:00
Simon Schneegans 573613c2d7 📝 Add some comments 2022-06-21 22:29:09 +02:00
jagfwajgf 9b7822a245 🌐 Translated using Weblate (German) 2022-06-21 18:03:51 +02:00
Simon Schneegans d32d02e07b 📝 Use more precise version number 2022-06-21 07:44:12 +02:00
Simon Schneegans 4106167c49 💞 Add new sponsor 2022-06-21 07:43:32 +02:00
Simon Schneegans 395f2702e8 📝 Add changelog entry 2022-06-21 07:20:59 +02:00
Simon Schneegans 1b09955fef 🔧 Tweak default turbulence of incinerate effect 2022-06-21 07:20:40 +02:00
Simon Schneegans a17fbfd114 🔧 Tweak scale of incinerate effect 2022-06-21 07:12:52 +02:00
Simon Schneegans b40d0f068b 🔧 MAke iTexCoord behave the same on KWin and GNOME 2022-06-21 07:12:34 +02:00
Simon Schneegans c84530931d 🔧 Set seed for incinerate on kwin 2022-06-20 06:01:10 +02:00
Simon Schneegans ae072bf427 🔧 KWin fixes 2022-06-20 05:58:51 +02:00
Simon Schneegans e4b16ba599 🔧 KWin fixes 2022-06-20 05:57:57 +02:00
Simon Schneegans 3ec64ec585 🔧 Remove implicit casts 2022-06-20 05:56:46 +02:00
Simon Schneegans 0f22ac4915 🔧 Remove implicit casts 2022-06-20 05:55:26 +02:00
Simon Schneegans 746cb29ef3 💄 Tweak ui of kwin incinerate settings 2022-06-20 05:55:17 +02:00
Simon Schneegans 48abc8b598 🎉 Add incinerate kwin effect 2022-06-20 05:43:21 +02:00
Simon Schneegans 1ba580943b 📝 Fix indentation 2022-06-20 05:43:10 +02:00
Simon Schneegans fc2424ffb4 🔧 Add incinerate gtk3 ui 2022-06-20 05:39:32 +02:00
Simon Schneegans 1a20ee94cd 🔧 Tweak incinerate effect 2022-06-20 05:37:06 +02:00
Simon Schneegans cc18efd9e0 📝 Add incinerate effect to the README 2022-06-20 05:36:53 +02:00
Simon Schneegans 3323cbf66d 🔧 Tweak incinerate effect 2022-06-18 13:54:56 +02:00
Simon Schneegans 15702cf3da 🔧 Tweak incinerate effect 2022-06-18 09:44:38 +02:00
Simon Schneegans 86dd1131fc 🔧 Improve incinerate effect 2022-06-17 21:17:23 +02:00
Simon Schneegans 2e3bd0bfbb Merge branch 'main' into feature/incinerate 2022-06-17 05:58:36 +02:00
Simon Schneegans bb44d4bd81 🔥 Remove empty file 2022-06-16 05:29:25 +02:00
Simon Schneegans 1cd69b4cbb 🔀 Merge pull request #169 from Schneegans/feature/kde 2022-06-16 05:26:49 +02:00
Simon Schneegans 3afbf6d93b 📝 Add changelog entry 2022-06-16 05:25:54 +02:00
Simon Schneegans 4e5ddfdcc6 🔧 Do not build the apparition effect for KWin for now 2022-06-16 05:19:55 +02:00
Simon Schneegans caec83a391 📝 Fix archive name 2022-06-14 06:20:49 +02:00
Simon Schneegans fdad5f6c89 🔧 Fix job name 2022-06-14 06:20:42 +02:00
Simon Schneegans 4ab87d1257 🔧 Create kwin package on tags 2022-06-14 06:17:06 +02:00
Simon Schneegans 9057f8cceb 🔧 Put all effects into one archive 2022-06-14 06:13:05 +02:00
Simon Schneegans b31a166b22 📝 Update kwin instructions 2022-06-14 06:11:08 +02:00
Simon Schneegans b3568d9be5 📝 Add disclaimer to tutorial 2022-06-14 05:53:32 +02:00
Simon Schneegans ca4484727f 🔧 Use RGB for wisps color 2022-06-13 06:27:10 +02:00
Simon Schneegans d76aea4fc8 🔧 Use rgba color config readers 2022-06-13 06:24:38 +02:00
Simon Schneegans fda91e69bb 🔧 Use RGB for TV color 2022-06-13 06:22:27 +02:00
Simon Schneegans 8d6b844def 🔧 Use RGB for energize b color 2022-06-13 06:20:17 +02:00
Simon Schneegans 87209db9bd 🔧 Fix typo 2022-06-13 06:18:28 +02:00
Simon Schneegans ad76fff308 🔧 Use RGB for energize a color 2022-06-13 06:16:59 +02:00
Simon Schneegans ee902debe1 🔧 Add helpers to read color settings 2022-06-13 06:15:20 +02:00
Simon Schneegans 7e91b9c1f7 📝 Update README 2022-06-12 18:13:49 +02:00
Simon Schneegans c769677328 📝 Add some comments 2022-06-10 17:21:41 +02:00
Simon Schneegans fabe1999ad 🔧 Set duration uniforms 2022-06-10 17:09:22 +02:00
Simon Schneegans 611ba14230 🔧 Fix kwin fire 2022-06-10 16:19:30 +02:00
Simon Schneegans 5c58ccf2cf 🎉 Add fire kwin effect 2022-06-10 16:08:05 +02:00
Simon Schneegans ef746c20e6 🔧 Remove implicit conversions 2022-06-10 15:58:10 +02:00
Simon Schneegans 149e91f06d 🔧 Add BMW to effect names 2022-06-10 15:43:11 +02:00
Simon Schneegans a2fdf05431 🔧 Tweak UI 2022-06-10 15:42:58 +02:00
Simon Schneegans 2571c60d6b 🔧 Remove implicit conversions 2022-06-10 15:42:46 +02:00
Simon Schneegans 55e46b501b 🎉 Add apparition kwin effect 2022-06-10 15:28:42 +02:00
Simon Schneegans 97a4226898 🎉 Add wisps kwin effect 2022-06-10 15:24:54 +02:00
Simon Schneegans 79fe1feb5c 🔧 Fix shellcheck issues 2022-06-10 15:15:38 +02:00
Simon Schneegans d4e0ee95c9 🔧 Build archives for effects 2022-06-10 15:13:49 +02:00
Simon Schneegans 4e2edc1492 🔧 Fix kwin default colors 2022-06-10 14:53:38 +02:00
Simon Schneegans d5bf63b99c 🔧 Update kwin default colors 2022-06-10 14:50:38 +02:00
Simon Schneegans 2bd67c0d37 🔧 Tweak kwin config GUI 2022-06-10 14:38:34 +02:00
Simon Schneegans d4165b4b62 🔧 Fix GLSL compiler issue 2022-06-10 14:38:14 +02:00
Simon Schneegans b4455d5f48 🔧 Only set duration if required 2022-06-10 14:13:29 +02:00
Simon Schneegans cc86b16817 🎉 Add kwin hexagon effect 2022-06-10 14:07:20 +02:00
Simon Schneegans d08c318b7d 🔧 Tweak kwin build process 2022-06-10 13:57:21 +02:00
Simon Schneegans 192719739c 🔧 Flip texture coordinates for kwin 2022-06-10 11:48:31 +02:00
Simon Schneegans 4d77635e78 🔧 Fix implicit conversion 2022-06-10 11:45:59 +02:00
Simon Schneegans e84ec002a3 🔧 Fix typo 2022-06-10 11:10:10 +02:00
Simon Schneegans 46fb61b96c 🎉 Add new kwin effect 2022-06-10 11:07:56 +02:00
Simon Schneegans 6a764b6552 🔧 Load defaults from settings 2022-06-10 11:07:41 +02:00
Simon Schneegans d7859145c3 🔧 Update kwin settings ui 2022-06-10 11:04:03 +02:00
Simon Schneegans 15a622d7b7 🔧 Fix shellcheck issues 2022-06-10 10:42:59 +02:00
Simon Schneegans 2056130e98 🔧 Fixes for kwin 2022-06-10 10:42:04 +02:00
Simon Schneegans bfc3467e33 🔧 Fixes for kwin 2022-06-10 10:29:47 +02:00
Simon Schneegans 9f8258b9f8 🔧 Fix setting of window size 2022-06-10 10:29:29 +02:00
Simon Schneegans 4e5084bdba 🔧 Use correct duration 2022-06-10 10:29:12 +02:00
Simon Schneegans 6fb56612e2 🔧 Reduce number of implicit calls 2022-06-10 08:24:42 +02:00
Simon Schneegans f44d0ae5b6 🔧 Add new kwin effect 2022-06-10 08:13:35 +02:00
Simon Schneegans 3cbbd63629 📝 Fix typo 2022-06-10 07:34:14 +02:00
Simon Schneegans a182f247cb 🔧 Pass duration to kwin shaders 2022-06-10 07:33:06 +02:00
Simon Schneegans 46a1729e54 🔧 Use uDuration instead of uTime 2022-06-10 07:30:44 +02:00
Simon Schneegans 0bd0fb27b9 🔧 Use new global methods for shader I/O 2022-06-10 07:20:21 +02:00
Simon Schneegans 25f2261ad6 📝 Update tutorial 2022-06-10 07:20:02 +02:00
Ulices af9cdb6459 🌐 Translated using Weblate (Spanish) 2022-06-09 22:54:04 +02:00
Simon Schneegans e9e51adbf4 🔧 Fix shellcheck issues 2022-06-09 14:09:50 +02:00
Simon Schneegans ba9f1c91f5 🔧 Generate JS code for kwin 2022-06-09 14:03:00 +02:00
Simon Schneegans bf3aa0af93 🔧 Use methods shader I/O 2022-06-09 11:34:18 +02:00
Simon Schneegans b8335dd4e6 🔧 Fix function call 2022-06-09 10:59:03 +02:00
Simon Schneegans bbd7d6ea64 🔧 Use consistent class names 2022-06-09 10:46:45 +02:00
Simon Schneegans 03a6d9263a 🔧 Make class name unique 2022-06-09 08:29:04 +02:00
Simon Schneegans 3360b45c18 🔧 Use vec4 for color 2022-06-09 08:28:48 +02:00
Simon Schneegans 67d6df0a70 🔧 Fix incompatibilites with OpenGL 1.0 2022-06-09 08:06:43 +02:00
Simon Schneegans e96b42a3f7 🔧 Support different profiles for kwin 2022-06-09 07:47:12 +02:00
Simon Schneegans 1e665f0db3 🔧 Tweak shader 2022-05-31 05:55:19 +02:00
Simon Schneegans d6e46d951c 🚚 Rename burn effect 2022-05-28 21:05:52 +02:00
Simon Schneegans d114c68422 Merge branch 'main' into feature/incinerate 2022-05-28 20:56:38 +02:00
Simon Schneegans 9a68af1676 🔧 Make ShellCheck happy 2022-05-28 06:01:01 +02:00
Simon Schneegans bf0feae117 🔧 Make ShellCheck happy 2022-05-28 05:57:41 +02:00
Simon Schneegans 74bd7cdef8 🔧 Use generic i/o names 2022-05-28 05:56:04 +02:00
Simon Schneegans c635336a7e 🔧 Append common.glsl to kwin shaders 2022-05-28 05:52:25 +02:00
Simon Schneegans 6807be6f35 Merge branch 'main' into feature/kde 2022-05-27 21:29:45 +02:00
Simon Schneegans 8aafd57b2f 🔀 Merge pull request #161 from Schneegans/feature/simplify-includes 2022-05-27 21:28:40 +02:00
Simon Schneegans b99c80a343 📝 Add changelog entry 2022-05-27 21:23:54 +02:00
Simon Schneegans 6a65d59144 🚚 Rename shader files 2022-05-27 21:21:05 +02:00
Simon Schneegans c90f3a1c97 🚚 Move common includes to one file 2022-05-27 21:18:18 +02:00
Simon Schneegans 18c46f58c2 📝 Add some comments 2022-05-27 21:06:44 +02:00
albanobattistella 75d5b6ddd5 🌐 Translated using Weblate (Italian) 2022-05-27 20:23:57 +02:00
Simon Schneegans 411a87d7fc 🔧 Ignore kwin build directory 2022-05-27 20:16:24 +02:00
Simon Schneegans c92f3b5574 🎉 Add some initial kwin files 2022-05-27 20:16:09 +02:00
Heimen Stoffels eb2fb8b523 🌐 Translated using Weblate (Dutch) 2022-05-26 21:18:11 +02:00
Hosted Weblate de056a56df 🌐 Update translation files 2022-05-26 21:18:11 +02:00
Simon Schneegans fb38d883c9 🔀 Merge pull request #158 from Schneegans/feature/disable-on-battery 2022-05-25 16:59:06 +02:00
Simon Schneegans ee10cdf9ad 🔧 Update test references 2022-05-25 13:26:14 +02:00
Simon Schneegans 96a7b91706 📝 Add changelog entry 2022-05-25 13:00:59 +02:00
Simon Schneegans 10deeb584f 🌐 Update translation template 2022-05-25 12:59:37 +02:00
Simon Schneegans b215379dac 🎉 Add option to disable effects if on battery power 2022-05-25 12:59:03 +02:00
Paweł Rzońca 8dc73ff9f6 🌐 Translated using Weblate (Polish) 2022-05-25 05:35:53 +02:00
Jose Riha 630149d571 🌐 Translated using Weblate (Slovak) 2022-05-23 11:52:01 +02:00
Eshagh Shahedany 8a669cda3b 🌐 Translated using Weblate (Persian) 2022-05-23 11:52:01 +02:00
Seong-ho Cho f58aa95859 🌐 Translated using Weblate (Korean) 2022-05-23 11:52:01 +02:00
Jose Riha aa7aad7910 🌐 Translated using Weblate (Czech) 2022-05-23 11:52:01 +02:00
Paweł Rzońca b3229e9b6e 🌐 Added translation using Weblate (Polish) 2022-05-23 11:52:01 +02:00
Simon Schneegans c4aa0cd92a 📝 Fix tutorial 2022-05-23 06:03:25 +02:00
Jose Riha e90e64656d 🌐 Added translation using Weblate (Slovak) 2022-05-23 06:00:04 +02:00
Eshagh Shahedany 29a811884b 🌐 Added translation using Weblate (Persian) 2022-05-23 06:00:04 +02:00
Simon Schneegans a89f16c767 🎉 Bump version number 2022-05-21 13:12:32 +02:00
Simon Schneegans 9ed471a1c6 📝 Set release date
Deploy / Extension Bundle (push) Has been cancelled
2022-05-21 13:10:39 +02:00
Simon Schneegans badd1fd2c3 📝 Add changelog entry 2022-05-21 13:08:40 +02:00
Simon Schneegans 2f4d9ade01 💞 Update credits 2022-05-21 12:40:40 +02:00
Seong-ho Cho 2d386e3620 🌐 Translated using Weblate (Korean) 2022-05-21 12:37:51 +02:00
Simon Schneegans b7306b9feb 📝 Tweak changelog 2022-05-21 11:30:15 +02:00
Simon Schneegans 020fbc9332 🔧 Make sure to reset progress uniforms before drawing 2022-05-21 11:29:24 +02:00
Simon Schneegans 48aa96312f 🎉 Add initial incinerate effect 2022-05-21 11:08:24 +02:00
Seong-ho Cho 20b9086464 🌐 Added translation using Weblate (Korean) 2022-05-20 20:11:13 +02:00
Simon Schneegans 703f990f7f ♻️ Remove redundant class names 2022-05-19 08:21:20 +02:00
fawaz006 8d8779130c 🌐 Translated using Weblate (Arabic) 2022-05-19 08:11:39 +02:00
fawaz006 83658510af 🌐 Added translation using Weblate (Arabic) 2022-05-19 08:11:39 +02:00
Simon Schneegans 76aa003d99 🔀 Merge pull request #149 from Schneegans/fix/#63 2022-05-16 07:50:16 +02:00
Simon Schneegans 1a14b8bd56 📝 Add changelog entry 2022-05-16 07:41:05 +02:00
Simon Schneegans de190b4fd9 🔧 Pass window padding to the shaders 2022-05-16 07:38:09 +02:00
Simon Schneegans 812fa6612a 🔀 Merge pull request #148 from Schneegans/refactor/base-classes 2022-05-16 05:30:07 +02:00
Simon Schneegans 18a43390b6 🔧 Temporarily disable X11 tests 2022-05-15 21:29:26 +02:00
Simon Schneegans 6af87f727d 🔧 PAss all arguments of vfunc 2022-05-15 21:23:30 +02:00
Simon Schneegans 8dbfa5fdb1 🔧 Add debug output 2022-05-15 21:12:28 +02:00
Simon Schneegans e0d9ed5677 🔧 Try tweaking test timings 2022-05-15 20:58:40 +02:00
Simon Schneegans 6e65f29bb3 🔧 Update test references 2022-05-15 14:17:34 +02:00
Simon Schneegans eb597cffbe 🔧 Fix test time 2022-05-15 14:17:25 +02:00
Simon Schneegans be88a682b9 🔧 Update test references 2022-05-15 13:31:42 +02:00
Simon Schneegans fa09a1f40a 🔧 Try fix CI 2022-05-15 12:55:30 +02:00
Simon Schneegans 1262089e82 📝 Update tutorial 2022-05-14 21:09:19 +02:00
Simon Schneegans 0da73cf675 ✨ Format code 2022-05-14 20:53:25 +02:00
Simon Schneegans a228dc7b2e 🔥 Remove obsolete class 2022-05-14 20:51:09 +02:00
Simon Schneegans e6a6a0d831 🔧 Update test references 2022-05-14 20:48:45 +02:00
Simon Schneegans 0fb05c66eb 🔧 Remove paint-target signal 2022-05-14 20:48:34 +02:00
Simon Schneegans e1017b7707 🔧 Use factory to create shaders 2022-05-14 13:58:28 +02:00
Simon Schneegans cb4b87811e ♻️ Add base classes for the effects and shaders 2022-05-13 20:39:45 +02:00
Simon Schneegans 1ccc34f766 🔀 Merge pull request #146 from Schneegans/refactor/shader-resources
Move shader code to GLSL files
2022-05-13 09:49:59 +02:00
Simon Schneegans 1fe20971f8 🔧 Replace replaceAll() by replace() 2022-05-13 09:36:24 +02:00
Simon Schneegans 7ee6e2c58c 🪲 Fix regex 2022-05-13 09:24:47 +02:00
Simon Schneegans 7b8d6e18b2 ♻️ Use a single GLSL files for each effect 2022-05-13 09:17:26 +02:00
Simon Schneegans 84d5ad9caf 🔀 Merge branch 'main' into refactor/shader-resources 2022-05-13 08:38:14 +02:00
Simon Schneegans 46cc997e2a 🚚 Move shader code to GLSL files 2022-05-13 08:27:09 +02:00
Simon Schneegans 829cc49e3c 🔀 Merge pull request #145 from Schneegans/refactor/transition-tweaking 2022-05-13 05:45:41 +02:00
Simon Schneegans a134449706 🔧 Update test references 2022-05-13 05:40:36 +02:00
Simon Schneegans 5b89db0c4b 📝 Add changelog entry 2022-05-12 21:14:25 +02:00
Simon Schneegans 351838b121 🔧 Update test references 2022-05-12 21:12:25 +02:00
Simon Schneegans f59d354729 🔧 Use clutter version of easing 2022-05-12 21:07:23 +02:00
Simon Schneegans 9d7d912261 ♻️ Simplify transition tweaking 2022-05-12 05:48:14 +02:00
obslsessed 77d5de7b8e 🌐 Translated using Weblate (Swedish) 2022-05-11 20:23:49 +02:00
Kristoffer Grundström 2238a744f3 🌐 Translated using Weblate (Swedish) 2022-05-11 20:23:49 +02:00
Muha Aliss 539fd59e9b 🌐 Translated using Weblate (Turkish) 2022-05-11 20:23:49 +02:00
Simon Schneegans a42e2736db 🔀 Merge pull request #143 from Schneegans/feature/refactor-common-uniforms 2022-05-11 05:51:17 +02:00
Simon Schneegans 2eca2c7374 🚚 Move uForOpening to standard uniforms 2022-05-11 05:44:36 +02:00
Simon Schneegans 2bd897fe0e 📝 Update tutorial 2022-05-11 05:33:37 +02:00
Simon Schneegans 1347fc4d11 🔧 Use vec2 for size uniform 2022-05-11 05:33:25 +02:00
Simon Schneegans afaeebd0ab 🔀 Merge pull request #139 from Schneegans/feature/reuse-shaders 2022-05-11 05:30:36 +02:00
Simon Schneegans 7e33e1ce4a 🔧 Update test reference files 2022-05-11 05:26:07 +02:00
Simon Schneegans 2f1c38afc2 🔧 Update test reference files 2022-05-11 05:19:14 +02:00
Simon Schneegans 295aa1e362 📝 Add changelog entry 2022-05-11 05:07:18 +02:00
Simon Schneegans d224d14db1 🔧 Convert window texture alpha from premultiplied to straight 2022-05-11 04:59:58 +02:00
Simon Schneegans 478ba77288 📝 Update tutorial 2022-05-11 04:57:19 +02:00
Simon Schneegans 3175c289b5 🔧 Remove old shader if a new one is to be applied 2022-05-11 04:57:07 +02:00
Simon Schneegans 78679ef139 🔧 Fix straight alpha 2022-05-08 20:49:29 +02:00
Simon Schneegans fa8e3a17c1 🔧 Add compositing snippet 2022-05-08 14:15:54 +02:00
Simon Schneegans 88a56998d6 🔧 Fix straight alpha 2022-05-08 14:15:43 +02:00
Simon Schneegans 6555a8f02c 🔧 Fix straight alpha 2022-05-08 13:56:21 +02:00
Simon Schneegans a28e406da4 🔧 Fix straight alpha 2022-05-08 13:52:16 +02:00
Simon Schneegans 317eaa2969 🔧 Fix memory leaks of more effects 2022-05-08 13:09:02 +02:00
Simon Schneegans 61bea04018 🔧 Fix memory leaks of more effects 2022-05-08 12:31:20 +02:00
Simon Schneegans 6ebc975a20 📝 Add changelog entry 2022-05-07 21:09:19 +02:00
Simon Schneegans 9f8f2afead 🪲 Fix close-animation of windows which were opened before the session was started 2022-05-07 21:07:50 +02:00
Simon Schneegans 472317612c ♻️ Rename some variables 2022-05-07 20:52:07 +02:00
Simon Schneegans e9b82d0b78 🔧 Prevent non-fatal error message 2022-05-07 20:45:20 +02:00
Simon Schneegans 07929e1775 🔧 Use float for window size uniforms 2022-05-07 12:35:52 +02:00
Simon Schneegans e20bcd46d7 🔧 Use an array of effect instances 2022-05-05 21:17:03 +02:00
Simon Schneegans 3b0be6236c ♻️ Make it possible to reuse the hexagon shader 2022-05-04 21:32:21 +02:00
Simon Schneegans 27d2a43c99 ♻️ Make it possible to reuse the fire shader 2022-05-04 21:10:04 +02:00
matb 06aa705f43 🌐 Translated using Weblate (French) 2022-05-02 15:44:54 +02:00
Simon Schneegans fa9941ce5b 🔧 Set uniforms only once 2022-05-01 13:25:37 +02:00
Simon Schneegans c0b1115b23 💞 Add new sponsor 2022-04-29 20:02:25 +02:00
Muha Aliss 2ba7b181da 🌐 Translated using Weblate (Turkish) 2022-04-23 12:57:06 +02:00
matb e2e3425720 🌐 Translated using Weblate (French) 2022-04-23 12:57:06 +02:00
Simon Schneegans b7d72d35ed 🔧 Use tagged version of dynamic-badges-action 2022-04-18 14:00:34 +02:00
Simon Schneegans 256e6db158 🔧 Use new color range feature of dynamic-badges-action 2022-04-18 13:41:28 +02:00
albanobattistella e0aebca055 🌐 Translated using Weblate (Italian) 2022-04-16 13:15:32 +02:00
Егор Ермаков cde4e73645 🌐 Translated using Weblate (Russian) 2022-04-16 13:15:32 +02:00
Simon Schneegans 83b583dd13 📝 Update links in source code 2022-04-16 13:14:40 +02:00
Simon Schneegans c459d06f53 💞 Update sponsors 2022-04-13 21:17:10 +02:00
Kristoffer Grundström c49615a504 🌐 Translated using Weblate (Swedish) 2022-04-11 20:48:04 +02:00
Allan Nordhøy 6605fd0cae 🌐 Translated using Weblate (Norwegian Bokmål) 2022-04-11 20:48:04 +02:00
Kristoffer Grundström 6bf5970b90 🌐 Added translation using Weblate (Swedish) 2022-04-10 07:11:21 +02:00
Simon Schneegans 57e8e0384b 📝 Fix typo 2022-04-09 13:48:40 +02:00
Simon Schneegans c82f5dabd8 📝 Add changelog entry 2022-04-09 13:15:39 +02:00
Simon Schneegans 7cecc9e160 🪲 Ceck for presence of libadwaita 2022-04-09 13:13:39 +02:00
Jiri Grönroos 9b2e57cba0 🌐 Translated using Weblate (Finnish) 2022-04-09 12:54:07 +02:00
merelymyself 2dac407959 🌐 Translated using Weblate (Chinese (Simplified)) 2022-04-09 12:54:07 +02:00
Óscar Fernández Díaz 9c1139b3af 🌐 Translated using Weblate (Spanish) 2022-04-09 12:54:07 +02:00
Théo Remon ab990b1a05 🌐 Translated using Weblate (French) 2022-04-09 12:54:07 +02:00
Nathan d0f624ab5f 🌐 Translated using Weblate (French) 2022-04-09 12:54:07 +02:00
Andres Segarra b2a4aec1c3 🌐 Translated using Weblate (Spanish) 2022-04-06 20:09:12 +02:00
Jiri Grönroos 999b6800a9 🌐 Added translation using Weblate (Finnish) 2022-04-06 13:13:37 +02:00
Simon Schneegans 77505c5aa9 🎉 Bump version number 2022-04-06 07:40:42 +02:00
Simon Schneegans 1a1e952804 📝 Set release date
Deploy / Extension Bundle (push) Has been cancelled
2022-04-06 07:30:45 +02:00
Heimen Stoffels de5ddc8622 🌐 Translated using Weblate (Dutch) 2022-04-05 21:40:11 +02:00
Simon Schneegans 08ffdef229 🌐 Translated using Weblate (German) 2022-04-05 21:40:11 +02:00
Hosted Weblate d7e56483c0 🌐 Update translation files 2022-04-05 21:40:11 +02:00
Simon Schneegans 6a2f72f406 🔧 Update test references 2022-04-05 20:55:36 +02:00
Simon Schneegans 9809d7b0d6 🔧 Update test reference files 2022-04-05 19:46:00 +02:00
Simon Schneegans 359f61e1f4 🌐 Update translation template 2022-04-05 19:45:23 +02:00
Simon Schneegans 74a3cc281d 📝 Add hexagon effect to README 2022-04-05 19:45:07 +02:00
Simon Schneegans 26ac1dce6c 📝 Add changelog entry 2022-04-05 19:44:52 +02:00
Simon Schneegans 82be8aa32f 🎉 Add hexagon effect 2022-04-05 19:44:39 +02:00
Simon Schneegans bebe7d95b0 🔧 Support alpha values for snap color 2022-04-05 19:44:02 +02:00
Simon Schneegans 1b3d76d35e 📝 Add Snap of Disintegration to README.md 2022-04-03 13:18:26 +02:00
Simon Schneegans 2282f44dfa 🔧 Update reference images 2022-04-03 13:10:17 +02:00
Simon Schneegans dc849112b8 🔧 Improve optics of Snap of Disintegration 2022-04-03 13:06:09 +02:00
Simon Schneegans b6a419a0d7 🔧 Tweak Apparition defaults 2022-04-02 13:52:19 +02:00
Simon Schneegans e802f41d44 🔧 Apparition is not available on GNOME 3.36 2022-04-02 13:49:07 +02:00
Simon Schneegans b29598643d 📝 Add Apparition to README 2022-04-02 13:48:41 +02:00
Егор Ермаков eb4b6d72e3 🌐 Translated using Weblate (Russian) 2022-04-01 21:24:16 +02:00
Simon Schneegans d38e6b6e7a 🔧 Update reference images 2022-04-01 21:18:56 +02:00
Simon Schneegans ba52acebc9 📝 Update gif creation note 2022-04-01 21:17:04 +02:00
Simon Schneegans b6a3e5d941 🎉 Add Apparition effect 2022-04-01 21:10:02 +02:00
Simon Schneegans f11d36d295 📝 Add changelog entry 2022-03-31 21:40:17 +02:00
Simon Schneegans cf1721bae1 🔀 Merge pull request #121 from Schneegans/feature/thanos 2022-03-31 21:39:06 +02:00
Simon Schneegans 0603540315 🔧 Update references 2022-03-31 21:33:48 +02:00
Simon Schneegans 4de12d426c 🔧 Obey test mode 2022-03-31 21:25:32 +02:00
Simon Schneegans c8cf476501 🪲 Fix animation time settings for TV effect 2022-03-31 21:08:12 +02:00
Simon Schneegans a7aef913fc 📝 Add changelog entry 2022-03-31 21:07:42 +02:00
Simon Schneegans 7d0a75cd59 🪲 Fix shatter-from-pointer-when-openeing-windows 2022-03-31 21:07:33 +02:00
Simon Schneegans a166072168 🔧 Finalize Thanos effect 2022-03-31 21:04:01 +02:00
Simon Schneegans 47f8222349 Merge branch 'main' into feature/thanos 2022-03-31 08:35:07 +02:00
Simon Schneegans 4942418120 🎉 Bump version number 2022-03-29 20:29:32 +02:00
ANIGO R. (AR) a0d087be33 🌐 Translated using Weblate (Russian)
Deploy / Extension Bundle (push) Has been cancelled
2022-03-29 20:28:04 +02:00
ANIGO R. (AR) dd80db09e9 🌐 Added translation using Weblate (Russian) 2022-03-29 20:28:04 +02:00
Simon Schneegans 653d680347 💞 Update credits 2022-03-29 20:26:41 +02:00
Simon Schneegans ee584ab15e 📝 Add changelog entry 2022-03-29 20:26:25 +02:00
Simon Schneegans 82e2738f33 💞 Add new sponsor 2022-03-29 17:02:49 +02:00
Simon Schneegans 45d52842cf 📝 Add changelog entries 2022-03-29 11:57:28 +02:00
Simon Schneegans f738f648d8 🔧 Resolve #115 2022-03-29 11:54:39 +02:00
Simon Schneegans 0cf53c5a5d 🪲 Fix #118 (again) 2022-03-29 11:53:54 +02:00
Simon Schneegans 6f5bcc6681 🎉 Bump version number 2022-03-27 13:49:39 +02:00
Simon Schneegans 1a84ad337d 🔥 Undo commit
Deploy / Extension Bundle (push) Has been cancelled
2022-03-27 13:48:08 +02:00
Simon Schneegans 6a003f8bfb 📝 Add changelog entry 2022-03-27 13:45:07 +02:00
Simon Schneegans adc906006b 💞 Update credits 2022-03-27 13:44:17 +02:00
Simon Schneegans 9b46b9b009 📝 Set release date 2022-03-27 13:38:08 +02:00
Simon Schneegans d24dc6030d 📝 Add changelog entry 2022-03-27 13:23:23 +02:00
Simon Schneegans 26e4a32fe4 🪲 Fix version check 2022-03-27 13:23:12 +02:00
Simon Schneegans 376a3899e9 🔥 Remove liberapay donation option 2022-03-27 07:32:46 +02:00
Simon Schneegans 486f6b4c74 🔧 Use new version of dynamic badges action 2022-03-27 06:56:10 +02:00
Muha Aliss c43579974d 🌐 Translated using Weblate (Turkish) 2022-03-21 07:25:53 +01:00
Muha Aliss fbd02bb22c 🌐 Added translation using Weblate (Turkish) 2022-03-21 07:25:53 +01:00
Adolfo Jayme Barrientos beddd689c7 🌐 Translated using Weblate (Spanish) 2022-03-16 10:54:50 +01:00
Simon Schneegans 77310f9e65 ✨ Tweak clang-format style 2022-03-04 20:39:12 +01:00
刘韬 28c1cb6d72 🌐 Translated using Weblate (Chinese (Simplified)) 2022-03-04 05:04:22 +01:00
刘韬 9bdcea1dea 🌐 Translated using Weblate (Chinese (Simplified)) 2022-03-04 05:04:22 +01:00
刘韬 5e737ffd3a 🌐 Added translation using Weblate (Chinese (Simplified)) 2022-03-04 05:04:22 +01:00
Simon Schneegans 474f6cff25 🔀 Merge pull request #113 from Schneegans/feature/advanced-ci 2022-03-04 04:53:36 +01:00
Simon Schneegans 35c91cf925 🔧 Fix shellcheck issue [run-ci] 2022-03-03 21:31:51 +01:00
Simon Schneegans 0facae304b 🔧 Use imagemagick for comparisons [run-ci] 2022-03-03 21:25:47 +01:00
Simon Schneegans 31fa0f54bd 📝 Fix comment 2022-03-03 21:25:25 +01:00
Simon Schneegans 6c2f9d1553 🎉 Add reference generator script [run-ci] 2022-03-03 20:20:57 +01:00
Simon Schneegans 81a0e18c79 🔧 Tweak fuzzyness 2022-03-03 20:20:38 +01:00
Simon Schneegans 3caf2a176d 🎉 Add advanced CI tests [run-ci] 2022-03-03 20:01:37 +01:00
Simon Schneegans b48b6bb39b 📝 Add changelog entry 2022-03-03 20:00:36 +01:00
Simon Schneegans 69aadfd643 🎉 Add test mode 2022-03-03 20:00:24 +01:00
Simon Schneegans 59c01999b2 🔧 Update action version 2022-03-01 20:45:55 +01:00
Simon Schneegans c431437c34 🔧 Use more generic makefile 2022-03-01 16:05:09 +01:00
Simon Schneegans 312be215a0 🎉 Run tests on GNOME 42 as well 2022-02-28 21:21:33 +01:00
albanobattistella e1fcfb5d25 🌐 Translated using Weblate (Italian) 2022-02-28 20:04:14 +01:00
Simon Schneegans 4410aeac3b 📝 Add video teaser 2022-02-27 21:31:17 +01:00
Simon Schneegans f77aeded5e 🎨 Add teaser image 2022-02-27 21:30:55 +01:00
Heimen Stoffels 1d0dd3e8da 🌐 Translated using Weblate (Dutch) 2022-02-23 07:44:05 +01:00
Ulices cc916886c5 🌐 Translated using Weblate (Spanish) 2022-02-23 07:44:05 +01:00
albanobattistella 41648f2496 🌐 Translated using Weblate (Italian) 2022-02-23 07:44:05 +01:00
Nathan 8b79995723 🌐 Translated using Weblate (French) 2022-02-23 07:44:05 +01:00
Simon Schneegans f35cda20a8 📝 Set release date 2022-02-19 13:20:16 +01:00
Simon Schneegans 73c237aaa4 🎉 Bump version number 2022-02-19 13:19:40 +01:00
Simon Schneegans 2cc1c9655e 💞 Update credits
Deploy / Extension Bundle (push) Has been cancelled
2022-02-19 12:58:51 +01:00
Simon Schneegans e47c85e365 🌐 Translated using Weblate (German) 2022-02-18 20:40:36 +01:00
Hosted Weblate b8a0a158d8 🌐 Update translation files 2022-02-18 20:40:36 +01:00
Simon Schneegans 29ea1de206 🌐 Update translation template 2022-02-18 20:34:38 +01:00
Simon Schneegans 2637390557 📝 Add changelog entry 2022-02-18 20:32:48 +01:00
Simon Schneegans 9b513f7e2b 🔀 Merge pull request #104 from Schneegans/feature/gnome-42
GNOME Shell 42
2022-02-18 20:31:17 +01:00
Simon Schneegans 97fe06a98f 📝 Add changelog entry 2022-02-18 20:23:25 +01:00
Simon Schneegans 1a3568e80d 💄 Fix margin 2022-02-18 20:21:10 +01:00
Simon Schneegans 62363d7bd9 Merge branch 'main' into feature/gnome-42 2022-02-18 20:18:10 +01:00
Simon Schneegans ecdb6d605f 🔧 Add liberapay link 2022-02-18 20:17:51 +01:00
Simon Schneegans 41fcaf04ff 🔧 Use libadwaita for the settings dialog 2022-02-18 17:43:40 +01:00
Simon Schneegans 0886007e98 🔧 Support alpha and beta versions in version check 2022-02-18 17:24:10 +01:00
Simon Schneegans 4a82e7f580 🔧 Add liberapay funding method 2022-02-17 13:58:33 +01:00
Mario 78d30e82c6 🌐 Translated using Weblate (Italian) 2022-02-14 13:05:55 +01:00
Simon Schneegans 664bd3b5dc 💞 Add new sponsor 2022-02-14 13:02:38 +01:00
Ulices 737e88a23b 🌐 Translated using Weblate (Spanish) 2022-02-09 20:03:30 +01:00
Heimen Stoffels 6d10c6f031 🌐 Translated using Weblate (Dutch) 2022-02-05 13:55:25 +01:00
albanobattistella 1fb5e8584a 🌐 Translated using Weblate (Italian) 2022-02-05 13:55:25 +01:00
Reda 563d72531e 🌐 Translated using Weblate (French) 2022-02-05 13:55:25 +01:00
Simon Schneegans 39baed1b29 💞 Add new sponsor 2022-02-04 20:42:02 +01:00
Simon Schneegans 318558240c 🔀 Merge pull request #96 from shemgp/patch-1 2022-02-04 14:09:46 +01:00
Shem Pasamba bda68175a0 Add version 42 since it works there 2022-02-04 13:55:35 +08:00
Simon Schneegans 3a37aa3dce 🎉 Bump version number 2022-02-03 13:20:36 +01:00
Simon Schneegans ef2bef9f87 📝 Set release date
Deploy / Extension Bundle (push) Has been cancelled
2022-02-03 13:16:38 +01:00
Simon Schneegans c99ea6617e 🌐 Translated using Weblate (German) 2022-02-03 13:14:27 +01:00
Hosted Weblate c7c4f18af6 🌐 Update translation files 2022-02-03 13:14:27 +01:00
Simon Schneegans ff1490f8c6 🌐 Update translation template 2022-02-03 13:11:47 +01:00
Simon Schneegans 0be73d8b2f 💄 Remove tagline 2022-02-03 13:11:36 +01:00
Simon Schneegans 9266655493 🔀 Merge pull request #94 from Schneegans/feature/better-templates 2022-02-03 13:06:12 +01:00
Simon Schneegans 513bbd8b85 📝 Add changelog entry 2022-02-03 12:56:23 +01:00
Simon Schneegans 6c891a60e7 📝 Add new-effect template 2022-02-03 12:56:12 +01:00
Simon Schneegans 2115c31359 📝 Improve feature request template 2022-02-03 12:46:02 +01:00
Simon Schneegans 855f8870e3 📝 Improve bug report template 2022-02-03 12:42:08 +01:00
Ulices 16d7e3c195 🌐 Translated using Weblate (Spanish) 2022-02-03 09:56:29 +01:00
Heimen Stoffels 5133f82041 🌐 Translated using Weblate (Dutch) 2022-02-03 09:56:29 +01:00
Jiří Doubravský 91a60e9813 🌐 Translated using Weblate (Czech) 2022-02-03 09:56:29 +01:00
Óscar Fernández Díaz 511e447f24 🌐 Translated using Weblate (Spanish) 2022-02-03 09:56:29 +01:00
albanobattistella 31e8cf9405 🌐 Translated using Weblate (Italian) 2022-02-03 09:56:29 +01:00
Reda 0fd8832b36 🌐 Translated using Weblate (French) 2022-02-03 09:56:29 +01:00
Simon Schneegans f111a6c3bb 💞 Add new sponsor 2022-02-02 15:53:51 +01:00
Simon Schneegans eb1d8f6ac6 📝 Add changelog entry 2022-02-02 14:43:47 +01:00
Simon Schneegans d05635b9c2 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2022-02-02 14:42:57 +01:00
Simon Schneegans dad19c5505 🔀 Merge pull request #87 from Schneegans/fix/#86 2022-02-02 14:42:36 +01:00
Simon Schneegans 5406c88a7b 🔧 Add about dialog 2022-02-02 14:40:38 +01:00
Simon Schneegans 39f79507ac 🔧 Tweak tagline 2022-02-02 14:39:08 +01:00
Simon Schneegans 78ff080dce 💞 Add credits files 2022-02-02 14:38:54 +01:00
Simon Schneegans 6d85ce893b 📝 Add changelog entry 2022-02-02 13:13:29 +01:00
Simon Schneegans f9b82c6086 🪲 Try fixing #86 2022-02-02 13:13:16 +01:00
Heimen Stoffels 432a0a7998 🌐 Added translation using Weblate (Dutch) 2022-02-02 13:08:23 +01:00
Simon Schneegans e22eb79ccd 📝 Add trailer link 2022-02-01 16:06:41 +01:00
Jiří Doubravský d92183eff4 🌐 Added translation using Weblate (Czech) 2022-02-01 15:58:36 +01:00
Nathan 92fe4d0179 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Reda 6e1a643e22 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Óscar Fernández Díaz 207d79c66c 🌐 Added translation using Weblate (Spanish) 2022-02-01 15:58:36 +01:00
Théo Remon 88c9dacb31 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Nathan a9493a6765 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Théo Remon fdea3cd148 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Nathan 79851e9eca 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Théo Remon c993e02447 🌐 Translated using Weblate (French) 2022-02-01 15:58:36 +01:00
Simon Schneegans ee12f50d85 🎉 Bump version number 2022-01-31 05:59:55 +01:00
Simon Schneegans 784e2f3d9e 📝 Tweak changelog
Deploy / Extension Bundle (push) Has been cancelled
2022-01-31 05:58:04 +01:00
Simon Schneegans 1128370b83 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2022-01-31 05:56:26 +01:00
Simon Schneegans 289bf81046 📝 Set release date 2022-01-31 05:56:21 +01:00
albanobattistella 11030d4552 🌐 Translated using Weblate (Italian) 2022-01-31 05:49:22 +01:00
albanobattistella 013d2fbcdf 🌐 Added translation using Weblate (Italian) 2022-01-31 05:41:48 +01:00
Simon Schneegans 98724af986 📝 Rephrase some changelog entries 2022-01-30 05:43:20 +01:00
Simon Schneegans bd05a3c6b6 📝 Update guide 2022-01-30 05:40:14 +01:00
Allan Nordhøy 28916e4901 🌐 Translated using Weblate (Norwegian Bokmål) 2022-01-30 05:21:32 +01:00
Allan Nordhøy 3ad2ddd516 🌐 Added translation using Weblate (Norwegian Bokmål) 2022-01-30 05:21:32 +01:00
Simon Schneegans 3f41dd0f94 🎉 Add advanced CI tests 2022-01-29 13:52:27 +01:00
Simon Schneegans fa6c7b566a 🔧 Attempt to fix occasionally corrupted windows 2022-01-29 13:30:34 +01:00
Simon Schneegans 531dfdb162 📝 Fix typo 2022-01-29 06:07:31 +01:00
Simon Schneegans 571af02170 📝 Show loc badges in README 2022-01-29 06:05:08 +01:00
Simon Schneegans 4aaf6a1823 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2022-01-29 05:59:44 +01:00
Simon Schneegans 086f17f8b6 🎉 Add badges workflow 2022-01-29 05:59:39 +01:00
Simon Schneegans 7d1e175f54 🌐 Translated using Weblate (German) 2022-01-29 05:43:59 +01:00
Hosted Weblate 321df91031 🌐 Update translation files 2022-01-29 05:43:59 +01:00
Simon Schneegans e9e34c4984 🌐 Update translation template 2022-01-29 05:41:11 +01:00
Simon Schneegans d627048146 Merge branch 'feature/locales' 2022-01-29 05:40:35 +01:00
Simon Schneegans e56a56d11c 🔧 Add translation link to menu 2022-01-29 05:40:07 +01:00
Simon Schneegans 5a858b3270 🔀 Merge pull request #76 from Schneegans/feature/locales 2022-01-29 05:32:28 +01:00
Simon Schneegans 58a97d03a3 📝 Add some README links 2022-01-29 05:30:16 +01:00
Simon Schneegans 87b6fb7bd2 📝 Add changelog entry 2022-01-29 05:28:32 +01:00
Simon Schneegans 47580a5935 📝 Add weblate badge 2022-01-29 05:27:21 +01:00
Simon Schneegans 50c86229c0 🪲 Fix CI 2022-01-29 05:23:43 +01:00
Simon Schneegans 805680b4e5 🌐 Translated using Weblate (German) 2022-01-28 21:28:37 +01:00
Hosted Weblate 4e0c7a312d 🌐 Update translation files 2022-01-28 21:28:37 +01:00
Simon Schneegans c3949f961d 🌐 Update translation template 2022-01-28 21:26:24 +01:00
Simon Schneegans 3b164d5128 🔧 Make more strings translatable 2022-01-28 21:26:13 +01:00
Simon Schneegans 27305238df 🌐 Translated using Weblate (German) 2022-01-28 21:20:06 +01:00
Hosted Weblate 3894e4c97a 🌐 Update translation files 2022-01-28 21:20:06 +01:00
Hosted Weblate 0c4ed02e26 🌐 Update translation files 2022-01-28 21:20:06 +01:00
Simon Schneegans 95d7e4932b 🌐 Update translation template 2022-01-28 20:54:56 +01:00
Simon Schneegans 1dadccd9b5 🔧 Make fire preset names translatable 2022-01-28 20:54:36 +01:00
Simon Schneegans 57960ef0c8 🌐 Update translation template 2022-01-28 20:41:07 +01:00
Simon Schneegans fea441000d 🔧 MAke effect names translatable 2022-01-28 20:40:46 +01:00
Simon Schneegans 65969ce7a6 🔧 Add translation domains 2022-01-28 20:29:38 +01:00
Simon Schneegans e92ab9fe18 💄 Improve appearance of preview window 2022-01-28 20:26:28 +01:00
Simon Schneegans b92c4613c1 🌐 Translated using Weblate (German) 2022-01-28 20:11:11 +01:00
Hosted Weblate 59cf2f89ca 🌐 Update translation files 2022-01-28 20:11:11 +01:00
Hosted Weblate 58244cfbb4 🌐 Update translation files 2022-01-28 20:11:11 +01:00
J. Lavoie 9d324bfff3 🌐 Added translation using Weblate (French) 2022-01-28 20:11:11 +01:00
Simon Schneegans 357c506370 🔧 Add another translatable string 2022-01-28 20:09:19 +01:00
Simon Schneegans b95fbac409 🌐 Translated using Weblate (German) 2022-01-28 15:08:05 +01:00
Simon Schneegans a3fa8254f7 🌐 Added translation using Weblate (German) 2022-01-28 15:08:05 +01:00
Simon Schneegans f9b6f1ffbc 🔧 Load translations 2022-01-28 15:00:35 +01:00
Simon Schneegans fc902f2a73 🌐 Update translation template 2022-01-28 15:00:22 +01:00
Simon Schneegans 1692be778c 🌐 Add initial translation template 2022-01-28 14:35:23 +01:00
Simon Schneegans d014ec2841 🔧 Compile locales 2022-01-28 14:35:04 +01:00
Simon Schneegans 6ff16dc693 🔀 Merge pull request #71 from Schneegans/feature/fixes 2022-01-28 14:05:45 +01:00
Simon Schneegans c41bef6413 🪲 Fix occasional empty window 2022-01-28 14:04:40 +01:00
Simon Schneegans bcb7619d37 🔧 Disconnect from transitions-completed 2022-01-28 07:54:20 +01:00
Simon Schneegans f87a0a649b 🔧 Use opacity transition for uProgress 2022-01-28 07:50:10 +01:00
Simon Schneegans 51ba0d06ab 📝 Improve comments 2022-01-28 07:49:48 +01:00
Simon Schneegans dcaa28c200 🔧 Improve timing of energize b 2022-01-27 21:43:55 +01:00
Simon Schneegans 765cf6d54c 🔧 Improve timing of tv effect 2022-01-27 21:40:58 +01:00
Simon Schneegans 7b7b5cbb46 🔧 Improve timing of trex attack 2022-01-27 21:34:11 +01:00
Simon Schneegans bc2f39fac8 🔧 Improve timing of energize b 2022-01-27 21:33:53 +01:00
Simon Schneegans c9000fcad7 🪲 Fix blending of fire shader 2022-01-27 21:33:33 +01:00
Simon Schneegans 6914771bb5 🔀 Merge pull request #69 from Schneegans/feature/reverse 2022-01-27 21:01:10 +01:00
Simon Schneegans e2d9015490 📝 Add plenty of comments 2022-01-27 20:59:02 +01:00
Simon Schneegans acff1da6c2 🪲 Prevent registering the same type twice 2022-01-27 06:53:30 +01:00
Simon Schneegans 68712fb842 📝 Add changelog entry 2022-01-27 06:16:07 +01:00
Simon Schneegans 5ff2632499 🔧 Reduce default energize b time 2022-01-27 06:09:18 +01:00
Simon Schneegans 1b79cd4aa4 🔧 Remove debug print 2022-01-27 05:53:13 +01:00
Simon Schneegans a8d75de4c9 💄 Only add headerbar on GTK4 2022-01-27 05:52:49 +01:00
Simon Schneegans 38458e4a4c 🪲 Fix some GNOME 3.36 and 3.38 issues 2022-01-27 05:47:59 +01:00
Simon Schneegans c107083cde 🪲 Fix some GNOME 3.36 issues 2022-01-27 05:46:10 +01:00
Simon Schneegans f5e58b100f 🪲 Fix some GNOME 3.36 issues 2022-01-27 05:31:38 +01:00
Simon Schneegans bf95e349da 🪲 Fix some GNOME 3.36 issues 2022-01-27 05:24:32 +01:00
Simon Schneegans f1b764062b 🪲 Fix some GNOME 3.36 issues 2022-01-27 05:21:15 +01:00
Simon Schneegans 6b218d049f 🔨 Initial attempt on window-opening animation 2022-01-27 05:07:30 +01:00
Simon Schneegans b6cb78330d 💄 Add headerbar to preview windows 2022-01-27 05:07:00 +01:00
Simon Schneegans 28754a93c2 🔧 Reduce default animation time of some effects 2022-01-24 20:36:23 +01:00
Simon Schneegans ba79b5b611 🎉 Make it possible to select window open effects 2022-01-24 20:34:50 +01:00
Simon Schneegans 638613a190 🔧 Tweak effect 2022-01-24 11:15:17 +01:00
Simon Schneegans 9b59dd942c 🔧 Tweak alpha blending 2022-01-23 20:56:27 +01:00
Simon Schneegans 20dce532ae 🔧 Port to newest version 2022-01-23 16:47:31 +01:00
Simon Schneegans 8e53dc6117 Merge branch 'main' into feature/thanos 2022-01-23 16:45:05 +01:00
Simon Schneegans 7875060375 🔀 Merge pull request #68 from Schneegans/feature/fix-35 2022-01-23 16:43:25 +01:00
Simon Schneegans 14ba603f22 🎉 Add matrix overshooting option 2022-01-23 16:42:02 +01:00
Simon Schneegans 982a2c76c3 🔀 Merge pull request #67 from Schneegans/feature/preview 2022-01-23 13:49:56 +01:00
Simon Schneegans 799e1e6b24 📝 Add changelog entry 2022-01-23 13:48:30 +01:00
Simon Schneegans 3c046bd2ef 🪲 Fix dialog handling 2022-01-23 13:44:19 +01:00
Simon Schneegans 0f9103d1f0 💄 Tweak preview button 2022-01-23 13:43:51 +01:00
Simon Schneegans 783f5c695d 🔧 GTK3 fixes 2022-01-23 13:19:18 +01:00
Simon Schneegans 8475ae29ba 🔧 Use more robust preview logic 2022-01-23 13:13:55 +01:00
Simon Schneegans 242625ee9f 🎉 Add a preview button to each effect page 2022-01-23 06:44:28 +01:00
Simon Schneegans b2f11f494d 🔧 Add custom gtk style sheet 2022-01-23 06:34:37 +01:00
Simon Schneegans fd5871b924 💄 Add new menu entry 2022-01-23 06:33:39 +01:00
Simon Schneegans a5f7769e58 ♻️ Refactor how preferences pages are set up 2022-01-22 20:24:38 +01:00
Simon Schneegans 4e29c751ed 🎉 Add initial version of a thanos snap 2022-01-22 20:09:56 +01:00
Simon Schneegans 58a8213233 🎨 Add dust texture 2022-01-22 20:09:21 +01:00
Simon Schneegans 55727f7c2b 🔀 Merge pull request #64 from Schneegans/feature/broken-glass 2022-01-22 12:45:03 +01:00
Simon Schneegans 33ac6fa80c 🔧 Use 'unmanged' signal to adjust window clone transitions 2022-01-22 12:38:14 +01:00
Simon Schneegans 07cbe89ffd 💞 Add new sponsor 2022-01-21 21:38:43 +01:00
Simon Schneegans 61fbdcbc49 🪲 Try fix accessing deleted window previews 2022-01-21 21:36:56 +01:00
Simon Schneegans 8bdfb822a1 📝 Add version disclaimer 2022-01-21 21:13:55 +01:00
Simon Schneegans ff97d7292c 📝 Add new effect 2022-01-21 21:09:07 +01:00
Simon Schneegans c998896cc1 🔧 Tweak defaults 2022-01-21 21:00:09 +01:00
Simon Schneegans 98fc36d039 📝 Add changelog entry 2022-01-21 20:57:41 +01:00
Simon Schneegans cf0b268019 💄 Tweak label 2022-01-21 20:55:05 +01:00
Simon Schneegans e2153bece1 🪲 Fix error message 2022-01-21 20:54:53 +01:00
Simon Schneegans c7001de666 📝 Add comments 2022-01-21 20:46:36 +01:00
Simon Schneegans 3985697573 🎉 Add broken glass effect 2022-01-21 20:18:11 +01:00
Simon Schneegans 8f8f4dc7c0 🎉 Allow setting actor transitions in overview 2022-01-21 20:17:24 +01:00
Simon Schneegans 156cefcd1d 🔧 Ignore temporary blender files 2022-01-21 19:29:45 +01:00
Simon Schneegans 0b9c2a252f 🔧 Pass actor to shader creation method 2022-01-21 19:29:26 +01:00
Simon Schneegans 627b1c5bfe 🎨 Add shards texture 2022-01-21 19:27:44 +01:00
Simon Schneegans 4409337cc3 💞 Add new sponsor 2022-01-19 21:02:35 +01:00
Simon Schneegans c91a1203fb 🎉 Bump version number 2022-01-18 20:38:13 +01:00
Simon Schneegans 458731e391 📝 Set release date
Deploy / Extension Bundle (push) Has been cancelled
2022-01-18 20:37:42 +01:00
Simon Schneegans 5c0d6afddc 🔀 Merge pull request #57 from Schneegans/feature/tryfix_54 2022-01-18 20:30:55 +01:00
Simon Schneegans 69bec85d76 📝 Update changelog 2022-01-18 20:20:35 +01:00
Simon Schneegans 3d9b0b7560 🔧 Set animation time even if we do not use it 2022-01-18 20:15:49 +01:00
Simon Schneegans e0f1e13e9c 🔀 Merge pull request #51 from Schneegans/feature/fryfix_49 2022-01-17 21:34:00 +01:00
Simon Schneegans b8db5daa12 🔧 Use try/catch for more robust import 2022-01-17 21:30:54 +01:00
Simon Schneegans c21313dd34 🔧 Do not try to fix #49 on GS 3.36 2022-01-17 21:23:03 +01:00
Simon Schneegans 0c0547f4dd 🪲 Fix crash when clicking the close buttons in the overview twice 2022-01-17 21:11:06 +01:00
Simon Schneegans 6c73574edc 🎉 Bump version number 2022-01-17 17:30:16 +01:00
Simon Schneegans afae41694c 📝 Set release date 2022-01-17 17:30:01 +01:00
Simon Schneegans 70ce055b0c 🔧 GTK3 fixes
Deploy / Extension Bundle (push) Has been cancelled
2022-01-17 17:13:27 +01:00
Simon Schneegans 8fae06ea14 🚚 Rename settings ui files 2022-01-17 16:58:51 +01:00
Simon Schneegans 333b60bf4e 📝 Add note on preview GIFs 2022-01-17 16:47:21 +01:00
Simon Schneegans 07220fa2b9 🔀 Merge pull request #48 from Schneegans/feature/transporter 2022-01-17 16:40:13 +01:00
Simon Schneegans 8714de6269 📝 Add changelog entries 2022-01-17 16:06:01 +01:00
Simon Schneegans 8effb279a6 📝 Add energize effects to the README.md 2022-01-17 15:36:51 +01:00
Simon Schneegans 6b90b944bc 🔧 Tweak energize A effect 2022-01-17 15:36:28 +01:00
Simon Schneegans c01d775289 🔧 Add energize settings 2022-01-17 15:36:08 +01:00
Simon Schneegans 4cc2d4b68f 🔧 Add wisps scale 2022-01-17 15:35:37 +01:00
Simon Schneegans 06e0d5340d 🔧 Add wisps scale 2022-01-17 15:35:21 +01:00
Simon Schneegans 85629bb55e 📝 Fix typo 2022-01-16 19:35:37 +01:00
Simon Schneegans c4a1d7a113 📝 Fix settings descriptions 2022-01-16 19:35:18 +01:00
Simon Schneegans 87b765c60f 🔧 Tweak Energize B effect 2022-01-16 13:47:54 +01:00
Simon Schneegans f363ec4b41 🚚 Use simpler effect class names 2022-01-16 05:48:30 +01:00
Simon Schneegans 382097f7e6 Merge branch 'main' into feature/transporter 2022-01-16 05:47:31 +01:00
Simon Schneegans ee37015d6d 🚚 Use simpler effect class names 2022-01-16 05:46:22 +01:00
Simon Schneegans 5244ac65f3 🚚 Rename transporter effects 2022-01-16 05:37:40 +01:00
Simon Schneegans b873772419 Merge branch 'main' into feature/transporter 2022-01-16 05:32:22 +01:00
Simon Schneegans 5287ac2614 ♻️ Move edge mask to snippets 2022-01-16 05:31:00 +01:00
Simon Schneegans 6b2e67a9ec 🔧 Update shader 2022-01-16 05:14:50 +01:00
Simon Schneegans 5a800c14a7 Merge branch 'main' into feature/transporter 2022-01-16 05:04:42 +01:00
Simon Schneegans bb9f57fe83 📝 Add custom effect image 2022-01-15 21:33:05 +01:00
Simon Schneegans e48da54b82 🔀 Merge pull request #47 from Schneegans/feature/wisps 2022-01-15 21:20:12 +01:00
Simon Schneegans c55b3712a4 🔧 Increase default matrix animation time 2022-01-15 21:18:27 +01:00
Simon Schneegans d2de984354 🔧 Tweak effect 2022-01-15 21:16:24 +01:00
Simon Schneegans 7271141623 📝 Add new effect 2022-01-15 20:47:06 +01:00
Simon Schneegans e273b309f1 🔧 Tweak effect 2022-01-15 20:46:50 +01:00
Simon Schneegans d75a3a0881 🔧 Tweak wisps effect 2022-01-15 14:15:32 +01:00
Simon Schneegans 4349a3246a 🎉 Add wisps effect 2022-01-15 14:06:43 +01:00
Simon Schneegans b6fc32ee0d 🔧 Use alternative noise 2022-01-15 12:42:57 +01:00
Simon Schneegans de67afb711 Merge branch 'main' into feature/transporter 2022-01-14 09:28:53 +01:00
Simon Schneegans c478a0f6c6 📝 Add breaking-change disclaimer 2022-01-14 08:43:27 +01:00
Simon Schneegans 5bade13636 📝 Add changelog entry 2022-01-14 08:33:43 +01:00
Simon Schneegans 76c79ea0f3 💄 Add drop-down arrow on GTK3 2022-01-14 08:31:46 +01:00
Simon Schneegans 0beea22d20 🔧 Tweak effect 2022-01-14 08:29:40 +01:00
Simon Schneegans c78a21d2b9 🎉 Add initial attempt on a second transporter effect 2022-01-14 08:29:29 +01:00
Simon Schneegans c7c28184eb Merge branch 'main' into feature/transporter 2022-01-13 16:30:54 +01:00
Simon Schneegans 04b8d1060a 📝 Fix typo 2022-01-13 16:19:29 +01:00
Simon Schneegans 264ed8e720 📝 Add another link to the guide 2022-01-13 16:18:48 +01:00
Simon Schneegans 4baf45c2b1 🔀 Merge pull request #46 from Schneegans/feature/contribution-guide 2022-01-13 16:14:36 +01:00
Simon Schneegans 82a55211e8 📝 Some guide fixes 2022-01-13 16:12:31 +01:00
Simon Schneegans eeca6cb06e 📝 Some guide fixes 2022-01-13 16:07:54 +01:00
Simon Schneegans adacc616a0 📝 Use separate GTK3 example code 2022-01-13 16:04:42 +01:00
Simon Schneegans 3cf99ec2bb 📝 Link to tutorial 2022-01-13 15:39:41 +01:00
Simon Schneegans e545ba11a7 📝 Add tutorial 2022-01-13 15:39:28 +01:00
Simon Schneegans 5358e8907a 💄 Tweak spacing 2022-01-13 04:55:47 +01:00
Simon Schneegans 5c79220504 🎨 Tweak icon 2022-01-13 04:55:34 +01:00
Simon Schneegans b3d26649a6 🔧 Fix indentation 2022-01-13 04:49:59 +01:00
Simon Schneegans 3228106ddf 🎉 Add initial attempt on a transporter effect 2022-01-13 04:49:28 +01:00
Simon Schneegans 286b47e69c 🔀 Merge pull request #45 from Schneegans/feature/welcome-page 2022-01-11 19:50:37 +01:00
Simon Schneegans 8a240766ed 🎉 Add welcome message 2022-01-11 19:47:46 +01:00
Simon Schneegans 314090e0d0 ♻️ Use unified shader names 2022-01-11 19:43:47 +01:00
Simon Schneegans 466365fcc7 💞 Add new sponsor 2022-01-10 19:59:33 +01:00
Simon Schneegans 0772dfab90 🔧 Improve T-Rex effect 2022-01-10 17:21:24 +01:00
Simon Schneegans 5782aded97 🔧 Revert wrong commit 2022-01-10 17:16:20 +01:00
Simon Schneegans b74f307fa9 Merge branch 'main' of github.com:Schneegans/Burn-My-Windows 2022-01-10 17:09:40 +01:00
Simon Schneegans f3b2417496 📝 Add changelog entry 2022-01-10 17:09:19 +01:00
Simon Schneegans 70a15dec53 📝 Add changelog entry 2022-01-10 17:07:22 +01:00
Simon Schneegans 5b588aa9e0 🔀 Merge pull request #43 from Schneegans/feature/improve-modularity 2022-01-10 16:22:05 +01:00
Simon Schneegans 7e1e1e2e67 📝 Add some more comments 2022-01-10 16:19:20 +01:00
Simon Schneegans 9c07f4ef3d 📝 Add changelog entries 2022-01-10 16:19:00 +01:00
Simon Schneegans 458a382f16 📝 Add even more comments 2022-01-10 06:02:21 +01:00
Simon Schneegans 63515a3d8d ♻️ Introduce utils.getGTKString() 2022-01-10 05:53:09 +01:00
Simon Schneegans 67186eb37d 📝 Add even more comments 2022-01-10 05:51:22 +01:00
Simon Schneegans 871cb8489f 📝 Add some more comments 2022-01-10 05:41:10 +01:00
Simon Schneegans 3e61368087 ♻️ Move shader code to bottom of file 2022-01-10 05:28:03 +01:00
Simon Schneegans 03c10308f9 📝 Add some comments 2022-01-10 05:21:50 +01:00
Simon Schneegans f04295b32b 🔧 Add transiation tweaking 2022-01-09 21:18:01 +01:00
Simon Schneegans 9cd43a9c56 🔧 Increase default tv effect time 2022-01-09 21:17:29 +01:00
Simon Schneegans 46887df950 ♻️ Merge prefs and extension classes 2022-01-09 20:41:02 +01:00
Simon Schneegans b726064e65 🔧 Make effect classes static 2022-01-09 13:49:03 +01:00
Simon Schneegans f8b17eadea 💄 Add relieft to preset button 2022-01-09 13:24:57 +01:00
Simon Schneegans 578063f8f8 🪲 Fix version test 2022-01-09 13:20:43 +01:00
Simon Schneegans 9e230d4df7 🔧 Change animation duration directly 2022-01-09 13:19:49 +01:00
Simon Schneegans a99b682bf9 🔧 Revert fire settings names 2022-01-09 13:13:34 +01:00
Simon Schneegans 7ec9609d7a 🔧 Add close-effects menu 2022-01-09 13:05:34 +01:00
Simon Schneegans e3f0288eaf 🔧 Add shell version check 2022-01-08 21:41:10 +01:00
Simon Schneegans c81316bfe9 🔨 Split prefs in separate classes 2022-01-08 21:30:12 +01:00
Simon Schneegans d6fed235c2 🔧 Gtk3 fixes 2022-01-08 13:56:38 +01:00
Simon Schneegans 875ef391a7 🔧 Gtk3 fixes 2022-01-08 13:54:16 +01:00
Simon Schneegans 1af87cd5e3 🔧 Gtk3 fixes 2022-01-08 13:51:59 +01:00
Simon Schneegans 93bdd8c1a1 🔧 Gtk3 fixes 2022-01-08 13:48:10 +01:00
Simon Schneegans 088290f8ba 🔧 Gtk3 fixes 2022-01-08 13:44:58 +01:00
Simon Schneegans db80b34fad 🔧 Gtk3 fixes 2022-01-08 13:42:53 +01:00
Simon Schneegans 8c1157f808 🔧 Gtk3 fixes 2022-01-08 13:41:26 +01:00
Simon Schneegans 5396e1f18d 🔧 Port to Gtk3 2022-01-08 13:38:57 +01:00
Simon Schneegans c154115192 ♻️ Move main menu to separate file 2022-01-08 13:34:28 +01:00
Simon Schneegans 91daabd791 ♻️ Split settings to separate ui files 2022-01-08 13:24:54 +01:00
Simon Schneegans a3571e3879 💄 Use GtkStackSidebar for settings (Gtk3 port still pending) 2022-01-08 13:05:17 +01:00
Simon Schneegans 3dd5ff1b36 💞 Add new sponsor 2022-01-07 08:21:38 +01:00
Simon Schneegans 564ba8ed28 💞 Add sponsors 2022-01-07 05:48:29 +01:00
Simon Schneegans 3c582755f3 📝 Add changelog link 2022-01-05 13:20:43 +01:00
Simon Schneegans fddbaffeb3 📝 Tweak README 2022-01-05 13:16:27 +01:00
Simon Schneegans 8dd1d70f86 📝 Use h3's 2022-01-05 08:39:48 +01:00
Simon Schneegans 2e9cb26086 💞 Add list of sponsors 2022-01-05 08:17:20 +01:00
Simon Schneegans b5f911802d 📝 Update comments 2022-01-04 21:51:07 +01:00
Simon Schneegans 935e922707 🎉 Bump version number 2022-01-03 20:52:23 +01:00
Simon Schneegans aeec220a5e Merge branch 'feature/3d-noise'
Deploy / Extension Bundle (push) Has been cancelled
2022-01-03 20:50:35 +01:00
Simon Schneegans 17fae262c5 💄 Tweak labels 2022-01-03 20:50:17 +01:00
Simon Schneegans a331736eb3 🔀 Merge pull request #21 from Schneegans/feature/3d-noise 2022-01-03 20:40:06 +01:00
Simon Schneegans c439727ddd 📝 Add changelog entry 2022-01-03 20:28:59 +01:00
Simon Schneegans 2b073d34bd 🎉 Add 3D noise option 2022-01-03 20:27:00 +01:00
Simon Schneegans 15b0237e54 🔧 Use different noise implementation 2022-01-03 20:13:42 +01:00
Simon Schneegans 466d449dc4 📝 Add changelog entries 2022-01-03 13:56:45 +01:00
Simon Schneegans f92b8d058a 🎉 Add changelog entry to menu 2022-01-03 13:54:29 +01:00
Simon Schneegans 0a9e04ce09 ♻️ Resolve license issues 2022-01-03 13:50:56 +01:00
Simon Schneegans 022fc8f77e 🎨 Add icon 2022-01-03 13:43:15 +01:00
Simon Schneegans 820b3f75ea 🎉 Bump version number 2022-01-02 21:09:53 +01:00
Simon Schneegans d5f20f32ca 🔧 Lower the version number again...
Deploy / Extension Bundle (push) Has been cancelled
2022-01-02 21:07:29 +01:00
Simon Schneegans 2ffb9c9717 🎉 Bump version number 2022-01-02 21:03:57 +01:00
Simon Schneegans 719540d020 📝 Add changelog entry 2022-01-02 21:03:16 +01:00
Simon Schneegans e479b86664 🔧 Remove debug output 2022-01-02 21:01:58 +01:00
Simon Schneegans 6b68fd6715 🎉 Bump version number 2022-01-02 19:41:27 +01:00
Simon Schneegans 27fec7adea ♻️ Rename method
Deploy / Extension Bundle (push) Has been cancelled
2022-01-02 14:00:18 +01:00
Simon Schneegans 3630e461a9 📝 Tweak README 2022-01-02 13:35:40 +01:00
Simon Schneegans d14e9750cf 📝 Add list of included effects 2022-01-02 13:32:17 +01:00
Simon Schneegans d44f021348 🔀 Merge pull request #19 from Schneegans/feature/menu-button 2022-01-02 12:51:13 +01:00
Simon Schneegans 681afb4793 📝 Add changelog entry 2022-01-02 12:49:59 +01:00
Simon Schneegans 5682a5cdf8 🪲 Fix GTK3 2022-01-02 12:48:47 +01:00
Simon Schneegans 8c7e3abbeb 🎉 Add a menu button 2022-01-02 12:37:51 +01:00
Simon Schneegans 7e05588682 🔧 Tweak motto 2022-01-02 12:34:13 +01:00
Simon Schneegans 13d02da36b 🔀 Merge pull request #18 from Schneegans/feature/fix-14 2022-01-02 12:32:58 +01:00
Simon Schneegans 552dc3b0c7 📝 Fix changelog 2022-01-02 12:31:15 +01:00
Simon Schneegans 976533ccc8 🎉 Support ovierview animations in GNOME 3.36 2022-01-02 07:58:35 +01:00
Simon Schneegans 403fac3367 📝 Add changelog entry 2022-01-01 21:57:57 +01:00
Simon Schneegans b916f9677e 🔧 Do not attempt to animate window closing in the overview of GNOME 3.36 2022-01-01 21:49:31 +01:00
Simon Schneegans 4965ca8735 🔀 Merge pull request #16 from Schneegans/feature/claws 2022-01-01 21:23:12 +01:00
Simon Schneegans c9bfdc4bf9 📝 Add comment 2022-01-01 21:21:56 +01:00
Simon Schneegans 54fa765766 📝 Add changelog entry 2022-01-01 21:19:30 +01:00
Simon Schneegans 37cd1fb7cc 📝 Add plenty of comments 2022-01-01 21:18:49 +01:00
Simon Schneegans 5d845e09c1 🎨 Add claws source file 2022-01-01 20:59:21 +01:00
Simon Schneegans f758f4db82 🔧 Tweak defaults 2022-01-01 20:55:12 +01:00
Simon Schneegans b410536fc2 🎉 Make T-Rex effect configurable 2022-01-01 20:47:59 +01:00
Simon Schneegans db636a7cfe Merge branch 'main' into feature/claws 2022-01-01 20:17:51 +01:00
Simon Schneegans 8c6c1bc7bd 🪲 Fix GTK3 2022-01-01 20:16:59 +01:00
Simon Schneegans 976e713a2b 🎉 Make TV Effect color configurable 2022-01-01 20:12:41 +01:00
Simon Schneegans 7dea28a145 🔧 Reduce scaling 2022-01-01 19:51:26 +01:00
Simon Schneegans 918a12060c 🎉 Add initial T-Rex shader 2022-01-01 19:48:24 +01:00
Simon Schneegans 11a3562533 🔀 Merge pull request #15 from Schneegans/feature/tv-effect 2021-12-31 20:36:56 +01:00
Simon Schneegans 68c851c9e0 📝 Add changelog entry 2021-12-31 20:35:37 +01:00
Simon Schneegans 03db97fdda 📝 Add comments 2021-12-31 20:34:50 +01:00
Simon Schneegans 0ee171aae0 Merge branch 'main' into feature/tv-effect 2021-12-30 13:51:54 +01:00
Simon Schneegans 9c9b9657e8 🎉 Improve fire appearance 2021-12-30 13:51:14 +01:00
Simon Schneegans fdd21a44b8 🎉 Add TV Effect shader 2021-12-30 13:42:41 +01:00
Simon Schneegans cd3b91a191 🎉 Bump version number 2021-12-25 20:39:28 +01:00
904 changed files with 85019 additions and 2116 deletions
+6
View File
@@ -1,4 +1,10 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
BasedOnStyle: Google BasedOnStyle: Google
AlignConsecutiveAssignments: true AlignConsecutiveAssignments: true
AlignAfterOpenBracket: Align
ContinuationIndentWidth: 2
KeepEmptyLinesAtTheStartOfBlocks: true KeepEmptyLinesAtTheStartOfBlocks: true
SortIncludes: false
ColumnLimit: 90 ColumnLimit: 90
+6 -3
View File
@@ -1,12 +1,15 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
# These are supported funding model platforms # These are supported funding model platforms
github: schneegans github: schneegans
patreon: # Replace with a single Patreon username patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username ko_fi: schneegans
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username liberapay: # Schneegans
issuehunt: # Replace with a single IssueHunt username issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username otechie: # Replace with a single Otechie username
custom: ['https://www.paypal.com/donate/?hosted_button_id=3F7UFL8KLVPXE'] custom: ["https://www.paypal.me/simonschneegans"]
+6 -4
View File
@@ -1,4 +1,7 @@
--- ---
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC-BY-4.0
name: Bug Report name: Bug Report
about: Create a report to help us improve the Burn-My-Windows Extension! about: Create a report to help us improve the Burn-My-Windows Extension!
title: '' title: ''
@@ -17,14 +20,13 @@ Steps to reproduce the behavior:
4. See error 4. See error
You may also check the output of GNOME Shell for any error messages. You may also check the output of GNOME Shell for any error messages.
This can be done with the following terminal command: This can be done with the following terminal command.
Execute this in a terminal and observe the output while reproducing the bug.
```bash
journalctl -f -o cat | grep -E 'burn-my-windows|' journalctl -f -o cat | grep -E 'burn-my-windows|'
``` ```
## Expected Behavior
A clear and concise description of what you expected to happen.
## System ## System
_Please complete the following information:_ _Please complete the following information:_
- Linux distribution [e.g. Ubuntu 21.04] - Linux distribution [e.g. Ubuntu 21.04]
+9 -8
View File
@@ -1,16 +1,17 @@
--- ---
name: Feature Request # SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC-BY-4.0
name: General Feature Request
about: Suggest an idea for the Burn-My-Windows Extension. about: Suggest an idea for the Burn-My-Windows Extension.
title: '' title: ''
labels: enhancement labels: 'feature request'
assignees: '' assignees: ''
--- ---
## The Motivation ## The Idea
A clear and concise description of use-case. A clear and concise description of your idea.
If applicable, feel free to add screenshots or mock-ups to illustrate your idea!
## The Solution
A clear and concise description of what you want to happen.
## The Alternatives ## The Alternatives
A clear and concise description of any alternative solutions or features you've considered. Are there alternative solutions or features you've considered?
+20
View File
@@ -0,0 +1,20 @@
---
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC-BY-4.0
name: New Effect
about: Suggest a new effect for the Burn-My-Windows Extension.
title: ''
labels: 'new effect'
assignees: ''
---
## The Idea
Please describe your idea as detailed as possible.
It would be great if you could add a drawing or any other kind of mock-up to illustrate your idea!
## Window Closing vs. Window Opening
Make sure to describe how the effect could be reversed, so how should a window disappear and how should it appear.
## References
It would be great if you could provide some video references (e.g. YouTube links) if your idea is based on something which - for example - exists in movies.
+45
View File
@@ -0,0 +1,45 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
name: Badges
on:
push:
branches:
- main
jobs:
update-badges:
name: Update Badges
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Download cloc
run: sudo apt-get update -y && sudo apt-get install -y cloc
- name: Get the Numbers
run: |
echo "CODE_LINES=$(scripts/cloc.sh --loc)" >> $GITHUB_ENV
echo "COMMENT_LINES=$(scripts/cloc.sh --percentage)" >> $GITHUB_ENV
- name: Create Lines-of-Code-Badge
uses: schneegans/dynamic-badges-action@v1.3.0
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: 8cf45f23253ff09b21196e7271378762
filename: loc.json
label: Lines of Code
message: ${{ env.CODE_LINES }}
color: lightgrey
labelColor: 303030
- name: Create Comments-Badge
uses: schneegans/dynamic-badges-action@v1.3.0
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: 8cf45f23253ff09b21196e7271378762
filename: comments.json
label: Comments
message: ${{ env.COMMENT_LINES }}%
valColorRange: ${{ env.COMMENT_LINES }}
maxColorRange: 50
minColorRange: 0
labelColor: 303030
+63 -7
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
name: Checks name: Checks
on: on:
@@ -14,7 +17,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Download Clang-Format - name: Download Clang-Format
run: | run: |
sudo apt update -qq sudo apt update -qq
@@ -26,18 +29,26 @@ jobs:
DIFF=$(git diff) DIFF=$(git diff)
if [ ! -z "$DIFF" ]; then echo $DIFF && exit 1; fi if [ ! -z "$DIFF" ]; then echo $DIFF && exit 1; fi
reuse:
name: Check Compliance with REUSE Specification
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
comment_percentage: comment_percentage:
name: Check Comment Percentage name: Check Comment Percentage
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
steps: steps:
- name: Checkout Current Repository - name: Checkout Current Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: current path: current
ref: ${{ github.ref }} ref: ${{ github.ref }}
- name: Checkout Base Repository - name: Checkout Base Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: base path: base
ref: ${{ github.base_ref }} ref: ${{ github.base_ref }}
@@ -63,20 +74,65 @@ jobs:
name: Run ShellCheck name: Run ShellCheck
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Run ShellCheck - name: Run ShellCheck
run: | run: |
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck
references:
name: Generate References
runs-on: ubuntu-22.04
if: >
github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]')
steps:
- uses: actions/checkout@v3
- name: Download Dependencies
run: |
sudo apt update -qq
sudo apt install gettext imagemagick -qq
- name: Build Burn-My-Windows
run: make
- name: Generate References
run: sudo make references
- uses: actions/upload-artifact@v3
with:
name: references
path: tests/references/
build: build:
name: Run Tests name: Run Tests
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: > if: >
github.event_name == 'pull_request' || github.event_name == 'pull_request' ||
( contains(github.ref, 'main') && !contains(github.event.head_commit.message, '[no-ci]') ) || ( contains(github.ref, 'main') && !contains(github.event.head_commit.message, '[no-ci]') ) ||
( contains(github.ref, 'develop') && !contains(github.event.head_commit.message, '[no-ci]') ) ||
contains(github.event.head_commit.message, '[run-ci]') contains(github.event.head_commit.message, '[run-ci]')
strategy:
fail-fast: false
matrix:
version:
- '32'
- '33'
- '34'
- '35'
- '36'
- '37'
- '38'
- 'rawhide'
session:
- 'gnome-xsession'
- 'gnome-wayland-nested'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Download Dependencies
run: |
sudo apt update -qq
sudo apt install gettext imagemagick -qq
- name: Build Burn-My-Windows - name: Build Burn-My-Windows
run: make run: make
- name: Test Burn-My-Windows
run: sudo $GITHUB_WORKSPACE/tests/run-test.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
- uses: actions/upload-artifact@v3
if: failure()
with:
name: result_${{ matrix.version }}_${{ matrix.session }}
path: tests/output/
+28 -4
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
name: Deploy name: Deploy
on: on:
@@ -6,8 +9,8 @@ on:
- '**' - '**'
jobs: jobs:
source_code: gnome_bundle:
name: Extension Bundle name: Bundle GNOME Shell Extension
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
@@ -20,10 +23,31 @@ jobs:
run: | run: |
make zip make zip
- name: Upload Release - name: Upload Release
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@2.2.1
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: burn-my-windows@schneegans.github.com.zip file: burn-my-windows@schneegans.github.com.zip
asset_name: burn-my-windows@schneegans.github.com.zip
tag: ${{ github.ref }} tag: ${{ github.ref }}
overwrite: true overwrite: true
kwin_bundle:
name: Bundle KWin Effect
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt-get update -q
sudo apt-get install gettext clang-format
- name: Create Release
run: |
./kwin/build.sh
- name: Upload Release
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: kwin/*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true
+10 -1
View File
@@ -1,5 +1,14 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
*~ *~
*.zip *.zip
*.blend1
*.blend2
*.blend3
/locale
/schemas/gschemas.compiled /schemas/gschemas.compiled
/resources/burn-my-windows.gresource /resources/burn-my-windows.gresource
/resources/burn-my-windows.gresource.xml /resources/burn-my-windows.gresource.xml
kwin/_build
kwin/*.tar.gz
+33
View File
@@ -0,0 +1,33 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: tests/references/*
Copyright: Simon Schneegans <code@simonschneegans.de>
License: CC0-1.0
Files: kwin/metadata.desktop.in
Copyright: Simon Schneegans <code@simonschneegans.de>
License: CC0-1.0
Files: resources/credits/*
Copyright: Simon Schneegans <code@simonschneegans.de>
License: CC0-1.0
Files: resources/img/*
Copyright: Simon Schneegans <code@simonschneegans.de>
License: CC-BY-4.0
Files: docs/pics/*
Copyright: Simon Schneegans <code@simonschneegans.de>
License: CC-BY-4.0
Files: assets/*
Copyright: Simon Schneegans <code@simonschneegans.de>
License: CC-BY-4.0
Files: po/*
Copyright: Simon Schneegans <code@simonschneegans.de>
License: GPL-3.0-or-later
Files: metadata.json
Copyright: Simon Schneegans <code@simonschneegans.de>
License: GPL-3.0-or-later
+156
View File
@@ -0,0 +1,156 @@
Creative Commons Attribution 4.0 International
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 – Definitions.
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
Section 2 – Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part; and
B. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
3. Term. The term of this Public License is specified in Section 6(a).
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
5. Downstream recipients.
A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public License.
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
Section 3 – License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified form), You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
Section 4 – Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
Section 5 – Disclaimer of Warranties and Limitation of Liability.
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Section 6 – Term and Termination.
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 7 – Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
Section 8 – Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org.
+121
View File
@@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
+232
View File
@@ -0,0 +1,232 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
“This License” refers to version 3 of the GNU General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based on the Program.
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.
+9
View File
@@ -0,0 +1,9 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+96 -31
View File
@@ -1,51 +1,116 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: MIT
SHELL := /bin/bash SHELL := /bin/bash
JS_FILES = $(shell find -type f -and \( -name "*.js" \)) # We define these here to make the makefile easier to port to another extension.
NAME := burn-my-windows
DOMAIN := schneegans.github.com
ZIP_NAME := $(NAME)@$(DOMAIN).zip
# Some of the recipes below depend on some of these files.
JS_FILES = $(wildcard src/*.js src/*/*.js extension.js prefs.js)
UI_FILES = $(shell find resources -type f -and \( -name "*.ui" \))
RESOURCE_FILES = $(shell find resources -mindepth 2 -type f) RESOURCE_FILES = $(shell find resources -mindepth 2 -type f)
LOCALES_PO = $(wildcard po/*.po)
LOCALES_MO = $(patsubst po/%.po,locale/%/LC_MESSAGES/$(NAME).mo,$(LOCALES_PO))
.PHONY: zip install uninstall clean # These files will be included in the extension zip file.
ZIP_CONTENT = $(JS_FILES) $(LOCALES_MO) resources/$(NAME).gresource \
schemas/org.gnome.shell.extensions.$(NAME).gschema.xml \
schemas/org.gnome.shell.extensions.$(NAME)-profile.gschema.xml \
schemas/gschemas.compiled metadata.json LICENSE
zip: burn-my-windows@schneegans.github.com.zip # These seven recipes can be invoked by the user.
.PHONY: zip install uninstall pot clean test references
install: burn-my-windows@schneegans.github.com.zip # The zip recipes only bundles the extension without installing it.
gnome-extensions install "burn-my-windows@schneegans.github.com.zip" --force zip: $(ZIP_NAME)
# The install recipes creates the extension zip and installs it.
install: $(ZIP_NAME)
gnome-extensions install "$(ZIP_NAME)" --force
@echo "Extension installed successfully! Now restart the Shell ('Alt'+'F2', then 'r')." @echo "Extension installed successfully! Now restart the Shell ('Alt'+'F2', then 'r')."
# This uninstalls the previously installed extension.
uninstall: uninstall:
gnome-extensions uninstall "burn-my-windows@schneegans.github.com" gnome-extensions uninstall "$(NAME)@$(DOMAIN)"
# Use gettext to generate a translation template file.
pot: $(JS_FILES) $(UI_FILES)
@echo "Generating '$(NAME).pot'..."
@xgettext --from-code=UTF-8 \
--add-comments=Translators \
--copyright-holder="Simon Schneegans" \
--package-name="$(NAME)" \
--output=po/$(NAME).pot \
$(JS_FILES) $(UI_FILES)
# This runs several tests in containerized versions of GNOME Shell.
test:
@ for version in 32 33 34 35 36 37 38 "rawhide" ; do \
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
echo ; \
echo "Running Tests on Fedora $$version ($$session)." ; \
echo ; \
./tests/run-test.sh -s $$session -v $$version ; \
done \
done
# This re-generates all reference images required by the tests.
references:
@ for version in 32 33 34 35 36 37 38 "rawhide" ; do \
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
echo ; \
echo "Generating References for Fedora $$version ($$session)." ; \
echo ; \
./tests/generate-references.sh -s $$session -v $$version ; \
done \
done
# This removes all temporary files created with the other recipes.
clean: clean:
rm -rf \ rm -rf $(ZIP_NAME) \
burn-my-windows@schneegans.github.com.zip \ resources/$(NAME).gresource \
resources/burn-my-windows.gresource \ resources/$(NAME).gresource.xml \
resources/burn-my-windows.gresource.xml \ schemas/gschemas.compiled \
schemas/gschemas.compiled locale
burn-my-windows@schneegans.github.com.zip: schemas/gschemas.compiled resources/burn-my-windows.gresource $(JS_FILES) # This bundles the extension and checks whether it is small enough to be uploaded to
@# Check if the VERSION variable was passed and set version to it # extensions.gnome.org. We do not use "gnome-extensions pack" for this, as this is not
@if [[ "$(VERSION)" != "" ]]; then \ # readily available on the GitHub runners.
sed -i "s| \"version\":.*| \"version\": $(VERSION)|g" metadata.json; \ $(ZIP_NAME): $(ZIP_CONTENT)
fi
@# TODO Maybe echo version number of the release that was built, in order to facilitate double-checking before publishing it?
@echo "Packing zip file..." @echo "Packing zip file..."
@rm --force burn-my-windows@schneegans.github.com.zip @rm --force $(ZIP_NAME)
@zip -r burn-my-windows@schneegans.github.com.zip -- *.js src/*/*.js resources/burn-my-windows.gresource schemas/gschemas.compiled metadata.json LICENSE @zip $(ZIP_NAME) -- $(ZIP_CONTENT)
@#Check if the zip size is too big to be uploaded @#Check if the zip size is too big to be uploaded
@if [[ "$$(stat -c %s burn-my-windows@schneegans.github.com.zip)" -gt 4096000 ]]; then \ @SIZE=$$(unzip -Zt $(ZIP_NAME) | awk '{print $$3}') ; \
echo "ERROR! The extension is too big to be uploaded to the extensions website, keep it smaller than 4096 KB!"; exit 1; \ if [[ $$SIZE -gt 5242880 ]]; then \
fi echo "ERROR! The extension is too big to be uploaded to" \
"the extensions website, keep it smaller than 5 MB!"; \
exit 1; \
fi
resources/burn-my-windows.gresource: resources/burn-my-windows.gresource.xml # Compiles the gschemas.compiled file from the gschema.xml file.
schemas/gschemas.compiled: schemas/org.gnome.shell.extensions.$(NAME).gschema.xml schemas/org.gnome.shell.extensions.$(NAME)-profile.gschema.xml
@echo "Compiling schemas..."
@glib-compile-schemas schemas
# Compiles the gresource file from the gresources.xml.
resources/$(NAME).gresource: resources/$(NAME).gresource.xml
@echo "Compiling resources..." @echo "Compiling resources..."
@glib-compile-resources --sourcedir="resources" --generate resources/burn-my-windows.gresource.xml @glib-compile-resources --sourcedir="resources" --generate resources/$(NAME).gresource.xml
resources/burn-my-windows.gresource.xml: $(RESOURCE_FILES) # Generates the gresources.xml based on all files in the resources subdirectory.
resources/$(NAME).gresource.xml: $(RESOURCE_FILES)
@echo "Creating resources xml..." @echo "Creating resources xml..."
@FILES=$$(find "resources" -mindepth 2 -type f -printf "%P\n" | xargs -i echo "<file>{}</file>") ; \ @FILES=$$(find "resources" -mindepth 2 -type f -printf "%P\n" | xargs -i echo "<file>{}</file>") ; \
echo "<?xml version='1.0' encoding='UTF-8'?><gresources><gresource> $$FILES </gresource></gresources>" > resources/burn-my-windows.gresource.xml echo "<?xml version='1.0' encoding='UTF-8'?><gresources><gresource> $$FILES </gresource></gresources>" \
> resources/$(NAME).gresource.xml
schemas/gschemas.compiled: schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml # Compiles all *.po files to *.mo files.
@echo "Compiling schemas..." locale/%/LC_MESSAGES/$(NAME).mo: po/%.po
@glib-compile-schemas schemas @echo "Compiling $@"
@mkdir -p locale/$*/LC_MESSAGES
@msgfmt -c -o $@ $<
+196 -7
View File
@@ -1,18 +1,135 @@
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: CC-BY-4.0
-->
<p align="center"> <p align="center">
<img src ="docs/pics/teaser.gif" /> <a href="https://www.youtube.com/watch?v=ZHMboQq8Z5c"><img src ="docs/pics/teaser.jpg" /></a>
</p> </p>
# Set your Windows on Fire! <h1 align="center">🔥 Set GNOME Shell and KWin on Fire!</h1>
<p align="center">
<a href="https://extensions.gnome.org/extension/4679/burn-my-windows/"><img src="https://img.shields.io/badge/Download-extensions.gnome.org-e67f4d.svg?logo=gnome&logoColor=lightgrey&labelColor=303030" /></a><br/>
<a href="https://github.com/Schneegans/Burn-My-Windows/actions"><img src="https://github.com/Schneegans/Burn-My-Windows/workflows/Checks/badge.svg?branch=main" /></a> <a href="https://github.com/Schneegans/Burn-My-Windows/actions"><img src="https://github.com/Schneegans/Burn-My-Windows/workflows/Checks/badge.svg?branch=main" /></a>
<a href="https://api.reuse.software/info/github.com/Schneegans/Burn-My-Windows"><img src="https://api.reuse.software/badge/github.com/Schneegans/Burn-My-Windows" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg?labelColor=303030" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg?labelColor=303030" /></a>
<a href="https://extensions.gnome.org/extension/4679/burn-my-windows/"><img src="https://img.shields.io/badge/Download-extensions.gnome.org-e67f4d.svg?logo=gnome&logoColor=lightgrey&labelColor=303030" /></a> <a href="https://hosted.weblate.org/engage/burn-my-windows/"><img src="https://img.shields.io/weblate/progress/burn-my-windows?label=Translated&logo=weblate&logoColor=lightgray&labelColor=303030" /></a>
<a href="scripts/cloc.sh"><img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/Schneegans/8cf45f23253ff09b21196e7271378762/raw/loc.json" /></a>
<a href="scripts/cloc.sh"><img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/Schneegans/8cf45f23253ff09b21196e7271378762/raw/comments.json" /></a>
</p>
When I released the [Desktop Cube Extension](https://github.com/Schneegans/Desktop-Cube/), many people requested to revive one of the most useless features of Linux desktop history: Setting windows on fire! When I released the [Desktop Cube Extension](https://github.com/Schneegans/Desktop-Cube/) for GNOME, many people requested to revive one of the most useless features of Linux desktop history: Setting windows on fire!
This extension is not only more useless than the cube, but it is also much more hacky. So I expect some bug! [Let's incinerate them all](https://github.com/Schneegans/Burn-My-Windows/issues)! This extension is not only more useless than the cube, but it is also much more hacky. So I expect some bug! [Let's incinerate them all](https://github.com/Schneegans/Burn-My-Windows/issues)!
**🖼️ The wallpapers used in the previews below were all generated using AI and are available in [this GitHub repository](https://github.com/Schneegans/ai-wallpapers).**
## Installation Effect | Preview
-----|--------
**Apparition** <br> This effect hides your windows by violently sucking them into the void of magic! | <img src ="docs/pics/apparition.gif" />
**Broken Glass** <br> Shatter your windows into a shower sharp shards! This effect can be configured so that the shards fly away from your mouse pointer position!| <img src ="docs/pics/broken-glass.gif" />
**Doom** <br> Melt your windows. Inspired by the legendary screen transitions of the original Doom. | <img src ="docs/pics/doom.gif" />
**Energize A** <br> Beam your windows away! | <img src ="docs/pics/energize-a.gif" />
**Energize B** <br> Using different transporter technology results in an alternative visual effect. | <img src ="docs/pics/energize-b.gif" />
**Fire** <br> The classic effect inspired by Compiz. However, this is implemented using a GLSL shader and not with a particle system like in the old days. | <img src ="docs/pics/fire.gif" />
**Glide** <br> This very simple effect fades the window to transparency with subtle 3D effects. | <img src ="docs/pics/glide.gif" />
**Glitch** <br> This effect applies some intentional graphics issues to your windows. | <img src ="docs/pics/glitch.gif" />
**Hexagon** <br> With glowing lines and hexagon-shaped tiles, this effect looks very sci-fi. | <img src ="docs/pics/hexagon.gif" />
**Incinerate** <br> A less snappy but definitely more fancy take on the fire effect. | <img src ="docs/pics/incinerate.gif" />
**Matrix** <br> Turn your windows into a shower of green letters! The color is actually configurable.| <img src ="docs/pics/matrix.gif" />
**Paint Brush** <br> Paint or erase your windows with a thick paint brush. | <img src ="docs/pics/paint-brush.gif" />
**Pixelate** <br> Pixelate your windows and randomly hide pixels until the entire window is gone.| <img src ="docs/pics/pixelate.gif" />
**Pixel Wheel** <br> This simple effect pixelates the window and hides the pixels in a wheel-like fashion.| <img src ="docs/pics/pixel-wheel.gif" />
**Pixel Wipe** <br> This effect pixelates the window and hides the pixels radially, starting from the pointer position.| <img src ="docs/pics/pixel-wipe.gif" />
**Portal** <br> This ridiculous effect teleports your windows from and to alternative dimensions. It may resemble the portal from a well-known cartoon series... | <img src ="docs/pics/portal.gif" />
**Snap of Disintegration** <br> Dissolve your windows into a cloud of dust.| <img src ="docs/pics/snap.gif" />
**T-Rex Attack** <br> Destroy your windows with a series of violent slashes!| <img src ="docs/pics/trex.gif" />
**TV Effect** <br> This is a very simple effect to demonstrate that this extension could also be used in a more professional environment. | <img src ="docs/pics/tv.gif" />
**TV Glitch** <br> This effect combines the Glitch and the TV Effect. | <img src ="docs/pics/tv-glitch.gif" />
**Wisps** <br> Let your windows be carried away to the realm of dreams by these little fairies! | <img src ="docs/pics/wisps.gif" />
**Your Effect!** <br> The extension is very modular and with a bit of creativity and GLSL knowledge, [you can easily create your own effects](docs/how-to-create-new-effects.md). | [![Create your own effects](docs/pics/custom.jpg)](docs/how-to-create-new-effects.md)
## ✅ Supported Versions
Not every effect is available on each version of GNOME or KWin.
Below is a table which summarizes the current availability for all effects.
<table width="100%">
<tr>
<td></td>
<td colspan="3"><strong>GNOME</strong></td>
<td colspan="1"><strong>KWin</strong></td>
</tr>
<tr><td></td> <td>3.36</td> <td>3.38</td><td>40+</td><td>5.25.0+</td></tr>
<tr><td>Apparition</td> <td> </td> <td>✅</td> <td>✅</td> <td> </td> </tr>
<tr><td>Broken Glass</td> <td> </td> <td> </td> <td>✅</td> <td> </td> </tr>
<tr><td>Doom</td> <td> </td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Energize A</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Energize B</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Fire</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Glide</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Glitch</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Hexagon</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Incinerate</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Matrix</td> <td> </td> <td> </td> <td>✅</td> <td> </td> </tr>
<tr><td>Paint Brush</td> <td> </td> <td> </td> <td>✅</td> <td> </td> </tr>
<tr><td>Pixelate</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Pixel Wheel</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Pixel Wipe</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Portal</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Snap of Disintegration</td> <td> </td> <td> </td> <td>✅</td> <td> </td> </tr>
<tr><td>T-Rex Attack</td> <td> </td> <td> </td> <td>✅</td> <td> </td> </tr>
<tr><td>TV Effect</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>TV Glitch</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
<tr><td>Wisps</td> <td>✅</td> <td>✅</td> <td>✅</td> <td>✅</td> </tr>
</table>
## 💞 These People _love_ this Extension
While [coding new features](docs/how-to-create-new-effects.md) or [translating the extension](https://hosted.weblate.org/engage/burn-my-windows/) are the most awesome ways to contribute, providing financial support will help me stay motivated to invest my spare time to keep the project alive in the future.
<h3 align="center">🥇 Current Gold Sponsors</h3>
<p align="center">
<a href="https://github.com/D3vil0p3r">D3vil0p3r</a><br>
Maxence Sebald<br>
</p>
<h3 align="center">🥈 Current Silver Sponsors</h3>
<p align="center">
<a href="https://github.com/danielheadbang">@danielheadbang</a><br>
<a href="https://github.com/castrojo">Jorge Castro</a><br>
</p>
<h3 align="center">🥉 Current Bronze Sponsors</h3>
<p align="center">
<a href='https://github.com/SubOptimal'>@SubOptimal</a><br>
<a href='https://github.com/vlazic'>@vlazic</a><br>
<!-- <a href="https://github.com/sponsors/Schneegans">Become the first!</a><br> -->
</p>
<h3 align="center">🏅 Previous Sponsors and One-Time Donators</h3>
<p align="center">
<a href="https://github.com/dennis1248">Dennis ten Hoove</a><br>
<a href="https://github.com/MRR-dev">@MRR-dev</a><br>
<a href='https://github.com/AngelBrielez'>Angel Brielez</a>
<a href='https://github.com/taconomix'>@taconomix</a><br>
<a href='https://github.com/enolive'>@enolive</a><br>
<a href="https://github.com/Aggraxis">@Aggraxis</a><br>
<a href="https://twitter.com/tjiiik">tj3k</a><br>
<a href="https://github.com/wolfyrion">@wolfyrion</a><br>
<a href="https://github.com/MrTomRod">@MrTomRod</a><br>
Pouhiou<br>
DAPREMONT Christophe<br>
<a href="https://github.com/manero6">@manero6</a><br>
<a href="https://github.com/RickStanley">@RickStanley</a><br>
</p>
Do you want to show that you love it too? You may <a href="https://github.com/sponsors/Schneegans">become a sponsor for as little as 1$ / month</a>!
If you like this extension, you may also want to try one of my other GNOME extensions: [🧊 Desktop-Cube](https://github.com/Schneegans/Desktop-Cube) or [🍰 Fly-Pie](https://github.com/Schneegans/Fly-Pie/)!
## ⬇️ Installation (GNOME)
You can either install the Burn-My-Windows extension from extensions.gnome.org (a), download a stable release You can either install the Burn-My-Windows extension from extensions.gnome.org (a), download a stable release
from GitHub (b) or clone the latest version directly with `git` (c). from GitHub (b) or clone the latest version directly with `git` (c).
@@ -71,10 +188,82 @@ Then you can enable the extension with the *Gnome Tweak Tool*, the *Extensions*
gnome-extensions enable burn-my-windows@schneegans.github.com gnome-extensions enable burn-my-windows@schneegans.github.com
``` ```
## ⬇️ Installation (KWin)
You can either download the effects from the KDE store (a), download a stable version from GitHub (b) or clone the latest version directly with `git` (c).
:warning: **You need at least KWin 5.25.0 for the Burn-My-Windows effects.**
:warning: **If the color picker widgets in the effect settings do not work for you, you may have to install a package called `libkf5widgetsaddons-dev` (Kubuntu, KDE Neon, ...) or `kf5-kwidgetsaddons-devel`, `kwidgetsaddons-devel` (Fedora, OpenSuse, ...).**
### a) Download from the KDE Store
Here are links to all effects which are currently available in the KDE store;
* [Doom](https://store.kde.org/p/1898739)
* [Energize A](https://store.kde.org/p/1884310)
* [Energize B](https://store.kde.org/p/1884311)
* [Fire](https://store.kde.org/p/1884307)
* [Glide](https://store.kde.org/p/1935778)
* [Glitch](https://store.kde.org/p/1972813)
* [Hexagon](https://store.kde.org/p/1884309)
* [Incinerate](https://store.kde.org/p/1861183)
* [Pixelate](https://store.kde.org/p/1898742)
* [Pixel Wheel](https://store.kde.org/p/1898746)
* [Pixel Wipe](https://store.kde.org/p/1898748)
* [Portal](https://store.kde.org/p/1959879)
* [TV-Effect](https://store.kde.org/p/1884312)
* [TV-Glitch](https://store.kde.org/p/1982142)
* [Wisps](https://store.kde.org/p/1884313)
You can also directly get the effects from within your system settings.
Just go to your System Settings, then "Workspace Behavior", and "Desktop Effects". Then click on "Get new Desktop Effects...".
### b) Downloading a Stable Release
Execute this command to download the latest stable release:
```bash
wget https://github.com/Schneegans/Burn-My-Windows/releases/latest/download/burn_my_windows_kwin4.tar.gz
```
Install it by executing the following commands.
```bash
mkdir -p ~/.local/share/kwin/effects
tar -xf burn_my_windows_kwin4.tar.gz -C ~/.local/share/kwin/effects
```
Then select the desired effects in the system settings under "Desktop Effects".
### c) Cloning the Latest Version with `git`
Execute the clone command below where you want to have the source code of the extension.
```bash
git clone https://github.com/Schneegans/Burn-My-Windows.git
cd Burn-My-Windows
```
Now you will have to build the effects and copy them to your KWin effect directory.
```bash
./kwin/build.sh
mkdir -p ~/.local/share/kwin/effects
tar -xf kwin/burn_my_windows_kwin4.tar.gz -C ~/.local/share/kwin/effects
```
That's it!
You can now select the desired effects in the system settings under "Desktop Effects".
## :octocat: I want to contribute! ## :octocat: I want to contribute!
That's great! That's great!
Here are some basic rulles to get you started: Most likely, you want to [create a new effect](docs/how-to-create-new-effects.md) or to [translate the extension](https://hosted.weblate.org/engage/burn-my-windows/)?
Here are some basic rules to get you started:
Commits should start with a Capital letter and should be written in present tense (e.g. __:tada: Add cool new feature__ instead of __:tada: Added cool new feature__). Commits should start with a Capital letter and should be written in present tense (e.g. __:tada: Add cool new feature__ instead of __:tada: Added cool new feature__).
You should also start your commit message with **one** applicable emoji. You should also start your commit message with **one** applicable emoji.
This does not only look great but also makes you rethink what to add to a commit. Make many but small commits! This does not only look great but also makes you rethink what to add to a commit. Make many but small commits!
@@ -95,4 +284,4 @@ Emoji | Description
:heavy_check_mark: `:heavy_check_mark:` | When you worked on checks or adjusted the code to be compliant with them. :heavy_check_mark: `:heavy_check_mark:` | When you worked on checks or adjusted the code to be compliant with them.
:twisted_rightwards_arrows: `:twisted_rightwards_arrows:` | When you merged a branch. :twisted_rightwards_arrows: `:twisted_rightwards_arrows:` | When you merged a branch.
:fire: `:fire:` | When you removed something. :fire: `:fire:` | When you removed something.
:truck: `:truck:` | When you moved / renamed something. :truck: `:truck:` | When you moved / renamed something.
+20
View File
@@ -0,0 +1,20 @@
# `claws.blend`
This is the source file for `resources/img/claws.png`. To generate the image, the animation in `claws.blend` is rendered to 256 PNG files and then combined using this command:
```bash
convert *.png -average claws.png
```
# `brush.blend`
This is the source file for `resources/img/brush.png`. To generate the image, the four dynamic paint image sequences in `brush.blend` are baked to 256 PNG files each. They are then combined using these commands:
```bash
convert brush1/*.png -average brush1.png
convert brush2/*.png -average brush2.png
convert brush3/*.png -average brush3.png
convert brush4/*.png -average brush4.png
convert brush1.png brush2.png brush3.png brush4.png -channel RGBA -combine brush.png
```
+3795
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 968 KiB

Binary file not shown.
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+28265
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 2.1 MiB

+490 -13
View File
@@ -1,39 +1,516 @@
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: CC-BY-4.0
-->
# Changelog of the Burn-My-Windows Extension # Changelog of the Burn-My-Windows Extension
## [Burn My Window 4](https://github.com/schneegans/Burn-My-Windows/releases/tag/v4) ## [Burn My Windows 36](https://github.com/schneegans/Burn-My-Windows/releases/tag/v36)
**Release Date:** TBD
#### New Features
- Two convenience buttons have been added to the preferences dialog. One allows you to select all effects, the other one allows you to deselect all effects.
- A new main menu entry has been added which allows you to open the effect-profile directory. This is useful if you want to back up or share your profiles with others.
#### Bug Fixes
- Some effects (Fire, Incinerate, Energize A, Energize B) are faded towards the edges of the window. This used to look weird when the window is maximized. This has been fixed.
- On KDE, the animations are not applied to IntelliJ IDEs anymore. These IDEs use windows for their tooltips which do not set the WM class correctly. This caused the animations to be applied to the tooltips as well making them unusable. This is rather a workaround than a fix, but makes the effect usable again in conjunction with IntelliJ IDEs.
## [Burn My Windows 35](https://github.com/schneegans/Burn-My-Windows/releases/tag/v35)
**Release Date:** 2023-07-03
#### New Features
- **New Effect: Paint-Brush.** This effect paints or erases your windows with a thick paint brush.
## [Burn My Windows 34](https://github.com/schneegans/Burn-My-Windows/releases/tag/v34)
**Release Date:** 2023-09-06
#### Enhancements
- Added support for the new donation button on extensions.gnome.org.
- https://www.paypal.me/simonschneegans is now the default donation link for PayPal.
## [Burn My Windows 33](https://github.com/schneegans/Burn-My-Windows/releases/tag/v33)
**Release Date:** 2023-06-06
#### Enhancements
- When opening the preferences, a dialog is now shown occasionally to kindly ask for a donation. The dialog can be disabled once it has been shown for the first time.
- Several translations have been updated. Thanks to all the translators!
#### Bug Fixes
- Fixed an issue on GNOME 44.2 which caused the effects to look broken. It was caused by [this change](https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2650).
- Fixed an issue which prevented the settings of the Snap of Disintegration effect from being translatable.
## [Burn My Windows 32](https://github.com/schneegans/Burn-My-Windows/releases/tag/v32)
**Release Date:** 2023-05-22
#### Enhancements
- Several translations have been updated. Thanks to all the translators!
#### Bug Fixes
- Fixed an issue which caused corrupted windows on X11 GNOME 44 under very specific circumstances. This happened only on X11 and only when the window was resized before it was actually shown.
## [Burn My Windows 31](https://github.com/schneegans/Burn-My-Windows/releases/tag/v31)
**Release Date:** 2023-05-04
#### Enhancements
- Several translations have been updated. Thanks to all the translators!
#### Bug Fixes
- Fixed an issue which made windows invisible which did not set the `WM_CLASS` X11 property correctly.
- Fixed an issue which made window-picking of Wayland windows impossible on GNOME 44.
## [Burn My Windows 30](https://github.com/schneegans/Burn-My-Windows/releases/tag/v30)
**Release Date:** 2023-04-08
#### Bug Fixes
- Fixed yet another incompatibility with the [Compiz alike magic lamp effect](https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/).
## [Burn My Windows 29](https://github.com/schneegans/Burn-My-Windows/releases/tag/v29)
**Release Date:** 2023-04-08
#### Bug Fixes
- Fixed a regression which caused window-close animations not to shown in front of full-screen windows.
- Fixed an incompatibility with the [Compiz alike magic lamp effect](https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/).
## [Burn My Windows 28](https://github.com/schneegans/Burn-My-Windows/releases/tag/v28)
**Release Date:** 2023-04-06
#### Enhancements
- **New donation method: Ko-fi**. Follow me on Ko-fi to get the latest updates regarding my extensions: https://ko-fi.com/schneegans!
- All shaders are now compatible with OpenGL ES. Due to [this change in Mutter](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2672) the number of devices using OpenGL ES has significantly increased since GNOME 44. This change makes Burn-My-Windows working on those devices.
- It is now possible to create effects which do not have any settings at all.
#### Bug Fixes
- [This change in GNOME Shell](https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/7bd98f3f5fb7e0d1220646b8a4ee7073534a8e8f) prevented Burn-My-Windows from working if no hardware-acceleration was available on GNOME 44, including the Docker containers used for CI testing. Some severe refactoring was necessary to fix this issue.
- The tutorial on how to create new effects has been updated and should work again.
- Fixed an issue which caused effect-profile loading to fail whenever Burn-My-Windows was updated.
## [Burn My Windows 27](https://github.com/schneegans/Burn-My-Windows/releases/tag/v27)
**Release Date:** 2023-03-01
#### New Features
- **Effect Profiles:** It is now possible to create _effect profiles_. Each profile contains a different set of effect settings. You can choose for each profile under which circumstances it will be used. Currently, these constraints are supported:
- Application name
- Animation type (open close)
- Window type (normal, dialog)
- Desktop style (light, dark)
- Power mode (plugged-in, on battery)
- Power profile (power saver, balanced, performance)
This allows for a very detailed configuration of the extension. For instance, you can now...
- ... exclude specific applications from BMW effects
- ... select effects per-application
- ... use different configurations of the same effect for opening or closing windows
The extension will attempt to migrate your previous settings to the new effect profile system. Depending on your previous configuration, you may have now one or two profiles to start with, but you can add an arbitrary amount of profiles.
The effect profiles are available for all supported GNOME versions (that is GNOME 3.36, 3.38, 40, 41, 42, 43, and 44).
- **Wallpapers:** A set of AI-generated [wallpapers has released](https://github.com/Schneegans/ai-wallpapers). For each effect of Burn-My-Windows, there is one dedicated wallpaper. As a central theme, each wallpaper shows a window. In some cases, the window is actually burning!
- Initial support for GNOME 44.
#### Other Enhancements
- As part of the effect profile implementation, the libadwaita-inspired preferences dialog layout got back-ported to all other supported GNOME versions.
- A notification is now shown in the settings dialog whenever the extension got updated. It contains a link to this changelog.
- Many translation updates. Thanks to all the translators!
## [Burn My Windows 26](https://github.com/schneegans/Burn-My-Windows/releases/tag/v26)
**Release Date:** 2023-02-04
#### New Features
- **New Effect: TV-Glitch.** This effect combines the Glitch and the TV Effect into one. Credits go to [Kurt Wilson](https://github.com/Kurtoid) for this idea!
#### Other Enhancements
- On KDE, the effect configuration dialogs can now be translated. The translations for GNOME are re-used, so we already have many translations! This requires at least KWin 5.27 to be working.
- Many translation updates, including a completely new Japanese translation. Thanks to all the translators!
- The effect colors for the Glitch and TV Effect now support an alpha channel. With this you can control how much color gets mixed into the window color.
## [Burn My Windows 25](https://github.com/schneegans/Burn-My-Windows/releases/tag/v25)
**Release Date:** 2023-01-17
#### Bug Fixes
- Fixed an issue which prevented the extension from loading if `power-profiles-daemon` was masked.
## [Burn My Windows 24](https://github.com/schneegans/Burn-My-Windows/releases/tag/v24)
**Release Date:** 2023-01-14
#### New Features
- **New Effect: Glitch.** This effect applies some intentional graphics issues to your windows.
- There is a new option to disable the effects when power-save mode is active. This may not only help to reduce power consumption, but also help in situation where the window animation do not run fluently in power-save mode. This option requires the power-profiles daemon, so it should be available for GNOME Shell 41 and beyond.
#### Other Enhancements
- Many translation updates, including a completely new Indonesian translation. Thanks to all the translators!
- The menu button of the settings dialog has been moved to the left and now shows a heart instead of three dots.
- The about dialog now uses the `Adw.AboutWindow` if available.
#### Bug Fixes
- Fixed an issue which could lead to black artifacts for some effects (Fire, Incinerate, Matrix, Portal, T-Rex Attack, and Wisps).
## [Burn My Windows 23](https://github.com/schneegans/Burn-My-Windows/releases/tag/v23)
**Release Date:** 2022-12-23
#### New Features
- **New Effect: Portal.** This ridiculous effect teleports your windows from and to alternative dimensions. It may resemble the portal from a well-known cartoon series...
#### Other Enhancements
- Many translation updates. Thanks to all the translators!
## [Burn My Windows 22](https://github.com/schneegans/Burn-My-Windows/releases/tag/v22)
**Release Date:** 2022-11-09
#### New Features
- **New Effect: Glide.** A very subtle effect which simply fades the window and applies some 3D-like tilting and scaling. This effect is available on all support GNOME versions and on KDE.
#### Other Enhancements
- The settings dialog has been redesigned specifically for libadwaita. These changes are only available on GNOME 42 and GNOME 43.
- Many translation updates, including a completely new Romanian translation. Thanks to all the translators!
- The KWin port of Burn-My-Windows now uses `metadata.json` files instead of the deprecated `metadata.desktop` format.
- Burn-My-Windows now follows the [REUSE Specification](https://reuse.software/spec).
## [Burn My Windows 21](https://github.com/schneegans/Burn-My-Windows/releases/tag/v21)
**Release Date:** 2022-09-14
#### New Features
- Added support for GNOME 43.
#### Other Enhancements
- Several new translations have been added, including a Lithuanian, Ukrainian, Esperanto, Portuguese, Azerbaijani, and Hebrew translation. Also, many other translations received updates. Thanks to all the translators!
## [Burn My Windows 20](https://github.com/schneegans/Burn-My-Windows/releases/tag/v20)
**Release Date:** 2022-09-06
#### New Features
- **New Effect: Doom.** Melt your windows. Inspired by the legendary screen transitions of the original Doom.
- **New Effect: Pixelate.** Pixelate your windows and randomly hide pixels until the entire window is gone.
- **New Effect: Pixel Wheel.** This simple effect pixelates the window and hides the pixels in a wheel-like fashion.
- **New Effect: Pixel Wipe.** This effect pixelates the window and hides the pixels radially, starting from the pointer position.
#### Enhancements
- Under KWin, the effects now use the same names as in the KDE store.
- The continuous integration tests now use a fuzzy search for the images targets. This way, the test work again on X11 and Wayland.
- A new GitHub Actions workflow has been added which is executed whenever a commit message includes the `[generate-references]` tag. This workflow re-creates all reference images for the continuous integration test.
#### Bug Fixes
- Fixed a bug which caused the Incinerate Effect to sometimes not show up properly on KWin if the "Start at pointer position" option was enabled.
## [Burn My Windows 19](https://github.com/schneegans/Burn-My-Windows/releases/tag/v19)
**Release Date:** 2022-08-18
#### New Features
- The incinerate effect now uses the current mouse pointer position as starting position of the burn effect. The old random behaviour can be enabled in the settings. This works both on GNOME and KDE.
#### Enhancements
- Many translation updates, including a completely new Portuguese, Esperanto, and Hebrew translation. A BIG THANKS to all translators!
- On GNOME, effects can now execute code whenever an animation ended. This is useful for cleaning up resources.
- The KWin build script now generates a separate archive for each effect as well as a combined archive for all effects.
#### Fixes
- Fixed the effect configuration dialog of the Fire effect on KDE.
## [Burn My Windows 18](https://github.com/schneegans/Burn-My-Windows/releases/tag/v18)
**Release Date:** 2022-06-30
#### Fixes
- The GNOME extension package now does not include the KWin JavaScript files anymore.
## [Burn My Windows 17](https://github.com/schneegans/Burn-My-Windows/releases/tag/v17)
**Release Date:** 2022-06-30
#### New Features
- **New Effect: Incinerate.** This is a completely new take on the fire effect. It is a bit more demanding in terms of GPU power, but at the same time it looks much more awesome!
- **Initial KDE Support.** Thanks to the [awesome work](https://invent.kde.org/plasma/kwin/-/merge_requests/2227) of Martin Flöser, it has become possible to port some of its effects to KDE Plasma! For now, only the most simple effects can be ported, but hopefully this list can be improved in the future.
- An option has been added which allows to automatically disable all effects if running on battery power.
#### Enhancements
- Many translation updates, including a completely new Persian, Polish, and Slovak translation. A BIG THANKS to all translators!
- The shader include system has been simplified. There's now just one "common.glsl" which is automatically loaded into each shader.
## [Burn My Windows 16](https://github.com/schneegans/Burn-My-Windows/releases/tag/v16)
**Release Date:** 2022-05-21
#### Enhancements
- Many translation updates, including a completely new Arabic, Finnish, Korean, and Swedish translation. A BIG THANKS to all translators!
- The shaders are now aware of the actual window size (e.g. excluding the area where the shadow is drawn). For instance, this **fixes the drawing of the effects outside the window bounds** for `libadwaita` apps.
- Refactored how the size and opacity transitions of the window actors are set up. Effects can now only specify a desired actor scale which will not change during the animation. All dynamic scaling and fading must be implemented in the shaders now.
- The standard uniforms of all shaders have been updated: The window size is now passed as a `vec2` and there is a new `bool uForOpening` which is set to `true` if a window-open animation is ongoing, to `false` otherwise.
#### Bug Fixes
- **Fixed a major memory leak**. Now, shaders are not re-created anymore whenever a window is opened or closed. Instead, previously created shaders are re-used as often as possible. This requires that all settings are set as uniform values (previously they were injected into the shader source) which in turn requires that `Shell.GLSLEffect` is used instead of `Clutter.ShaderEffect`. This change also requires that all shaders now work with straight instead of premultiplied alpha. Anyways, a lot needed to be refactored for this fix and I hope that it did not bring too many visual changes.
- Fixed the window-close animation of windows which were opened before the session was started (e.g. before GNOME Shell has been restarted).
- There seem to be cases were `libadwaita` is not available on GNOME 42 (e.g. Pop!\_OS 22.04 beta). The preferences dialog now tries to fallback to the GTK4-only variant if `libadwaita` is not available.
## [Burn My Windows 15](https://github.com/schneegans/Burn-My-Windows/releases/tag/v15)
**Release Date:** 2022-04-06
#### New Features
- **New Effect: Apparition.** This effect hides the window by violently sucking it into the void of magic. This is available only for GNOME Shell 3.38 and newer.
- **New Effect: Hexagon.** With glowing lines and hexagon-shaped tiles, this effect looks very sci-fi. This is available for GNOME Shell 3.36 and newer.
- **New Effect: Snap of Disintegration.** This was requested quite frequently! Dissolve your windows into a cloud of dust. This is available only for GNOME Shell 40 and newer.
#### Bug Fixes
- Disabled the buggy "Shatter from pointer" option of the Broken Glass effect when opening windows (it only makes sense for closing windows).
## [Burn My Windows 14](https://github.com/schneegans/Burn-My-Windows/releases/tag/v14)
**Release Date:** 2022-03-29
#### Enhancements
- Reduced the lower animation time limits for all effects to 100 ms. This should now allow for very snappy animations!
- A completely new Russian translation. Thank you, ANIGO R.!
#### Bug Fixes
- Fixed the version check for GNOME Shell `42.rc` (before it only worked on `42.alpha` and `42.beta`)
## [Burn My Windows 13](https://github.com/schneegans/Burn-My-Windows/releases/tag/v13)
**Release Date:** 2022-03-27
#### Enhancements
- The continuous integration tests have been significantly enhanced. Now, all window-open and window-close animations are visually tested on all supported GNOME versions and on X11 / Wayland (summing up to a total of 136 test cases).
- Many translation updates, including a completely new Turkish and Chinese translation. A BIG THANKS to all translators!
#### Other Changes
- Removed the Liberapay donation option as it does not work properly.
#### Bug Fixes
- Fixed the version check for GNOME Shell 42.
## [Burn My Windows 12](https://github.com/schneegans/Burn-My-Windows/releases/tag/v12)
**Release Date:** 2022-02-19
#### New Features
- Added initial support for GNOME Shell 42.
- The preferences dialog now uses libadwaita on GNOME Shell 42.
#### Enhancements
- Added [Liberapay](https://liberapay.com/Schneegans) to the sponsorship options.
## [Burn My Windows 11](https://github.com/schneegans/Burn-My-Windows/releases/tag/v11)
**Release Date:** 2022-02-03
#### New Features
- Added an about-dialog which shows all translators and sponsors.
#### Enhancements
- There are several new translations! Thanks a lot to all the translators! We now have translations for:
- German
- English
- Czech
- Dutch
- French
- Italian
- Norwegian Bokmål
- Spanish
- A new issue template for suggesting new effects has been added.
#### Fixes
- Fixed an issue which caused corrupted windows when trying to maximize windows while the window-open animation was still running (#82, #86, #91).
## [Burn My Windows 10](https://github.com/schneegans/Burn-My-Windows/releases/tag/v10)
**Release Date:** 2022-01-31
#### New Features
<a href="https://youtu.be/L2aaNF_rPHo"><img align="right" src ="pics/bmw10.jpg" /></a>
- **Effects for Window Opening.** You can now select effects which are applied on newly opened windows! I expect that there are some bugs left, so please [report any issue you find](https://github.com/Schneegans/Burn-My-Windows/issues)!
- **New Effect: Broken Glass.** Shatter your windows into a shower sharp shards! This effect can be configured so that the shards fly away from your mouse pointer position!
- **Preview Buttons** have been added to the effect-configuration pages of the preferences dialog. These can be used to, well, preview the current settings (without having to enable the effect first).
- **Translations!** It is now possible to [translate the preferences dialog](https://hosted.weblate.org/engage/burn-my-windows/). There is already a finished German translation, and in-progress translations to Italian and Norwegian Bokmål.
- **A "Vertical Overshooting" option** was added to the Matrix Effect: This can add some vertical variation to the start and end position of the letter drops.
#### Other Enhancements
- Added a menu entry with a link to the guide for creating new effect types.
- Thanks to improved timing, the default animation time of several effects could be reduced.
- The README now shows the current lines of code and the current comment percentage using my [dynamic-badges-action](https://github.com/Schneegans/dynamic-badges-action).
- **Add advanced CI tests:** For each commit to `main`, it is now tested whether the extension can be installed and if the preferences dialog can be shown on GNOME Shell 3.36, 3.38, 40, and 41. Both, X11 and Wayland are checked.
## [Burn My Windows 9](https://github.com/schneegans/Burn-My-Windows/releases/tag/v9)
**Release Date:** 2022-01-18
#### Fixes
- Improved compatibility with [Show Application View When Workspace Empty ](https://extensions.gnome.org/extension/2036/show-application-view-when-workspace-empty/) (#54).
- Fixed a crash which happened when the window-close icon in the overview was clicked twice (#49).
## [Burn My Windows 8](https://github.com/schneegans/Burn-My-Windows/releases/tag/v8)
**Release Date:** 2022-01-17
#### New Features
- **Random effects!** You can now select a set of effects of which one will be chosen randomly whenever you close a window. **This changes how effects are selected, so you will have to re-select your desired effect(s)**.
- **New Effect: Energize A.** Beam your windows away!
- **New Effect: Energize B.** Using different transporter technology results in an alternative visual effect.
- **New Effect: Wisps.** These little fairies carry your windows to the realm of dreams!
- Each effect has its own "Animation Time" setting now. The global animation time has been replaced by those, so **you may have to adjust the sliders to match your previous settings**.
#### Other Enhancements
- A [guide for creating new effects](how-to-create-new-effects.md) has been added.
- The source code has received a **major refactoring**. This will make the addition of new effects much easier in the future.
- The **layout of the settings dialog** has been reworked to make it easier to expand it in the future.
- The lower limit of the **animation time of the TV Effect** has been reduced.
- The T-Rex-Attack effect is not shown in fully transparent regions of a window any more.
- The shaders now use a different noise implementation which produces better 3D noise.
#### Fixes
- The extension now works even if GNOME Shell's animations are disabled globally.
## [Burn My Windows 7](https://github.com/schneegans/Burn-My-Windows/releases/tag/v7)
**Release Date:** 2022-01-03
#### New Features
- An option to use a 3D noise for the fire shader has been added. This will add some more temporal variation to the flames at the cost of slightly decreased rendering performance.
- A changelog entry has been added to the menu of the preferences dialog.
#### Fixes
- Resolve copyright issues by using a MIT-licensed noise implementation.
## [Burn My Windows 6](https://github.com/schneegans/Burn-My-Windows/releases/tag/v6)
**Release Date:** 2022-01-02
#### Fixes
- Removed a debug log message.
## [Burn My Windows 5](https://github.com/schneegans/Burn-My-Windows/releases/tag/v5)
**Release Date:** 2022-01-02
#### New Features
- Added a new ridiculous close-animation: the T-Rex-Attack!
- Added a new simple close-animation: the TV-Effect!
- Added a menu to the preferences dialog with links for bug reporting and donations.
#### Other Enhancements
- The fire shader now uses a `smoothstep` to make it less blocky.
#### Bug Fixes
- Fixed a bug which messed up the overview of GNOME Shell 3.36.
## [Burn My Windows 4](https://github.com/schneegans/Burn-My-Windows/releases/tag/v4)
**Release Date:** 2021-12-25 **Release Date:** 2021-12-25
#### New Features #### New Features
* Added a new Matrix shader which dissolves your windows in a shower of green letters. You can switch between the fire and the matrix shader in the settings. Sadly, this effect cannot be available under GNOME 3.3x as it was apparently impossible to set textures for a `Clutter.ShaderEffect` in GJS back then. - Added a new Matrix shader which dissolves your windows in a shower of green letters. You can switch between the fire and the matrix shader in the settings. Sadly, this effect cannot be available under GNOME 3.3x as it was apparently impossible to set textures for a `Clutter.ShaderEffect` in GJS back then.
* Added a setting to apply the animation also for closing dialog windows. - Added a setting to apply the animation also for closing dialog windows.
#### Other Enhancements #### Other Enhancements
* Refactored the code a lot to make it easier to add new shader effects in the future. - Refactored the code a lot to make it easier to add new shader effects in the future.
* Tweaked timing of the fire shader. Previously, the fire became invisible quite quickly. Due to this new animation timing, the default animation time has been reduced to 1500 ms. - Tweaked timing of the fire shader. Previously, the fire became invisible quite quickly. Due to this new animation timing, the default animation time has been reduced to 1500 ms.
## [Burn My Window 3](https://github.com/schneegans/Burn-My-Windows/releases/tag/v3) ## [Burn My Windows 3](https://github.com/schneegans/Burn-My-Windows/releases/tag/v3)
**Release Date:** 2021-12-20 **Release Date:** 2021-12-20
#### New Features #### New Features
* Add support for GNOME 3.36 and GNOME 3.38. - Add support for GNOME 3.36 and GNOME 3.38.
## [Burn My Window 2](https://github.com/schneegans/Burn-My-Windows/releases/tag/v2) ## [Burn My Windows 2](https://github.com/schneegans/Burn-My-Windows/releases/tag/v2)
**Release Date:** 2021-12-16 **Release Date:** 2021-12-16
#### New Features #### New Features
* Added the possibility to adjust fire colors. - Added the possibility to adjust fire colors.
* Added the possibility to adjust flame speed and scale. - Added the possibility to adjust flame speed and scale.
* Added some fire presets. - Added some fire presets.
## [Burn My Window 1](https://github.com/schneegans/Burn-My-Windows/releases/tag/v1) ## [Burn My Windows 1](https://github.com/schneegans/Burn-My-Windows/releases/tag/v1)
**Release Date:** 2021-12-14 **Release Date:** 2021-12-14
* Initial publication on GitHub supporting GNOME 40 and GNOME 41. - Initial publication on GitHub supporting GNOME 40 and GNOME 41.
+654
View File
@@ -0,0 +1,654 @@
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: CC-BY-4.0
-->
# 🔥 Creating a new Effect for Burn-My-Windows
The extension is very modular and with a bit of creativity and GLSL knowledge, you can easily create your own effects.
If you are happy with your results, please open a pull request so that we can include your effect in the next version of Burn-My-Windows!
_:warning: For now, this guide is only for GNOME Shell (and not for KWin). As soon as the API for KWin is more stable, this guide will be updated._
### Before you Start
First you should [fork the repository](https://github.com/Schneegans/Burn-My-Windows/fork) and clone it to your PC.
Afterwards, use a terminal in the directory of the cloned repository to install the extension.
```bash
make install
```
_:information_source: Whenever you changed something in the source code, you will have to call this command and restart GNOME Shell with <kbd>Alt</kbd> + <kbd>F2</kbd>, <kbd>r</kbd> + <kbd>Enter</kbd>.
Or logout / login if you are on Wayland to see the changes._
### Debugging
Debugging GNOME Shell extensions is a bit difficult.
Most of the time, you will print messages to a log in order to understand what is going on.
To make this a bit more convenient, Burn-My-Windows includes the method `utils.debug("Hello World")`.
With this, each line will be prefixed with the extension's name, which will make spotting log messages more easy. You can use the following command to watch the log output; it will highlight all messages from Burn-My-Windows:
```bash
journalctl -f -o cat | grep -E 'burn-my-windows|'
```
## Adding a new Effect
For the sake of this tutorial, we will create a **"Simple Fade"** effect.
Of course, you can replace any occurrence of this name and its nick `simple-fade` with your custom effect name.
Three simple steps are required to create a new effect.
You will have to ...
1. add preferences keys for enabling the effect,
2. create an additional effects class, and finally
3. register the new effect in two places.
### 1. Expanding the Schema
For enabling the new effect, the boolean settings keys `simple-fade-enable-effect` and `simple-fade-animation-time` are required.
In this example, we also add a floating point value for storing another property of the effect - we will use them later in the tutorial.
Just copy the XML code below to the file [`schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml`](../schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml).
Just remember to replace `simple-fade` with your custom name!
```xml
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Simple Fade Effect Options -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<key name="simple-fade-enable-effect" type="b">
<default>false</default>
<summary>Simple Fade Enable Effect</summary>
<description>Use the Simple Fade effect.</description>
</key>
<key name="simple-fade-animation-time" type="i">
<default>1500</default>
<summary>Simple Fade Animation Time</summary>
<description>The time the Simple Fade effect takes.</description>
</key>
<key name="simple-fade-width" type="d">
<default>0.1</default>
<summary>Simple Fade Width</summary>
<description>Width of the fading effect.</description>
</key>
```
### 2. Creating the Effect Class
You will have to create a new GLSL file called `resources/shaders/simple-fade.frag` and a new JavaScript source file called `src/effects/SimpleFade.js`.
Simply paste the following source code to the respective file.
Please study this code carefully, all of it is explained with inline comments.
<details>
<summary>Expand this to show the GLSL code.</summary>
```glsl
//////////////////////////////////////////////////////////////////////////////////////////
// ) ( //
// ( /( ( ( ) ( ( ( ( )\ ) ( ( //
// )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( //
// ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ //
// | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) //
// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
// |__/ //
//////////////////////////////////////////////////////////////////////////////////////////
// SPDX-FileCopyrightText: Your Name <your@email.com>
// SPDX-License-Identifier: GPL-3.0-or-later
// The content from common.glsl is automatically prepended to each shader effect. This
// provides the standard input:
// vec2 iTexCoord: Texture coordinates for retrieving the window input color.
// bool uForOpening: True if a window-open animation is ongoing, false otherwise.
// float uProgress: A value which transitions from 0 to 1 during the animation.
// float uDuration: The duration of the current animation in seconds.
// vec2 uSize: The size of uTexture in pixels.
// float uPadding: The empty area around the actual window (e.g. where the shadow
// is drawn). For now, this will only be set on GNOME.
// Furthermore, there are two global methods for reading the window input color and
// setting the shader output color. Both methods assume straight alpha:
// vec4 getInputColor(vec2 coords)
// void setOutputColor(vec4 outColor)
// The width of the fading effect is loaded from the settings.
uniform float uFadeWidth;
void main() {
// Get the color from the window texture.
vec4 oColor = getInputColor(iTexCoord.st);
// Radial distance from window edge to the window's center.
float dist = length(iTexCoord.st - 0.5) * 2.0 / sqrt(2.0);
// This gradually dissolves from [1..0] from the outside to the center. We
// switch the direction for opening and closing.
float progress = uForOpening ? 1.0 - uProgress : uProgress;
float mask = (1.0 - progress * (1.0 + uFadeWidth) - dist + uFadeWidth) / uFadeWidth;
// Make the mask smoother.
mask = smoothstep(0, 1, mask);
// Apply the mask to the output.
oColor.a *= mask;
setOutputColor(oColor);
}
```
</details>
<details>
<summary>Expand this to show the JavaScript code.</summary>
```javascript
//////////////////////////////////////////////////////////////////////////////////////////
// ) ( //
// ( /( ( ( ) ( ( ( ( )\ ) ( ( //
// )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( //
// ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ //
// | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) //
// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
// |__/ //
//////////////////////////////////////////////////////////////////////////////////////////
// SPDX-FileCopyrightText: Your Name <your@email.com>
// SPDX-License-Identifier: GPL-3.0-or-later
'use strict';
const GObject = imports.gi.GObject;
const _ = imports.gettext.domain('burn-my-windows').gettext;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = imports.misc.extensionUtils.getCurrentExtension();
const utils = Me.imports.src.utils;
const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory;
//////////////////////////////////////////////////////////////////////////////////////////
// This effect ... //
// <- Please add a description of your effect here -> //
//////////////////////////////////////////////////////////////////////////////////////////
// The effect class can be used to get some metadata (like the effect's name or supported
// GNOME Shell versions), to initialize the respective page of the settings dialog, as
// well as to create the actual shader for the effect.
var SimpleFade = class {
// The constructor creates a ShaderFactory which will be used by extension.js to create
// shader instances for this effect. The shaders will be automagically created using the
// GLSL file in resources/shaders/<nick>.glsl. The callback will be called for each
// newly created shader instance.
constructor() {
this.shaderFactory = new ShaderFactory(this.getNick(), (shader) => {
// Store uniform locations of newly created shaders.
shader._uFadeWidth = shader.get_uniform_location('uFadeWidth');
// Write all uniform values at the start of each animation.
shader.connect('begin-animation', (shader, settings) => {
shader.set_uniform_float(shader._uFadeWidth, 1, [settings.get_double('simple-fade-width')]);
});
});
}
// ---------------------------------------------------------------------------- metadata
// The effect is available on all GNOME Shell versions supported by this extension.
getMinShellVersion() {
return [3, 36];
}
// This will be called in various places where a unique identifier for this effect is
// required. It should match the prefix of the settings keys which store whether the
// effect is enabled currently (e.g. '*-enable-effect'), and its animation time
// (e.g. '*-animation-time'). Also, the shader file and the settings UI files should be
// named likes this.
getNick() {
return 'simple-fade';
}
// This will be shown in the sidebar of the preferences dialog as well as in the
// drop-down menus where the user can choose the effect.
getLabel() {
return _('Simple Fade Effect');
}
// -------------------------------------------------------------------- API for prefs.js
// This is called by the preferences dialog whenever a new effect profile is loaded. It
// binds all user interface elements to the respective settings keys of the profile.
bindPreferences(dialog) {
// Empty for now... Code is added here later in the tutorial!
}
// ---------------------------------------------------------------- API for extension.js
// The getActorScale() is called from extension.js to adjust the actor's size during the
// animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+.
getActorScale(settings) {
return {x: 1.0, y: 1.0};
}
}
```
</details>
### 3. Registering the new Effect
You will have to register the new effect in two files.
Both, [`extension.js`](../extension.js) and [`prefs.js`](../prefs.js) define an array in the beginning where you have to add an import to your new effect.
Like this:
```javascript
const ALL_EFFECTS = [
...
new Me.imports.src.effects.SimpleFade.SimpleFade(),
...
];
```
### Testing your Effect
Now you can call `make install` and restart GNOME Shell with <kbd>Alt</kbd> + <kbd>F2</kbd>, <kbd>r</kbd> + <kbd>Enter</kbd>.
Or logout / login if you are on Wayland.
You can open the extension's preferences and choose the new effect!
However, there are no configuration options yet.
It is also not possible to adjust the animation time setting.
```bash
gnome-extensions prefs burn-my-windows@schneegans.github.com
```
## Adding a Preferences Page
There should be two sliders in this example: The animation duration and the width of the fading gradient.
If your effect supports GNOME Shell 3.3x _and_ GNOME Shell 40+, you will have to provide three `*.ui` files for this.
This is because starting with GNOME Shell 40, the preference dialog uses GTK4, before it used to use GTK3.
Starting with GNOME Shell 42, it uses `libadwaita` which requires different UI files again.
_:information_source: If you do not have the means to test your effect on different versions of GNOME, feel free to submit a pull request for one GNOME version only, I may then port your effect to other GNOME versions!_
Just save the code below to `resources/ui/gtk3/simple-fade.ui`, `resources/ui/gtk4/simple-fade.ui`, and `resources/ui/adw/simple-fade.ui` respectively.
Remember to replace any occurrence of `simple-fade` with your effect's nick-name!
<details>
<summary>Expand this to show the GTK3 code.</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Your Name <your@email.com>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface domain="burn-my-windows">
<object class="GtkAdjustment" id="simple-fade-animation-time">
<property name="upper">5000</property>
<property name="lower">100</property>
<property name="step-increment">10</property>
<property name="page-increment">100</property>
</object>
<object class="GtkAdjustment" id="simple-fade-width">
<property name="upper">1</property>
<property name="lower">0</property>
<property name="step-increment">0.01</property>
<property name="page-increment">0.1</property>
</object>
<object class="GtkRevealer" id="simple-fade-prefs">
<child>
<object class="GtkListBox">
<property name="selection-mode">none</property>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Animation Time [ms]</property>
<property name="xalign">0</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="hexpand">1</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="halign">end</property>
<property name="valign">center</property>
<property name="draw-value">1</property>
<property name="digits">0</property>
<property name="value-pos">left</property>
<property name="width-request">300</property>
<property name="adjustment">simple-fade-animation-time</property>
</object>
</child>
<child>
<object class="GtkButton" id="reset-simple-fade-animation-time">
<child>
<object class="GtkImage">
<property name="icon-name">edit-clear-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
<property name="tooltip-text" translatable="yes">Reset to Default Value</property>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Fade Width</property>
<property name="xalign">0</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="hexpand">1</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="halign">end</property>
<property name="valign">center</property>
<property name="draw-value">1</property>
<property name="digits">2</property>
<property name="value-pos">left</property>
<property name="width-request">300</property>
<property name="adjustment">simple-fade-width</property>
</object>
</child>
<child>
<object class="GtkButton" id="reset-simple-fade-width">
<child>
<object class="GtkImage">
<property name="icon-name">edit-clear-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
<property name="tooltip-text" translatable="yes">Reset to Default Value</property>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
```
</details>
<details>
<summary>Expand this to show the GTK4 code.</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Your Name <your@email.com>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface domain="burn-my-windows">
<object class="GtkAdjustment" id="simple-fade-animation-time">
<property name="upper">5000</property>
<property name="lower">100</property>
<property name="step-increment">10</property>
<property name="page-increment">100</property>
</object>
<object class="GtkAdjustment" id="simple-fade-width">
<property name="upper">1</property>
<property name="lower">0</property>
<property name="step-increment">0.01</property>
<property name="page-increment">0.1</property>
</object>
<object class="GtkRevealer" id="simple-fade-prefs">
<child>
<object class="GtkListBox">
<property name="selection-mode">none</property>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Animation Time [ms]</property>
<property name="xalign">0</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="hexpand">1</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="halign">end</property>
<property name="valign">center</property>
<property name="draw-value">1</property>
<property name="digits">0</property>
<property name="value-pos">left</property>
<property name="width-request">300</property>
<property name="adjustment">simple-fade-animation-time</property>
</object>
</child>
<child>
<object class="GtkButton" id="reset-simple-fade-animation-time">
<property name="icon-name">edit-clear-symbolic</property>
<property name="tooltip-text" translatable="yes">Reset to Default Value</property>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Fade Width</property>
<property name="xalign">0</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="hexpand">1</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="halign">end</property>
<property name="valign">center</property>
<property name="draw-value">1</property>
<property name="digits">2</property>
<property name="value-pos">left</property>
<property name="width-request">300</property>
<property name="adjustment">simple-fade-width</property>
</object>
</child>
<child>
<object class="GtkButton" id="reset-simple-fade-width">
<property name="icon-name">edit-clear-symbolic</property>
<property name="tooltip-text" translatable="yes">Reset to Default Value</property>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
```
</details>
<details>
<summary>Expand this to show the libadwaita code.</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Your Name <your@email.com>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface domain="burn-my-windows">
<object class="GtkAdjustment" id="simple-fade-animation-time">
<property name="upper">5000</property>
<property name="lower">100</property>
<property name="step-increment">10</property>
<property name="page-increment">100</property>
</object>
<object class="GtkAdjustment" id="simple-fade-width">
<property name="upper">1</property>
<property name="lower">0</property>
<property name="step-increment">0.01</property>
<property name="page-increment">0.1</property>
</object>
<object class="AdwExpanderRow" id="simple-fade-prefs">
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Animation Time [ms]</property>
<child>
<object class="GtkScale">
<property name="valign">center</property>
<property name="draw-value">1</property>
<property name="digits">0</property>
<property name="value-pos">left</property>
<property name="width-request">300</property>
<property name="adjustment">simple-fade-animation-time</property>
</object>
</child>
<child>
<object class="GtkButton" id="reset-simple-fade-animation-time">
<property name="icon-name">edit-clear-symbolic</property>
<property name="valign">center</property>
<property name="tooltip-text" translatable="yes">Reset to Default Value</property>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Fade Width</property>
<child>
<object class="GtkScale">
<property name="valign">center</property>
<property name="draw-value">1</property>
<property name="digits">2</property>
<property name="value-pos">left</property>
<property name="width-request">300</property>
<property name="adjustment">simple-fade-width</property>
</object>
</child>
<child>
<object class="GtkButton" id="reset-simple-fade-width">
<property name="icon-name">edit-clear-symbolic</property>
<property name="valign">center</property>
<property name="tooltip-text" translatable="yes">Reset to Default Value</property>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
</object>
</interface>
```
</details>
### Loading the Preferences Page
In order to load the above `*.ui` files, add the following code to your effect's `bindPreferences()` method.
```javascript
bindPreferences(dialog) {
// These connect the settings to the UI elements. Have a look at prefs.js
// on how to bind other types of UI elements.
dialog.bindAdjustment('simple-fade-animation-time');
dialog.bindAdjustment('simple-fade-width');
}
```
Once this is in place, you can kill the extension-preferences process and re-open the settings.
It is not required to reload GNOME Shell for developing the preferences dialog!
Here's a handy one-liner to do this:
```bash
make install && pkill -f '.Extensions' && sleep 2 ; gnome-extensions prefs burn-my-windows@schneegans.github.com
```
## Summing Up
That's it!
If you have any questions, feel free to [ask them on the discussions board](https://github.com/Schneegans/Burn-My-Windows/discussions).
If you are happy with your effect, submit a pull request, and it may get included in the next version!
+7
View File
@@ -0,0 +1,7 @@
# Preview GIFs
The preview GIFs are recorded with OBS Studio at 1920x1080, cut to a length of exactly two seconds and converted to a GIF with the following command:
```bash
gifski --fps 30 -W 320 -H 180 -o effect.gif effect.mp4
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 KiB

+556 -120
View File
@@ -7,29 +7,41 @@
// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< // // | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ // // |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
// |__/ // // |__/ //
// Copyright (c) 2021 Simon Schneegans //
// Released under the GPLv3 or later. See LICENSE file for details. //
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
'use strict'; 'use strict';
const {Clutter, Gio, Meta} = imports.gi; const {Clutter, Gio, Meta} = imports.gi;
const Workspace = imports.ui.workspace.Workspace; const Main = imports.ui.main;
const WindowManager = imports.ui.windowManager.WindowManager; const Workspace = imports.ui.workspace.Workspace;
const WINDOW_REPOSITIONING_DELAY = imports.ui.workspace.WINDOW_REPOSITIONING_DELAY; const WindowManager = imports.ui.windowManager.WindowManager;
// The WindowPreview class is only available on GNOME Shell 3.38+;
let WindowPreview = null;
try {
WindowPreview = imports.ui.windowPreview.WindowPreview;
} catch (error) {
// Nothing to be done, we are on GNOME Shell 3.36.
}
const ExtensionUtils = imports.misc.extensionUtils; const ExtensionUtils = imports.misc.extensionUtils;
const Me = imports.misc.extensionUtils.getCurrentExtension(); const Me = imports.misc.extensionUtils.getCurrentExtension();
const utils = Me.imports.src.common.utils; const migrate = Me.imports.src.migrate;
const FireShader = Me.imports.src.extension.FireShader.FireShader; const utils = Me.imports.src.utils;
const MatrixShader = Me.imports.src.extension.MatrixShader.MatrixShader; const ProfileManager = Me.imports.src.ProfileManager.ProfileManager;
const WindowPicker = Me.imports.src.WindowPicker.WindowPicker;
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
// This extensions modifies the window-close animation to look like the window was set // // This extensions modifies the window-close and window-open animations with all kinds //
// on fire. While this is definitely a homage to the good old Compiz plugin, it is // // of effects. The effects are implemented using GLSL shaders which are applied to the //
// implemented differently. While Compiz used a particle system, this extension uses a // // window's Clutter.Actor. The extension is actually very simple, much of the //
// perlin noise shader. // // complexity comes from the fact that GNOME Shell usually does not show an animation //
// when a window is closed in the overview. Several methods need to be monkey-patched //
// to get this working. For more details, read the other comments in this file... //
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
class Extension { class Extension {
@@ -40,6 +52,32 @@ class Extension {
// from GNOME Tweaks, when you log in or when the screen is unlocked. // from GNOME Tweaks, when you log in or when the screen is unlocked.
enable() { enable() {
// New effects must be registered here and in prefs.js.
this._ALL_EFFECTS = [
new Me.imports.src.effects.Apparition.Apparition(),
new Me.imports.src.effects.BrokenGlass.BrokenGlass(),
new Me.imports.src.effects.Doom.Doom(),
new Me.imports.src.effects.EnergizeA.EnergizeA(),
new Me.imports.src.effects.EnergizeB.EnergizeB(),
new Me.imports.src.effects.Fire.Fire(),
new Me.imports.src.effects.Glide.Glide(),
new Me.imports.src.effects.Glitch.Glitch(),
new Me.imports.src.effects.Hexagon.Hexagon(),
new Me.imports.src.effects.Incinerate.Incinerate(),
new Me.imports.src.effects.MagicLamp.MagicLamp(),
new Me.imports.src.effects.Matrix.Matrix(),
new Me.imports.src.effects.PaintBrush.PaintBrush(),
new Me.imports.src.effects.Pixelate.Pixelate(),
new Me.imports.src.effects.PixelWheel.PixelWheel(),
new Me.imports.src.effects.PixelWipe.PixelWipe(),
new Me.imports.src.effects.Portal.Portal(),
new Me.imports.src.effects.SnapOfDisintegration.SnapOfDisintegration(),
new Me.imports.src.effects.TRexAttack.TRexAttack(),
new Me.imports.src.effects.TVEffect.TVEffect(),
new Me.imports.src.effects.TVGlitch.TVGlitch(),
new Me.imports.src.effects.Wisps.Wisps(),
];
// Load all of our resources. // Load all of our resources.
this._resources = Gio.Resource.load(Me.path + '/resources/burn-my-windows.gresource'); this._resources = Gio.Resource.load(Me.path + '/resources/burn-my-windows.gresource');
Gio.resources_register(this._resources); Gio.resources_register(this._resources);
@@ -47,151 +85,549 @@ class Extension {
// Store a reference to the settings object. // Store a reference to the settings object.
this._settings = ExtensionUtils.getSettings(); this._settings = ExtensionUtils.getSettings();
// We will monkey-patch these three methods. Let's store the original ones. // Now we check whether the extension settings need to be migrated from a previous
this._origWindowRemoved = Workspace.prototype._windowRemoved; // version. If this is the case, we defer the profile loading until this is finished.
this._origDoRemoveWindow = Workspace.prototype._doRemoveWindow; const lastVersion = this._settings.get_int('last-extension-version');
this._origShouldAnimateActor = WindowManager.prototype._shouldAnimateActor; if (lastVersion < Me.metadata.version) {
if (lastVersion <= 26) {
// If the profile migration fails for some reason, the callback will create a
// default profile instead.
migrate.fromVersion26().finally(() => {
this._loadProfiles();
this._settings.set_int('last-extension-version', Me.metadata.version);
});
} else {
this._loadProfiles();
}
// We may also override these animation times. } else {
this._origWindowTime = imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME; this._loadProfiles();
this._origDialogTime = imports.ui.windowManager.DIALOG_DESTROY_WINDOW_ANIMATION_TIME; }
// Update animation times if the respective settings are changed. // We reload all effect profiles whenever the currently edited profile in the
const loadAnimationTimes = () => { // preferences dialog changes. This is most likely a bit too often, but it will also
imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME = // happen whenever a new profile is created and whenever an old profile is deleted.
this._settings.get_int('destroy-animation-time'); this._settings.connect('changed::active-profile', () => {
this._loadProfiles();
});
imports.ui.windowManager.DIALOG_DESTROY_WINDOW_ANIMATION_TIME = // This is used to get the desktop's color scheme.
this._settings.get_boolean('destroy-dialogs') ? this._shellSettings = new Gio.Settings({schema: 'org.gnome.desktop.interface'});
this._settings.get_int('destroy-animation-time') :
this._origDialogTime;
};
this._settings.connect('changed::destroy-animation-time', loadAnimationTimes); // Enable the window-picking D-Bus API for the preferences dialog.
this._settings.connect('changed::destroy-dialogs', loadAnimationTimes); this._windowPicker = new WindowPicker();
loadAnimationTimes(); this._windowPicker.export();
// We will use extensionThis to refer to the extension inside the patched methods of // We will use extensionThis to refer to the extension inside the patched methods.
// the WorkspacesView.
const extensionThis = this; const extensionThis = this;
// These three method overrides are mega-hacky! They are only required to make the // This is used to get the battery state.
// fire animation work in the overview. Usually, windows are not faded when closed const UPowerProxy = Gio.DBusProxy.makeProxyWrapper(
// from the overview (why?). With these overrides we make sure that they are actually utils.getStringResource('/interfaces/org.freedesktop.UPower.xml'));
// faded out. To do this, _windowRemoved and _doRemoveWindow now check whether there this._upowerProxy = new UPowerProxy(Gio.DBus.system, 'org.freedesktop.UPower',
// is a transition ongoing (via extensionThis._shouldDestroy). If that's the case, '/org/freedesktop/UPower');
// these methods do nothing. Are the actors removed in the end? I hope so. The
// _destroyWindow of the WindowManager sets the transitions up and should take care of // This is used to get the current power profile.
// removing the actors at the end of the transitions. try {
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1299 const PowerProfilesProxy = Gio.DBusProxy.makeProxyWrapper(
utils.getStringResource('/interfaces/net.hadess.PowerProfiles.xml'));
this._powerProfilesProxy = new PowerProfilesProxy(
Gio.DBus.system, 'net.hadess.PowerProfiles', '/net/hadess/PowerProfiles');
} catch (e) {
// Maybe the service is masked...
}
// We will monkey-patch these methods. Let's store the original ones.
this._origShouldAnimateActor = Main.wm._shouldAnimateActor;
this._origWaitForOverviewToHide = Main.wm._waitForOverviewToHide;
this._origAddWindowClone = Workspace.prototype._addWindowClone;
this._origWindowRemoved = Workspace.prototype._windowRemoved;
this._origDoRemoveWindow = Workspace.prototype._doRemoveWindow;
// ------------------------------- patching the window animations outside the overview
// If a window is created, the transitions are set up in the async _mapWindow() of the
// WindowManager:
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1436
// AFAIK, overriding this method is not possible as it's called by a signal to which
// it is bound via the bind() method. To tweak the async transition anyways, we
// override the actors ease() method once. We do this in _shouldAnimateActor() which
// is called right before the ease() in _mapWindow:
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1465
// The same trick is done for the window-close animation. This is set up in a similar
// fashion in the WindowManager's _destroyWindow():
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1525
// Here is _shouldAnimateActor() also called right before. So we use it again to
// monkey-patch the window actor's ease() once.
// We override WindowManager._shouldAnimateActor() also for another purpose: Usually,
// it returns false when we are in the overview. This prevents the window animations
// there. To enable animations in the overview, we check inside the method whether it
// was called by either _mapWindow or _destroyWindow. If so, we return true. Let's see
// if this breaks stuff left and right...
Main.wm._shouldAnimateActor = function(actor, types) {
const stack = (new Error()).stack;
const forClosing = stack.includes('_destroyWindow@');
const forOpening = stack.includes('_mapWindow@');
// This is also called in other cases, for instance when minimizing windows. We are
// only interested in window opening and window closing for now.
if (forClosing || forOpening) {
// If there is an applicable effect profile, we intercept the ease() method to
// setup our own effect.
const chosenEffect = extensionThis._chooseEffect(actor, forOpening);
if (chosenEffect) {
// Store the original ease() method of the actor.
const orig = actor.ease;
// Now intercept the next call to actor.ease().
actor.ease = function(...params) {
// There is a really weird issue in GNOME Shell 44: A few non-GTK windows are
// resized directly after they are mapped on X11. This happens for instance
// for keepassxc after it was closed in the maximized state. As the
// _mapWindow() method is called asynchronously, the window is not yet visible
// when the resize happens. Hence, our ease-override is called for the resize
// animation instead of the window-open or window-close animation. This is not
// what we want. So we check again whether the ease() call is for the
// window-open or window-close animation. If not, we just call the original
// ease() method. See also:
// https://github.com/Schneegans/Burn-My-Windows/issues/335
const stack = (new Error()).stack;
const forClosing = stack.includes('_destroyWindow@');
const forOpening = stack.includes('_mapWindow@');
if (forClosing || forOpening) {
// Quickly restore the original behavior. Nobody noticed, I guess :D
actor.ease = orig;
// And then create the effect!
extensionThis._setupEffect(actor, forOpening, chosenEffect.effect,
chosenEffect.profile);
} else {
orig.apply(this, params);
}
};
return true;
}
}
return extensionThis._origShouldAnimateActor.apply(this, [actor, types]);
};
// Make sure to remove any effects if requested by the window manager.
this._killEffectsSignal =
global.window_manager.connect('kill-window-effects', (wm, actor) => {
const shader = actor.get_effect('burn-my-windows-effect');
if (shader) {
shader.endAnimation();
}
});
// --------------------------------------------- fix window animations in the overview
// Some of the effects require that the window's actor is enlarged to provide a bigger
// canvas to draw the effects. Outside the overview we can simply increase the scale
// of the actor. However, if we are in the overview, we have to enlarge the clone of
// the window as well.
Workspace.prototype._addWindowClone = function(...params) {
const clone = extensionThis._origAddWindowClone.apply(this, params);
// The parameters of this method changed a bit through the versions...
let realWindow, container;
if (utils.shellVersionIs(3, 36)) {
container = clone[0];
realWindow = container.realWindow;
} else if (utils.shellVersionIs(3, 38)) {
container = clone._windowContainer;
realWindow = params[0].get_compositor_private();
} else {
container = clone.window_container;
realWindow = params[0].get_compositor_private();
}
// Store the overview clone as temporary members of the real window actor. When we
// set up the effect, we will check for the existence of these and enlarge the clone
// as needed.
realWindow._bmwOverviewClone = clone;
realWindow._bmwOverviewCloneContainer = container;
// Remove the temporary members again once the clone is deleted.
container.connect('destroy', () => {
delete realWindow._bmwOverviewClone;
delete realWindow._bmwOverviewCloneContainer;
});
// This is actually needed for the window-close animation on GNOME Shell 3.36.
// On GNOME 3.36, the window clone's 'destroy' handler only calls _removeWindowClone
// but not _doRemoveWindow. The latter is required to trigger the repositioning of
// the overview window layout. Therefore we call this method in addition.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/gnome-3-36/js/ui/workspace.js#L1877
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1363
if (utils.shellVersionIs(3, 36)) {
container.connect('destroy', () => this._doRemoveWindow(container.metaWindow));
}
return clone;
};
// Usually, windows are faded in after the overview is completely hidden. We enable
// window-open animations by not waiting for this.
Main.wm._waitForOverviewToHide = async function() {
return Promise.resolve();
};
// These three method overrides are mega-hacky! Usually, windows are not faded when
// closed from the overview (why?). With these overrides we make sure that they are
// actually faded out. To do this, _windowRemoved and _doRemoveWindow now check
// whether there is a transition ongoing (via extensionThis._shouldDestroy). If that's
// the case, these methods do nothing.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1258
Workspace.prototype._windowRemoved = function(ws, metaWin) { Workspace.prototype._windowRemoved = function(ws, metaWin) {
if (extensionThis._shouldDestroy(this, metaWin)) { if (extensionThis._shouldDestroy(this, metaWin)) {
extensionThis._origWindowRemoved.apply(this, [ws, metaWin]); extensionThis._origWindowRemoved.apply(this, [ws, metaWin]);
} }
}; };
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1178 // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1137
Workspace.prototype._doRemoveWindow = function(metaWin) { Workspace.prototype._doRemoveWindow = function(metaWin) {
if (extensionThis._shouldDestroy(this, metaWin)) { if (extensionThis._shouldDestroy(this, metaWin)) {
extensionThis._origDoRemoveWindow.apply(this, [metaWin]); extensionThis._origDoRemoveWindow.apply(this, [metaWin]);
} }
}; };
// Here comes the ULTRA-HACK: The method below is called (amongst others) by the // With the code below, we hide the window-overlay (icon, label, close button) in the
// _destroyWindow method of the WindowManager. Usually, it returns false when we are // overview once the close-animation is running. As the WindowPreview class is only
// in the overview. This prevents the window-close animation. As we cannot // available on GNOME 3.38 and beyond, we cannot hide the overlay on GNOME 3.36.
// monkey-patch the _destroyWindow method itself, we check inside the method below if (WindowPreview) {
// whether it was called by _destroyWindow. If so, we return true. Let's see if this
// breaks stuff left and right...
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1125
WindowManager.prototype._shouldAnimateActor = function(actor, types) {
if ((new Error()).stack.split('\n')[1].includes('_destroyWindow@')) {
return true;
}
return extensionThis._origShouldAnimateActor.apply(this, [actor, types]);
};
// The close animation is set up in WindowManager's _destroyWindow: // We will monkey-patch these methods.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1549 this._origDeleteAll = WindowPreview.prototype._deleteAll;
// As we cannot monkey-patch the _destroyWindow itself, we connect to the 'destroy' this._origRestack = WindowPreview.prototype._restack;
// signal of the window manager and tweak the animation to our needs. this._origInit = WindowPreview.prototype._init;
this._destroyConnection = global.window_manager.connect('destroy', (wm, actor) => {
// The _destroyWindow method of WindowManager, which was called right before this
// one, set up the window close animation. This usually fades-out the window and
// scales it a bit down. If no transition is in progress, something unexpected
// happened. We rather try not to burn the window!
const transition = actor.get_transition('scale-y');
if (!transition) {
return;
}
// We do nothing if a dialog got closed and we should not burn them. // Whenever a WindowPreview is created, we connect to the referenced Meta.Window's
if (!this._settings.get_boolean('destroy-dialogs') && // 'unmanaged' signal to hide the overlay.
(actor.meta_window.window_type == Meta.WindowType.MODAL_DIALOG || WindowPreview.prototype._init = function(...params) {
actor.meta_window.window_type == Meta.WindowType.DIALOG)) { extensionThis._origInit.apply(this, params);
return;
}
// If there's a transition in progress, we re-target these transitions so that the // Hide the window's icon, name, and close button.
// window is neither scaled nor faded. const connectionID = this.metaWindow.connect('unmanaged', () => {
const tweakTransition = (property, value) => { if (this.window_container) {
const transition = actor.get_transition(property); this.overlayEnabled = false;
if (transition) { this._icon.visible = false;
transition.set_to(value); }
transition.set_progress_mode(Clutter.AnimationMode.EASE_OUT_QUAD); });
// Make sure to not call the callback above if the Meta.Window was not unmanaged
// before leaving the overview.
this.connect('destroy', () => {
this.metaWindow.disconnect(connectionID);
});
};
// The _deleteAll is called when the user clicks the X in the overview. We should
// not attempt to close windows twice. Due to the animation in the overview, the
// close button can be clicked twice which normally would lead to a crash.
WindowPreview.prototype._deleteAll = function() {
if (!this._closeRequested) {
extensionThis._origDeleteAll.apply(this);
} }
}; };
tweakTransition('opacity', 255); // This is required, else WindowPreview's _restack() which is called by the
tweakTransition('scale-x', 1); // "this.overlayEnabled = false", sometimes tries to access an already delete
tweakTransition('scale-y', 1); // WindowPreview.
WindowPreview.prototype._restack = function() {
let shader = null; if (!this._closeRequested) {
extensionThis._origRestack.apply(this);
// Add a cool shader to our window actor! }
const mode = this._settings.get_enum('close-animation'); };
if (mode == 1) { }
shader = new FireShader(this._settings);
} else if (mode == 2) {
shader = new MatrixShader(this._settings);
}
if (shader) {
actor.add_effect(shader);
// Update uniforms at each frame.
transition.connect('new-frame', (t) => {
shader.set_uniform_value('uProgress', t.get_progress());
shader.set_uniform_value('uTime', 0.001 * t.get_elapsed_time());
shader.set_uniform_value('uSizeX', actor.width);
shader.set_uniform_value('uSizeY', actor.height);
});
}
});
} }
// This function could be called after the extension is uninstalled, disabled in GNOME // This function could be called after the extension is uninstalled, disabled in GNOME
// Tweaks, when you log out or when the screen locks. // Tweaks, when you log out or when the screen locks.
disable() { disable() {
// Free all effect resources.
this._ALL_EFFECTS = [];
// Unregister our resources. // Unregister our resources.
Gio.resources_unregister(this._resources); Gio.resources_unregister(this._resources);
// Restore the original behavior. // Disable the window-picking D-Bus API.
global.window_manager.disconnect(this._destroyConnection); this._windowPicker.unexport();
Workspace.prototype._windowRemoved = this._origWindowRemoved; global.window_manager.disconnect(this._killEffectsSignal);
Workspace.prototype._doRemoveWindow = this._origDoRemoveWindow;
WindowManager.prototype._shouldAnimateActor = this._origShouldAnimateActor;
imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME = this._origWindowTime; // Restore the original window-open and window-close animations.
imports.ui.windowManager.DIALOG_DESTROY_WINDOW_ANIMATION_TIME = this._origDialogTime; Workspace.prototype._addWindowClone = this._origAddWindowClone;
Workspace.prototype._windowRemoved = this._origWindowRemoved;
Workspace.prototype._doRemoveWindow = this._origDoRemoveWindow;
Main.wm._shouldAnimateActor = this._origShouldAnimateActor;
Main.wm._waitForOverviewToHide = this._origWaitForOverviewToHide;
if (WindowPreview) {
WindowPreview.prototype._deleteAll = this._origDeleteAll;
WindowPreview.prototype._restack = this._origRestack;
WindowPreview.prototype._init = this._origInit;
}
this._settings = null; this._settings = null;
} }
// ----------------------------------------------------------------------- private stuff // ----------------------------------------------------------------------- private stuff
// This loads all effect profiles and assigns a priority to each profile. Whenever a
// window is opened or closed, the matching effect profile with the highest priority
// will be chosen.
// This method is called whenever the currently edited profile in the/ preferences
// dialog changes. This is most likely a bit too often, but it will also happen whenever
// a new profile is created and whenever an old profile is deleted.
_loadProfiles() {
// Get all currently available profiles.
const profileManager = new ProfileManager();
this._profiles = profileManager.getProfiles();
// Whenever the properties of a profile is changed in the settings, we may have to
// resort all profiles according to their priority.
const updatePriority = (p) => {
p.priority = profileManager.getProfilePriority(p.settings);
this._profiles.sort((a, b) => b.priority - a.priority);
};
// For each profile, assign an initial priority and update the priority whenever a
// related setting changes.
this._profiles.forEach(p => {
p.priority = profileManager.getProfilePriority(p.settings);
p.settings.connect('changed::profile-app', () => updatePriority(p));
p.settings.connect('changed::profile-animation-type', () => updatePriority(p));
p.settings.connect('changed::profile-window-type', () => updatePriority(p));
p.settings.connect('changed::profile-color-scheme', () => updatePriority(p));
p.settings.connect('changed::profile-power-mode', () => updatePriority(p));
p.settings.connect('changed::profile-power-profile', () => updatePriority(p));
p.settings.connect('changed::profile-high-priority', () => updatePriority(p));
});
// Sort all profiles initially according to their initial priority.
this._profiles.sort((a, b) => b.priority - a.priority);
}
// This method selects an effect profile matching the current circumstances. Then a
// random effect from its enabled effects will be selected. It returns null if no
// profile is currently applicable.
_chooseEffect(actor, forOpening) {
// For now, we only add effects to normal windows and dialog windows.
const isNormalWindow = actor.meta_window.window_type == Meta.WindowType.NORMAL;
const isDialogWindow =
actor.meta_window.window_type == Meta.WindowType.MODAL_DIALOG ||
actor.meta_window.window_type == Meta.WindowType.DIALOG;
if (!isNormalWindow && !isDialogWindow) {
return null;
}
// ----------------------------------------------- choose a profile and then an effect
// Usually, we use the effect profile with the highest priority which matches the
// current circumstances. From this profile, we choose a random effect. However, if an
// effect is to be previewed, we choose the currently edited profile regardless of the
// circumstances.
let profile = null;
let effect = null;
// Hence, we first check if an effect is to be previewed.
const previewNick = this._settings.get_string('preview-effect');
if (previewNick != '') {
const activeProfile = this._settings.get_string('active-profile');
effect = this._ALL_EFFECTS.find(effect => effect.getNick() == previewNick);
profile = this._profiles.find(p => p.path == activeProfile);
// Only preview the effect until the preview window is closed.
if (!profile || !forOpening) {
this._settings.set_string('preview-effect', '');
}
}
// If no effect is previewed, we use the effect profile with the highest priority
// which matches the current circumstances. From this profile, we choose a random
// effect.
else {
// These numbers match the indices in the Gtk.StringLists defined in the UI files
// (e.g. resources/ui/adw/prefs.ui).
const animationType = forOpening ? 1 : 2;
const windowType = isNormalWindow ? 1 : 2;
const powerMode = this._upowerProxy.OnBattery ? 1 : 2;
// Get the first profile whose constraints match the circumstances. The list is
// sorted by priority, so we are good to take the first match.
profile = this._profiles.find(p => {
const profileApp = p.settings.get_string('profile-app');
const profileAnimationType = p.settings.get_int('profile-animation-type');
const profileWindowType = p.settings.get_int('profile-window-type');
const profilePowerMode = p.settings.get_int('profile-power-mode');
const profileColorScheme = p.settings.get_int('profile-color-scheme');
const profilePowerProfile = p.settings.get_int('profile-power-profile');
// First we check whether the animation type, window type, and power mode are
// matching.
let matches =
(profileAnimationType == 0 || profileAnimationType == animationType) &&
(profileWindowType == 0 || profileWindowType == windowType) &&
(profilePowerMode == 0 || profilePowerMode == powerMode);
// If that was the case, we also check the application name.
if (matches && profileApp != '') {
const wmClass = actor.meta_window.get_wm_class();
if (wmClass) {
const app = wmClass.toLowerCase();
// Split app names at |, remove any whitespace, and transform to lower case.
const profileApps =
profileApp.split('|').map(item => item.trim().toLowerCase());
matches = profileApps.includes(app);
} else {
matches = false;
}
}
// If the profile is still matching, we also check the color scheme.
if (matches && profileColorScheme != 0 && utils.shellVersionIsAtLeast(42, 0)) {
const colorScheme = this._shellSettings.get_string('color-scheme');
matches &= (profileColorScheme == 1 && colorScheme == 'default') ||
(profileColorScheme == 2 && colorScheme == 'prefer-dark');
}
// Finally, we may also have to check the power profile.
if (matches && profilePowerProfile != 0 && this._powerProfilesProxy) {
const powerProfile = this._powerProfilesProxy.ActiveProfile;
// To understand the numbers, please refer to the indices in the Gtk.StringList
// of the profile-power-profile Adw.ComboRow in resources/ui/adw/prefs.ui.
if (powerProfile == 'power-saver') {
matches &= profilePowerProfile == 1 || profilePowerProfile == 4;
} else if (powerProfile == 'balanced') {
matches &= profilePowerProfile == 2 || profilePowerProfile == 4 ||
profilePowerProfile == 5;
} else {
matches &= profilePowerProfile == 3 || profilePowerProfile == 5;
}
}
return matches;
});
// If we found a matching profile, choose a random effect from it.
if (profile) {
// Create a list of all enabled effects of this profile.
const enabled = this._ALL_EFFECTS.filter(effect => {
return profile.settings.get_boolean(`${effect.getNick()}-enable-effect`);
});
// And then choose a random effect.
if (enabled.length > 0) {
effect = enabled[Math.floor(Math.random() * enabled.length)];
}
}
}
// If nothing was enabled, we have to do nothing :)
if (!effect || !profile) {
return null;
}
return {effect: effect, profile: profile};
}
// This method adds the given effect using the settings from the given profile to the
// given actor.
_setupEffect(actor, forOpening, effect, profile) {
// There is the weird case where an animation is already ongoing. This happens when a
// window is closed which has been created before the session was started (e.g. when
// GNOME Shell has been restarted in the meantime).
const oldShader = actor.get_effect('burn-my-windows-effect');
if (oldShader) {
oldShader.endAnimation();
}
// If we are currently performing integration test, all animations are set to a fixed
// duration and show a fixed frame from the middle of the animation.
const testMode = this._settings.get_boolean('test-mode');
// The following is used to tweak the ongoing transitions of a window actor. Usually
// windows are faded in / out scaled up / down slightly by GNOME Shell. Here, we tweak
// the transitions so that nothing changes. The window stays opaque and is scaled to
// actorScale.
const actorScale = effect.getActorScale(profile.settings, forOpening, actor);
// All scaling is relative to the window's center.
actor.set_pivot_point(0.5, 0.5);
actor.opacity = 255;
actor.scale_x = actorScale.x;
actor.scale_y = actorScale.y;
// If we are in the overview, we have to enlarge the window's clone as well. We also
// disable the clone's overlay (e.g. its icon, name, and close button) during the
// animation.
if (actor._bmwOverviewClone && utils.shellVersionIsAtLeast(3, 38)) {
actor._bmwOverviewClone.overlayEnabled = false;
actor._bmwOverviewCloneContainer.set_pivot_point(0.5, 0.5);
actor._bmwOverviewCloneContainer.scale_x = actorScale.x;
actor._bmwOverviewCloneContainer.scale_y = actorScale.y;
}
// Now add a cool shader to our window actor!
const shader = effect.shaderFactory.getShader();
actor.add_effect_with_name('burn-my-windows-effect', shader);
// At the end of the animation, we restore the scale of the overview clone (if any)
// and call the methods which would have been called by the original ease() calls at
// the end of the standard fade-in animation.
const endID = shader.connect('end-animation', () => {
shader.disconnect(endID);
if (actor._bmwOverviewClone && utils.shellVersionIsAtLeast(3, 38)) {
actor._bmwOverviewClone.overlayEnabled = true;
actor._bmwOverviewCloneContainer.scale_x = 1.0;
actor._bmwOverviewCloneContainer.scale_y = 1.0;
}
// Remove the shader and mark it being re-usable for future animations.
actor.remove_effect(shader);
shader.returnToFactory();
// Finally, once the animation is done or interrupted, we call the methods which
// should have been called by the original ease() methods.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1487
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1558.
if (forOpening) {
Main.wm._mapWindowDone(global.window_manager, actor);
} else {
Main.wm._destroyWindowDone(global.window_manager, actor);
}
});
// To make things deterministic during testing, we set the effect duration to 5
// seconds.
const duration =
testMode ? 5000 : profile.settings.get_int(effect.getNick() + '-animation-time');
// Finally start the animation!
shader.beginAnimation(profile.settings, forOpening, testMode, duration, actor);
}
// This is required to enable window-close animations in the overview. See the comment // This is required to enable window-close animations in the overview. See the comment
// for Workspace.prototype._windowRemoved above for an explanation. // for Workspace.prototype._windowRemoved above for an explanation.
_shouldDestroy(workspace, metaWindow) { _shouldDestroy(workspace, metaWindow) {
@@ -200,12 +636,12 @@ class Extension {
return true; return true;
} }
const actor = workspace._windows[index]._windowActor; // This was called "realWindow" in GNOME 3.36.
if (!actor.get_transition('scale-y')) { const propertyName = utils.shellVersionIs(3, 36) ? 'realWindow' : '_windowActor';
return true; const actor = workspace._windows[index][propertyName];
} const shader = actor.get_effect('burn-my-windows-effect');
return false; return shader == null;
} }
} }
Executable
+155
View File
@@ -0,0 +1,155 @@
#!/bin/bash
# -------------------------------------------------------------------------------------- #
# ) ( #
# ( /( ( ( ) ( ( ( ( )\ ) ( ( #
# )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( #
# ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ #
# | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) #
# | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< #
# |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ #
# |__/ #
# -------------------------------------------------------------------------------------- #
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: MIT
# This scripts takes the shaders of Burn-My-Windows as well as some other input files from
# the directories next to this script and creates effect for KDE's Kwin.
# Exit the script when one command fails.
set -e
# Go to the script's directory.
cd "$( cd "$( dirname "$0" )" && pwd )" || \
{ echo "ERROR: Could not find kwin directory."; exit 1; }
# We will store the effect directories in this directory.
BUILD_DIR="_build"
# Create it if it's not there yet.
mkdir -p "$BUILD_DIR"
# Compile the translations.
for file in ../po/*.po; do
echo "Compiling $file"
lang=$(basename "$file" .po)
mkdir -p "$BUILD_DIR/locale/$lang/LC_MESSAGES"
msgfmt "$file" -o "$BUILD_DIR/locale/$lang/LC_MESSAGES/burn-my-windows.mo"
done
# This method is called one for each effect. The parameters are as follows:
# $1: The nick of the effect (e.g. "energize-a")
# $2: The name of the effect (e.g. "Energize A")
# $3: A short description of the effect (e.g. "Beam your windows away")
generate() {
# We use the nick for the effect's directory name by replacing dashes with underscoares.
DIR_NAME="kwin4_effect_$(echo "$1" | tr '-' '_')"
# We transform the nick to CamelCase for the JavaScript class name.
EFFECT_CLASS="BurnMyWindows$(sed -r 's/(^|-)(\w)/\U\2/g' <<<"$1")Effect"
# Now create all required resource directories.
mkdir -p "$BUILD_DIR/$DIR_NAME/contents/shaders"
mkdir -p "$BUILD_DIR/$DIR_NAME/contents/code"
mkdir -p "$BUILD_DIR/$DIR_NAME/contents/config"
mkdir -p "$BUILD_DIR/$DIR_NAME/contents/ui"
# Copy the translations.
cp -r "$BUILD_DIR/locale" "$BUILD_DIR/$DIR_NAME/contents"
# Copy the config file if it exists.
if [ -f "$1/main.xml" ]; then
cp "$1/main.xml" "$BUILD_DIR/$DIR_NAME/contents/config"
fi
# Copy the ui file if it exists.
if [ -f "$1/config.ui" ]; then
cp "$1/config.ui" "$BUILD_DIR/$DIR_NAME/contents/ui"
fi
# Now we create the effect's JavaScript source file. This is done by taking main.js.in
# and replacing some placeholders with effect-specific files and values.
ON_SETTINGS_CHANGE=""
ON_ANIMATION_BEGIN=""
# If the effect's directory contains a onSettingsChanged.js, we replace the
# corresponding placeholder with it's content. We replace all occurences of / temporily
# so that the REGEX works.
if [ -f "$1/onSettingsChanged.js" ]; then
ON_SETTINGS_CHANGE=$(tr '/' '\f' < "$1/onSettingsChanged.js")
fi
# Similarily, we will inject the contents of onAnimationBegin.js.
if [ -f "$1/onAnimationBegin.js" ]; then
ON_ANIMATION_BEGIN=$(tr '/' '\f' < "$1/onAnimationBegin.js")
fi
cp main.js.in "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
perl -pi -e "s/%ON_SETTINGS_CHANGE%/$ON_SETTINGS_CHANGE/g;" "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
perl -pi -e "s/%ON_ANIMATION_BEGIN%/$ON_ANIMATION_BEGIN/g;" "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
perl -pi -e "s/%EFFECT_CLASS%/$EFFECT_CLASS/g;" "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
perl -pi -e "s/%SHADER_NAME%/$1/g;" "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
perl -pi -e "s/\f/\//g;" "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
# Now create the metadata.json file. Again, we replace some placeholders.
cp metadata.json.in "$BUILD_DIR/$DIR_NAME/metadata.json"
perl -pi -e "s/%ICON%/$1/g;" "$BUILD_DIR/$DIR_NAME/metadata.json"
perl -pi -e "s/%NAME%/$2/g;" "$BUILD_DIR/$DIR_NAME/metadata.json"
perl -pi -e "s/%DESCRIPTION%/$3/g;" "$BUILD_DIR/$DIR_NAME/metadata.json"
perl -pi -e "s/%DIR_NAME%/$DIR_NAME/g;" "$BUILD_DIR/$DIR_NAME/metadata.json"
# Now create the two required shader files. We prepend the common.glsl to each shader.
# We also define KWIN and KWIN_LEGACY. The code in common.glsl takes some different
# paths based on these defines.
{
echo "#version 140"
echo "#define KWIN"
echo ""
echo "// This file is automatically generated during the build process."
echo ""
cat "../resources/shaders/common.glsl"
cat "../resources/shaders/$1.frag"
} > "$BUILD_DIR/$DIR_NAME/contents/shaders/$1_core.frag"
{
echo "#define KWIN_LEGACY"
echo ""
echo "// This file is automatically generated during the build process."
echo ""
cat "../resources/shaders/common.glsl"
cat "../resources/shaders/$1.frag"
} > "$BUILD_DIR/$DIR_NAME/contents/shaders/$1.frag"
# If clang-format is installed, try to beautify the code a bit.
if command -v clang-format &> /dev/null
then
clang-format -i "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
fi
# Create an archive which can be uploaded to https://store.kde.org.
# shellcheck disable=SC2046
tar -cjf "$DIR_NAME.tar.gz" -C "$BUILD_DIR/$DIR_NAME" $(ls "$BUILD_DIR/$DIR_NAME")
}
# Now run the above method for all supported effects.
generate "doom" "Doom [Burn-My-Windows]" "Melt your windows"
generate "energize-a" "Energize A [Burn-My-Windows]" "Beam your windows away"
generate "energize-b" "Energize B [Burn-My-Windows]" "Using different transporter technology results in an alternative visual effect"
generate "fire" "Fire [Burn-My-Windows]" "The classic effect inspired by Compiz"
generate "glide" "Glide [Burn-My-Windows]" "Fade the window to transparency with subtle 3D effects"
generate "glitch" "Glitch [Burn-My-Windows]" "This effect applies some intentional graphics issues to your windows"
generate "hexagon" "Hexagon [Burn-My-Windows]" "With glowing lines and hexagon-shaped tiles, this effect looks very sci-fi"
generate "incinerate" "Incinerate [Burn-My-Windows]" "A less snappy but definitely more fancy take on the fire effect"
generate "pixelate" "Pixelate [Burn-My-Windows]" "Pixelate the window and randomly hide the pixels"
generate "pixel-wheel" "Pixel Wheel [Burn-My-Windows]" "Pixelate the window and hide the pixels in a wheel-like fashion"
generate "pixel-wipe" "Pixel Wipe [Burn-My-Windows]" "Pixelate the window and hide the pixels radially, starting from the pointer position"
generate "portal" "Portal [Burn-My-Windows]" "Transfer your windows to other locations in space and time"
generate "tv" "TV Effect [Burn-My-Windows]" "Make windows close like turning off a TV"
generate "tv-glitch" "TV Glitch [Burn-My-Windows]" "Make your windows close like a very glitchy old-school TV"
generate "wisps" "Wisps [Burn-My-Windows]" "Let your windows be carried away to the realm of dreams by these little fairies"
# Finally, create an archive for the effects.
# shellcheck disable=SC2046
tar -cjf "burn_my_windows_kwin4.tar.gz" -C "$BUILD_DIR" $(ls "$BUILD_DIR")
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_HorizontalScale">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>200.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Horizontal Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Pixel Size</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_PixelSize">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>50.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_VerticalScale">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>200.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Vertical Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources />
<connections />
</ui>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>500</default>
</entry>
<entry name="HorizontalScale" type="UInt">
<default>10</default>
</entry>
<entry name="VerticalScale" type="UInt">
<default>50</default>
</entry>
<entry name="PixelSize" type="UInt">
<default>10</default>
</entry>
</group>
</kcfg>
+15
View File
@@ -0,0 +1,15 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
// I have not yet found a way to scaling the actor canvas on KWin. So this effect cannot
// look as good as on GNOME.
effect.setUniform(this.shader, 'uActorScale', 1.0);
effect.setUniform(this.shader, 'uHorizontalScale',
effect.readConfig('HorizontalScale', 1.0));
effect.setUniform(this.shader, 'uVerticalScale', effect.readConfig('VerticalScale', 1.0));
effect.setUniform(this.shader, 'uPixelSize', effect.readConfig('PixelSize', 1.0));
+97
View File
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KColorButton" name="kcfg_Color">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>2000</default>
</entry>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="Color" type="Color">
<default>#FFC832</default>
</entry>
</group>
</kcfg>
+10
View File
@@ -0,0 +1,10 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uDuration', this.duration * 0.001);
effect.setUniform(this.shader, 'uColor', this.readRGBConfig('Color'));
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
+97
View File
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KColorButton" name="kcfg_Color">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>1000</default>
</entry>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="Color" type="Color">
<default>#A0B4FF</default>
</entry>
</group>
</kcfg>
+10
View File
@@ -0,0 +1,10 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uDuration', this.duration * 0.001);
effect.setUniform(this.shader, 'uColor', this.readRGBConfig('Color'));
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
+150
View File
@@ -0,0 +1,150 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Gradient</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Speed</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_MovementSpeed">
<property name="minimum">
<double>-5.000000000000000</double>
</property>
<property name="maximum">
<double>5.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="KColorButton" name="kcfg_Gradient1">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="kcfg_Gradient2">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="kcfg_Gradient3">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="kcfg_Gradient4">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="kcfg_Gradient5">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="7" column="1">
<widget class="QCheckBox" name="kcfg_3DNoise">
<property name="text">
<string>3D Noise</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui>
+40
View File
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>1500</default>
</entry>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="MovementSpeed" type="Double">
<default>0.5</default>
</entry>
<entry name="Gradient1" type="Color">
<default>#004c3319</default>
</entry>
<entry name="Gradient2" type="Color">
<default>#a0b4371e</default>
</entry>
<entry name="Gradient3" type="Color">
<default>#b5ff4c26</default>
</entry>
<entry name="Gradient4" type="Color">
<default>#ffffa619</default>
</entry>
<entry name="Gradient5" type="Color">
<default>#ffffffff</default>
</entry>
<entry name="3DNoise" type="Bool">
<default>false</default>
</entry>
</group>
</kcfg>
+17
View File
@@ -0,0 +1,17 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uDuration', this.duration * 0.001);
effect.setUniform(this.shader, 'u3DNoise',
effect.readConfig('3DNoise', true) ? 1.0 : 0.0);
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
effect.setUniform(this.shader, 'uMovementSpeed', effect.readConfig('MovementSpeed', 1.0));
effect.setUniform(this.shader, 'uGradient1', this.readRGBAConfig('Gradient1'));
effect.setUniform(this.shader, 'uGradient2', this.readRGBAConfig('Gradient2'));
effect.setUniform(this.shader, 'uGradient3', this.readRGBAConfig('Gradient3'));
effect.setUniform(this.shader, 'uGradient4', this.readRGBAConfig('Gradient4'));
effect.setUniform(this.shader, 'uGradient5', this.readRGBAConfig('Gradient5'));
+136
View File
@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Squish</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.1</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Tilt</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Shift</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Squish">
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.1</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Tilt">
<property name="minimum">
<double>-1.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.1</double>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Shift">
<property name="minimum">
<double>-1.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.1</double>
</property>
</widget>
</item>
</layout>
</widget>
<resources />
<connections />
</ui>
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>250</default>
</entry>
<entry name="Scale" type="Double">
<default>0.95</default>
</entry>
<entry name="Squish" type="Double">
<default>0.15</default>
</entry>
<entry name="Tilt" type="Double">
<default>-0.3</default>
</entry>
<entry name="Shift" type="Double">
<default>-0.05</default>
</entry>
</group>
</kcfg>
+11
View File
@@ -0,0 +1,11 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
effect.setUniform(this.shader, 'uSquish', effect.readConfig('Squish', 1.0));
effect.setUniform(this.shader, 'uTilt', effect.readConfig('Tilt', 1.0));
effect.setUniform(this.shader, 'uShift', effect.readConfig('Shift', 1.0));
+137
View File
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="KColorButton" name="kcfg_Color">
<property name="alphaChannelEnabled" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Strength</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Speed</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Strength">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Speed">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>750</default>
</entry>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="Strength" type="Double">
<default>2</default>
</entry>
<entry name="Speed" type="Double">
<default>2</default>
</entry>
<entry name="Color" type="Color">
<default>#64A0FF</default>
</entry>
</group>
</kcfg>
+7
View File
@@ -0,0 +1,7 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever a window is closed or opened.
effect.setUniform(this.shader, 'uSeed', Math.random());
+12
View File
@@ -0,0 +1,12 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uDuration', this.duration * 0.001);
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
effect.setUniform(this.shader, 'uStrength', effect.readConfig('Strength', 1.0));
effect.setUniform(this.shader, 'uSpeed', effect.readConfig('Speed', 1.0));
effect.setUniform(this.shader, 'uColor', this.readRGBAConfig('Color'));
+135
View File
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Line Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="kcfg_LineWidth">
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>5.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Glow Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Mesh Line Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QCheckBox" name="kcfg_AdditiveBlending">
<property name="text">
<string>Additive Blending</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KColorButton" name="kcfg_GlowColor">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KColorButton" name="kcfg_LineColor">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui>
+31
View File
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>1500</default>
</entry>
<entry name="Scale" type="Double">
<default>3</default>
</entry>
<entry name="LineWidth" type="Double">
<default>2</default>
</entry>
<entry name="LineColor" type="Color">
<default>#80C8FFFF</default>
</entry>
<entry name="GlowColor" type="Color">
<default>#801450FF</default>
</entry>
<entry name="AdditiveBlending" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>
+7
View File
@@ -0,0 +1,7 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever a window is closed or opened.
effect.setUniform(this.shader, 'uSeed', [Math.random(), Math.random()]);
+13
View File
@@ -0,0 +1,13 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uAdditiveBlending',
effect.readConfig('AdditiveBlending', true) ? 1.0 : 0.0);
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
effect.setUniform(this.shader, 'uLineWidth', effect.readConfig('LineWidth', 1.0));
effect.setUniform(this.shader, 'uGlowColor', this.readRGBAConfig('GlowColor'));
effect.setUniform(this.shader, 'uLineColor', this.readRGBAConfig('LineColor'));
+127
View File
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Turbulence">
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Turbulence</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KColorButton" name="kcfg_Color">
<property name="alphaChannelEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="kcfg_UsePointer">
<property name="text">
<string>Start at Pointer</string>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui>
+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>2000</default>
</entry>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="Turbulence" type="Double">
<default>0.3</default>
</entry>
<entry name="Color" type="Color">
<default>#ffb47f</default>
</entry>
<entry name="UsePointer" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>
+19
View File
@@ -0,0 +1,19 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever a window is closed or opened.
let seed = [Math.random(), Math.random()];
let startPos = seed[0] > seed[1] ? [seed[0], Math.floor(seed[1] + 0.5)] :
[Math.floor(seed[0] + 0.5), seed[1]];
if (effect.readConfig('UsePointer', true)) {
startPos = [
Math.min(1.0, Math.max(0.0, (effects.cursorPos.x - window.x) / window.width)),
Math.min(1.0, Math.max(0.0, (effects.cursorPos.y - window.y) / window.height))
];
}
effect.setUniform(this.shader, 'uSeed', seed);
effect.setUniform(this.shader, 'uStartPos', startPos);
+11
View File
@@ -0,0 +1,11 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uDuration', this.duration * 0.001);
effect.setUniform(this.shader, 'uColor', this.readRGBConfig('Color'));
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
effect.setUniform(this.shader, 'uTurbulence', effect.readConfig('Turbulence', 1.0));
+208
View File
@@ -0,0 +1,208 @@
// SPDX-FileCopyrightText: Vlad Zahorodnii <vlad.zahorodnii@kde.org>, Martin Flöser <mgraesslin@kde.org>, Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
"use strict";
const blacklist = [
// The logout screen has to be animated only by the logout effect.
"ksmserver ksmserver",
"ksmserver-logout-greeter ksmserver-logout-greeter",
// KDE Plasma splash screen has to be animated only by the login effect.
"ksplashqml ksplashqml",
// All the tooltips of IntelliJ IDEs use the same window class as their main window.
// This results in many awkward animations, so we have to blacklist them all.
// See https://github.com/Schneegans/Burn-My-Windows/issues/284 for details.
"jetbrains-studio jetbrains-studio", "jetbrains-clion jetbrains-clion",
"jetbrains-pycharm-ce jetbrains-pycharm-ce"
];
class %EFFECT_CLASS% {
constructor() {
effect.configChanged.connect(this.loadConfig.bind(this));
effect.animationEnded.connect(this.cleanupForcedRoles.bind(this));
effects.windowAdded.connect(this.slotWindowAdded.bind(this));
effects.windowClosed.connect(this.slotWindowClosed.bind(this));
effects.windowDataChanged.connect(this.slotWindowDataChanged.bind(this));
this.shader = effect.addFragmentShader(Effect.MapTexture, "%SHADER_NAME%.frag");
this.loadConfig();
}
// A small helper which can be used to read a hex color string (e.g. #ff3244) from the
// settings. This method will return an array of four floating point values
// [r, g, b, a]. If the settings key only refers to an rgb value, the alpha component
// will be set to 1.0.
readRGBAConfig(key) {
const color = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?([a-f\d]{2})?$/i
.exec(effect.readConfig(key, '#ffffff'))
.slice(1)
.filter(x => x !== undefined)
.map(x => parseInt(x, 16) / 255);
return color.length == 3 ? [color[0], color[1], color[2], 1.0] :
[color[1], color[2], color[3], color[0]];
}
// A small helper which can be used to read a hex color string (e.g. #ff3244) from the
// settings. This method will return an array of three floating point values [r, g, b]
// regardless of whether the settings key actually refers to an argb hex string.
readRGBConfig(key) {
const color = this.readRGBAConfig(key);
color.pop();
return color;
}
// This is called when the effect is loaded and whenever the settings of the effect
// are changed by the user.
loadConfig() {
this.duration = animationTime(effect.readConfig('Duration', 1000));
%ON_SETTINGS_CHANGE%
}
static shouldAnimateWindow(window) {
// We don't want to animate most of plasmashell's windows, yet, some
// of them we want to, for example, Task Manager Settings window.
// The problem is that all those window share single window class.
// So, the only way to decide whether a window should be animated is
// to use a heuristic: if a window has decoration, then it's most
// likely a dialog or a settings window so we have to animate it.
if (window.windowClass == "plasmashell plasmashell"
|| window.windowClass == "plasmashell org.kde.plasmashell") {
return window.hasDecoration;
}
if (blacklist.indexOf(window.windowClass) != -1) {
return false;
}
if (window.hasDecoration) {
return true;
}
// Don't animate combobox popups, tooltips, popup menus, etc.
if (window.popupWindow) {
return false;
}
// Dont't animate the outline and the screenlocker as it looks bad.
if (window.lockScreen || window.outline) {
return false;
}
// Override-redirect windows are usually used for user interface
// concepts that are not expected to be animated by this effect.
if (!window.managed) {
return false;
}
return window.normalWindow || window.dialog;
}
setupForcedRoles(window) {
window.setData(Effect.WindowForceBackgroundContrastRole, true);
window.setData(Effect.WindowForceBlurRole, true);
}
cleanupForcedRoles(window) {
window.setData(Effect.WindowForceBackgroundContrastRole, null);
window.setData(Effect.WindowForceBlurRole, null);
}
slotWindowAdded(window) {
if (effects.hasActiveFullScreenEffect) {
return;
}
if (!%EFFECT_CLASS%.shouldAnimateWindow(window)) {
return;
}
if (!window.visible) {
return;
}
if (effect.isGrabbed(window, Effect.WindowAddedGrabRole)) {
return;
}
this.setupForcedRoles(window);
effect.setUniform(this.shader, 'uForOpening', 1.0);
effect.setUniform(this.shader, 'uIsFullscreen', window.fullScreen ? 1.0 : 0.0);
%ON_ANIMATION_BEGIN%
window.bmwInAnimation = animate({
window: window,
curve: QEasingCurve.Linear,
duration: this.duration,
animations: [
{
type: Effect.ShaderUniform,
fragmentShader: this.shader,
uniform: "uProgress",
from: 0.0,
to: 1.0
}
]
});
}
slotWindowClosed(window) {
if (effects.hasActiveFullScreenEffect) {
return;
}
if (!%EFFECT_CLASS%.shouldAnimateWindow(window)) {
return;
}
if (!window.visible || window.skipsCloseAnimation) {
return;
}
if (effect.isGrabbed(window, Effect.WindowClosedGrabRole)) {
return;
}
if (window.bmwInAnimation) {
cancel(window.bmwInAnimation);
delete window.bmwInAnimation;
}
this.setupForcedRoles(window);
effect.setUniform(this.shader, 'uForOpening', 0.0);
effect.setUniform(this.shader, 'uIsFullscreen', window.fullScreen ? 1.0 : 0.0);
%ON_ANIMATION_BEGIN%
window.bmwOutAnimation = animate({
window: window,
curve: QEasingCurve.Linear,
duration: this.duration,
animations: [
{
type: Effect.ShaderUniform,
fragmentShader: this.shader,
uniform: "uProgress",
from: 0.0,
to: 1.0
}
]
});
}
slotWindowDataChanged(window, role) {
if (role == Effect.WindowAddedGrabRole) {
if (window.bmwInAnimation && effect.isGrabbed(window, role)) {
cancel(window.bmwInAnimation);
delete window.bmwInAnimation;
this.cleanupForcedRoles(window);
}
} else if (role == Effect.WindowClosedGrabRole) {
if (window.bmwOutAnimation && effect.isGrabbed(window, role)) {
cancel(window.bmwOutAnimation);
delete window.bmwOutAnimation;
this.cleanupForcedRoles(window);
}
}
}
}
new %EFFECT_CLASS%();
+28
View File
@@ -0,0 +1,28 @@
{
"KPlugin": {
"Name": "%NAME%",
"Description": "%DESCRIPTION%",
"Icon": "preferences-system-windows-effect-%ICON%",
"Category": "Window Open/Close Animation",
"Authors": [
{ "Name": "Simon Schneegans", "Email": "code@simonschneegans.de" },
{ "Name": "Martin Flöser", "Email": "mgraesslin@kde.org" },
{ "Name": "Vlad Zahorodnii", "Email": "vlad.zahorodnii@kde.org" }
],
"Id": "%DIR_NAME%",
"License": "GPLv3",
"Version": "1.0",
"EnabledByDefault": "false",
"Website": "https://github.com/Schneegans/Burn-My-Windows/",
"BugReportUrl": "https://github.com/Schneegans/Burn-My-Windows/issues",
"ServiceTypes": [
"KWin/Effect"
]
},
"X-KDE-Ordering": "60",
"X-KDE-PluginKeyword": "%DIR_NAME%",
"X-KWin-Config-TranslationDomain": "burn-my-windows",
"X-KWin-Exclusive-Category": "toplevel-open-close-animation",
"X-Plasma-API": "javascript",
"X-Plasma-MainScript": "code/main.js"
}
+3
View File
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: CC0-1.0
+93
View File
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Pixel Size</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Spoke Count</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_PixelSize">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>50.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_SpokeCount">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>50.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<resources />
<connections />
</ui>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>300</default>
</entry>
<entry name="SpokeCount" type="UInt">
<default>12</default>
</entry>
<entry name="PixelSize" type="UInt">
<default>10</default>
</entry>
</group>
</kcfg>
+9
View File
@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uSpokeCount', effect.readConfig('SpokeCount', 1.0));
effect.setUniform(this.shader, 'uPixelSize', effect.readConfig('PixelSize', 1.0));
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Pixel Size</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_PixelSize">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>50.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<resources />
<connections />
</ui>
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>1000</default>
</entry>
<entry name="PixelSize" type="UInt">
<default>10</default>
</entry>
</group>
</kcfg>
+12
View File
@@ -0,0 +1,12 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever a window is closed or opened.
let startPos = [
Math.min(1.0, Math.max(0.0, (effects.cursorPos.x - window.x) / window.width)),
Math.min(1.0, Math.max(0.0, (effects.cursorPos.y - window.y) / window.height))
];
effect.setUniform(this.shader, 'uStartPos', startPos);
+8
View File
@@ -0,0 +1,8 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uPixelSize', effect.readConfig('PixelSize', 1.0));
+93
View File
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Pixel Size</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Noise</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_PixelSize">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>50.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Noise">
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<resources />
<connections />
</ui>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>500</default>
</entry>
<entry name="Noise" type="UInt">
<default>40</default>
</entry>
<entry name="PixelSize" type="UInt">
<default>10</default>
</entry>
</group>
</kcfg>
+9
View File
@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uNoise', effect.readConfig('Noise', 1.0));
effect.setUniform(this.shader, 'uPixelSize', effect.readConfig('PixelSize', 1.0));
+146
View File
@@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Rotation Speed</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>500</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="KColorButton" name="kcfg_Color">
<property name="alphaChannelEnabled" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Whirling</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Details</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Details">
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Whirling">
<property name="minimum">
<double>-2.000000000000000</double>
</property>
<property name="maximum">
<double>2.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_RotationSpeed">
<property name="minimum">
<double>-2.000000000000000</double>
</property>
<property name="maximum">
<double>2.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>1250</default>
</entry>
<entry name="Color" type="Color">
<default>#79E918</default>
</entry>
<entry name="Details" type="Double">
<default>15.0</default>
</entry>
<entry name="RotationSpeed" type="Double">
<default>0.3</default>
</entry>
<entry name="Whirling" type="Double">
<default>1.0</default>
</entry>
</group>
</kcfg>
+7
View File
@@ -0,0 +1,7 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever a window is closed or opened.
effect.setUniform(this.shader, 'uSeed', [Math.random(), Math.random()]);
+12
View File
@@ -0,0 +1,12 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uDuration', this.duration * 0.001);
effect.setUniform(this.shader, 'uColor', this.readRGBConfig('Color'));
effect.setUniform(this.shader, 'uDetails', effect.readConfig('Details', 1.0));
effect.setUniform(this.shader, 'uRotationSpeed', effect.readConfig('RotationSpeed', 1.0));
effect.setUniform(this.shader, 'uWhirling', effect.readConfig('Whirling', 1.0));
+137
View File
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<ui version="4.0">
<class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>365</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="KColorButton" name="kcfg_Color">
<property name="alphaChannelEnabled" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Strength</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Speed</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Strength">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Speed">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name="" />
<group name="">
<entry name="Duration" type="UInt">
<default>750</default>
</entry>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="Strength" type="Double">
<default>2</default>
</entry>
<entry name="Speed" type="Double">
<default>2</default>
</entry>
<entry name="Color" type="Color">
<default>#64A0FF</default>
</entry>
</group>
</kcfg>

Some files were not shown because too many files have changed in this diff Show More