Compare commits

...

568 Commits

Author SHA1 Message Date
Simon Schneegans 8d6ee48e59 📝 Add another branch hint
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-09-09 12:49:38 +02:00
Simon Schneegans 6aef7536bc 🔀 Merge pull request #373 from Schneegans/feature/esm-modules 2023-09-09 12:42:56 +02:00
Simon Schneegans 9fba8f2186 Merge branch 'main' into feature/esm-modules 2023-09-09 12:35:13 +02:00
Simon Schneegans d6120de2b9 ✨ Format README 2023-09-09 12:34:35 +02:00
Simon Schneegans 8ec804bc86 🎉 Set release date 2023-09-09 12:33:59 +02:00
Simon Schneegans e62a9cdf85 📝 Add branch hint 2023-09-09 12:33:34 +02:00
Simon Schneegans cf57261165 🔥 Remove unused method 2023-09-09 06:55:32 +02:00
Simon Schneegans 734530fdab 🔧 Use dynamic imports for gettext 2023-09-09 06:46:09 +02:00
Simon Schneegans 0ccbb31d06 ♻️ Use more dynamic imports 2023-09-09 06:17:58 +02:00
Simon Schneegans 34a64e10fe 🪲 Fix fire presets 2023-09-09 06:09:40 +02:00
Simon Schneegans 767035e313 ♻️ Use utility method to import module in Shell process only 2023-09-09 06:05:15 +02:00
Simon Schneegans 006cc593a3 🔧 Add missing method inputs 2023-09-09 05:52:39 +02:00
Simon Schneegans 15560abad7 🪲 Fix Doom effect 2023-09-09 05:52:15 +02:00
Simon Schneegans 14cd1db7e9 🔧 Do not import the ShaderFactory in the preferences process 2023-09-08 20:45:58 +02:00
Simon Schneegans 3f05c946ec 📝 Tweak changelog entry 2023-09-05 08:02:36 +02:00
Simon Schneegans 9ae7f9c042 ♻️ Use glob import for utils 2023-09-02 10:21:40 +02:00
Simon Schneegans e9ef77617f 🔧 Use console.log instead of log 2023-09-02 10:21:21 +02:00
Hosted Weblate 06b2c941f2 🌐 Update translation files 2023-08-31 08:45:55 +02:00
Simon Schneegans 27220c95f8 🔧 Only run tests on rawhide for GNOME 45 2023-08-31 07:39:56 +02:00
Simon Schneegans 5cc260ad39 Merge branch 'main' into feature/esm-modules 2023-08-31 07:37:42 +02:00
Simon Schneegans e81eb2097b 🔧 Stop testing on rawhide for pre 45 version 2023-08-31 07:32:07 +02:00
Simon Schneegans 22d4d38b08 🌐 Update translation template 2023-08-31 07:31:37 +02:00
Fernando Lopes c85156ed61 🌐 Translated using Weblate (Portuguese (Brazil)) 2023-08-31 07:28:11 +02:00
Simon Schneegans 7c766a5aea 🔀 Merge pull request #381 from sabriunal/mark-translatable 2023-08-30 10:39:25 +02:00
Sabri Ünal ecd2282ca7 data: Mark a few strings translatable
- Reset to Default Value
- Choose a Preset
2023-08-30 10:39:45 +03:00
Simon Schneegans 37a90cee1f 🎉 Bump version number 2023-08-26 13:20:35 +02:00
Simon Schneegans 012c1f5d33 📝 Add changelog entry
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-08-26 13:08:06 +02:00
Simon Schneegans 9bb54ab71a 🔀 Merge pull request #379 from Schneegans/fix/#376 2023-08-26 13:06:59 +02:00
Reza Almanda 6f708cf1fb 🌐 Translated using Weblate (Indonesian) 2023-08-26 13:05:01 +02:00
Simon Schneegans 3147ae5db6 📝 Add changelog entry 2023-08-26 13:02:22 +02:00
Simon Schneegans f8ea184a0f 🪲 Remove excessively large floating point constant 2023-08-22 19:57:34 +02:00
Seong-ho Cho 41f02c2901 🌐 Translated using Weblate (Korean) 2023-08-20 21:51:22 +02:00
Sabri Ünal 2a3f9305fe 🌐 Translated using Weblate (Turkish) 2023-08-20 21:51:22 +02:00
albanobattistella a7dfd593bd 🌐 Translated using Weblate (Italian) 2023-08-20 21:51:22 +02:00
Brice Laurencin 01c6e5caee 🌐 Translated using Weblate (French) 2023-08-20 21:51:22 +02:00
Simon Schneegans bf068e24da 🔧 Only run tests on rawhide 2023-08-19 08:02:24 +02:00
Simon Schneegans 45dd8d992d 🔧 Do not add compiled schemas 2023-08-19 08:01:46 +02:00
Simon Schneegans a8466a16f7 📝 Update effect creation guide 2023-08-19 08:00:54 +02:00
Simon Schneegans 44ce1a4825 🔧 Revert to old debug method behavior 2023-08-19 07:21:46 +02:00
Simon Schneegans c515e495f3 📝 Add changelog entry 2023-08-19 07:20:17 +02:00
Simon Schneegans f5e0a92cec Merge branch 'main' into feature/esm-modules 2023-08-18 08:28:42 +02:00
Simon Schneegans 75080a9595 🎉 Bump version number 2023-08-18 07:46:14 +02:00
Simon Schneegans c11ffb5e00 🎉 Set release date
Deploy / Bundle GNOME Shell Extension (push) Has been cancelled
Deploy / Bundle KWin Effect (push) Has been cancelled
2023-08-18 06:33:47 +02:00
Hosted Weblate 150761721a 🌐 Update translation files 2023-08-18 06:25:27 +02:00
Simon Schneegans 6a41fe23b3 📝 Add changelog entry 2023-08-18 06:23:59 +02:00
Simon Schneegans 508508c8d2 💞 Update credits 2023-08-18 06:23:21 +02:00
Simon Schneegans e4d986e2eb 🌐 Update translation template 2023-08-18 06:16:44 +02:00
Simon Schneegans 8147edfa06 🪲 Fix config import 2023-08-18 06:13:39 +02:00
Simon Schneegans 15b0d78c01 Merge branch 'main' into feature/esm-modules 2023-08-18 05:47:31 +02:00
Philip Goto 834f143846 🌐 Translated using Weblate (Dutch) 2023-08-17 19:38:59 +02:00
gallegonovato 8ed1d26524 🌐 Translated using Weblate (Spanish) 2023-08-15 07:40:07 +02:00
Simon Schneegans e8db78a8b0 🔀 Merge pull request #368 from Schneegans/feature/colorful-wisps 2023-08-14 06:16:51 +02:00
Simon Schneegans 2d4a6635eb 🔀 Merge pull request #369 from J-TAG/main 2023-08-14 05:59:00 +02:00
Simon Schneegans a6b47be34f 🪲 Prevent GLSL from optimizing our uniforms on KWin 2023-08-14 05:58:03 +02:00
Amoo Hesam 351878f136 🪲 Add IntelliJ IDEs to window blacklist on KDE 2023-08-13 23:49:47 +03:30
Simon Schneegans 32d78ceced 🎉 Add support for colorful wisps 2023-08-13 13:35:03 +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 ee41968e17 📝 Fix comment 2023-08-07 13:58:22 +02:00
Simon Schneegans f2768216db 🔥 Remove backwards compatibility code 2023-08-07 13:21:50 +02:00
Simon Schneegans d1cddb129d 🔧 Port to ESM 2023-08-07 12:57:38 +02:00
Simon Schneegans 5a60ab443e 🔀 Merge pull request #362 from Schneegans/fix/fullscreen-effects 2023-08-06 20:25:57 +02:00
Simon Schneegans 505289376e Merge branch 'main' into feature/esm-modules 2023-08-06 20:10:18 +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 3a9b1cb8a8 Merge branch 'main' into feature/esm-modules 2023-08-06 19:31:12 +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 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 7b90fd70bc 🚧 Continue port to ESM 2023-07-12 11:44:43 +02:00
Simon Schneegans 8a0c29a52f 🚧 Start port to ESM 2023-07-12 09:59:53 +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
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
691 changed files with 59014 additions and 71997 deletions
+3
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
BasedOnStyle: Google
AlignConsecutiveAssignments: true
AlignAfterOpenBracket: Align
+5 -2
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
github: schneegans
patreon: # Replace with a single Patreon 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
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Schneegans
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://www.paypal.com/donate/?hosted_button_id=3F7UFL8KLVPXE']
custom: ["https://www.paypal.me/simonschneegans"]
+3
View File
@@ -1,4 +1,7 @@
---
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC-BY-4.0
name: Bug Report
about: Create a report to help us improve the Burn-My-Windows Extension!
title: ''
@@ -1,4 +1,7 @@
---
# 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.
title: ''
+3
View File
@@ -1,4 +1,7 @@
---
# 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: ''
+3
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
name: Badges
on:
+23 -17
View File
@@ -1,12 +1,15 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
name: Checks
on:
push:
branches:
- '**'
- "**"
pull_request:
branches:
- '**'
- "**"
jobs:
clang_format:
@@ -14,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download Clang-Format
run: |
sudo apt update -qq
@@ -26,18 +29,26 @@ jobs:
DIFF=$(git diff)
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:
name: Check Comment Percentage
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout Current Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: current
ref: ${{ github.ref }}
- name: Checkout Base Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: base
ref: ${{ github.base_ref }}
@@ -63,7 +74,7 @@ jobs:
name: Run ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run ShellCheck
run: |
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck
@@ -74,11 +85,11 @@ jobs:
if: >
github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download Dependencies
run: |
sudo apt update -qq
sudo apt install gettext -qq
sudo apt install gettext imagemagick -qq
- name: Build Burn-My-Windows
run: make
- name: Generate References
@@ -94,22 +105,17 @@ jobs:
if: >
github.event_name == 'pull_request' ||
( 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]')
strategy:
fail-fast: false
matrix:
version:
- '32'
- '33'
- '34'
- '35'
- '36'
- "rawhide"
session:
- 'gnome-xsession'
- 'gnome-wayland-nested'
- "gnome-xsession"
- "gnome-wayland-nested"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download Dependencies
run: |
sudo apt update -qq
+4 -1
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
name: Deploy
on:
@@ -36,7 +39,7 @@ jobs:
- name: Install Dependencies
run: |
sudo apt-get update -q
sudo apt-get install clang-format
sudo apt-get install gettext clang-format
- name: Create Release
run: |
./kwin/build.sh
+3
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: CC0-1.0
*~
*.zip
*.blend1
+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.
+9 -9
View File
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# SPDX-License-Identifier: MIT
SHELL := /bin/bash
# We define these here to make the makefile easier to port to another extension.
@@ -6,7 +9,7 @@ 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 extension.js prefs.js)
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)
LOCALES_PO = $(wildcard po/*.po)
@@ -14,7 +17,9 @@ LOCALES_MO = $(patsubst po/%.po,locale/%/LC_MESSAGES/$(NAME).mo,$(LOCALES_PO
# These files will be included in the extension zip file.
ZIP_CONTENT = $(JS_FILES) $(LOCALES_MO) resources/$(NAME).gresource \
schemas/gschemas.compiled metadata.json LICENSE
schemas/org.gnome.shell.extensions.$(NAME).gschema.xml \
schemas/org.gnome.shell.extensions.$(NAME)-profile.gschema.xml \
metadata.json LICENSE
# These seven recipes can be invoked by the user.
.PHONY: zip install uninstall pot clean test references
@@ -43,7 +48,7 @@ pot: $(JS_FILES) $(UI_FILES)
# This runs several tests in containerized versions of GNOME Shell.
test:
@ for version in 32 33 34 35 36 ; do \
@ for version in "rawhide" ; do \
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
echo ; \
echo "Running Tests on Fedora $$version ($$session)." ; \
@@ -54,7 +59,7 @@ test:
# This re-generates all reference images required by the tests.
references:
@ for version in 32 33 34 35 36 ; do \
@ for version in "rawhide" ; do \
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
echo ; \
echo "Generating References for Fedora $$version ($$session)." ; \
@@ -87,11 +92,6 @@ $(ZIP_NAME): $(ZIP_CONTENT)
exit 1; \
fi
# Compiles the gschemas.compiled file from the gschema.xml file.
schemas/gschemas.compiled: schemas/org.gnome.shell.extensions.$(NAME).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..."
+116 -72
View File
@@ -1,44 +1,55 @@
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: CC-BY-4.0
-->
<p align="center">
<a href="https://www.youtube.com/watch?v=L2aaNF_rPHo"><img src ="docs/pics/teaser.jpg" /></a>
<a href="https://www.youtube.com/watch?v=ZHMboQq8Z5c"><img src ="docs/pics/teaser.jpg" /></a>
</p>
<h1 align="center">🔥 Set GNOME Shell on Fire!</h1>
<p align="center">(and KWin as well)</p>
<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://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="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>
**:warning: The code in the `main` branch is for GNOME Shell 45+. For older GNOME versions, please use the `gnome-3.36-44` branch.**
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)!
Burn-My-Windows is not only available for **GNOME** but also includes some basic support for **KDE Plasma's KWin**.
Further down in this file you'll find installation instructions for both.
**🖼️ 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).**
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/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/energizeA.gif" />
**Energize B** <br> Using different transporter technology results in an alternative visual effect. | <img src ="docs/pics/energizeB.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" />
**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" />
**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" />
**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" />
**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)
| 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
@@ -48,29 +59,33 @@ Below is a table which summarizes the current availability for all effects.
<table width="100%">
<tr>
<td></td>
<td colspan="5"><strong>GNOME</strong></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>41</td><td>42</td><td>5.25.0</td></tr>
<tr><td>Apparition</td> <td> </td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td> </td> </tr>
<tr><td>Broken Glass</td> <td> </td> <td> </td> <td>✅</td><td>✅</td><td>✅</td><td> </td> </tr>
<tr><td>Doom</td> <td> </td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Energize A</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Energize B</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Fire</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Hexagon</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Incinerate</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Matrix</td> <td> </td> <td> </td> <td>✅</td><td>✅</td><td>✅</td><td> </td> </tr>
<tr><td>Pixelate</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Pixel Wheel</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Pixel Wipe</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Snap of Disintegration</td> <td> </td> <td> </td> <td>✅</td><td>✅</td><td>✅</td><td> </td> </tr>
<tr><td>T-Rex Attack</td> <td> </td> <td> </td> <td>✅</td><td>✅</td><td>✅</td><td> </td> </tr>
<tr><td>TV-Effect</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</td> </tr>
<tr><td>Wisps</td> <td>✅</td> <td>✅</td> <td>✅</td><td>✅</td><td>✅</td><td>✅</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.
@@ -79,24 +94,28 @@ While [coding new features](docs/how-to-create-new-effects.md) or [translating t
<p align="center">
<a href="https://github.com/D3vil0p3r">D3vil0p3r</a><br>
Maxence Sebald<br>
<a href="https://github.com/dennis1248">Dennis ten Hoove</a><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/MRR-dev">@MRR-dev</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/AngelBrielez'>Angel Brielez</a>
<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>
@@ -107,7 +126,6 @@ While [coding new features](docs/how-to-create-new-effects.md) or [translating t
<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/)!
@@ -139,7 +157,7 @@ gnome-extensions install burn-my-windows@schneegans.github.com.zip
Then restart GNOME Shell with <kbd>Alt</kbd> + <kbd>F2</kbd>, <kbd>r</kbd> + <kbd>Enter</kbd>.
Or logout / login if you are on Wayland.
Then you can enable the extension with the *Gnome Tweak Tool*, the *Extensions* application or with this command:
Then you can enable the extension with the _Gnome Tweak Tool_, the _Extensions_ application or with this command:
```bash
gnome-extensions enable burn-my-windows@schneegans.github.com
@@ -155,6 +173,12 @@ git clone https://github.com/Schneegans/Burn-My-Windows.git
cd Burn-My-Windows
```
If your GNOME Shell version is <= 45, you will have to checkout the `gnome-3.36-44` branch:
```bash
git checkout gnome-3.36-44
```
Now you will have to install the extension.
The `make` command below compiles the locales, schemas and resources, creates a zip file of the extension and finally installs it with the `gnome-extensions` tool.
@@ -164,20 +188,42 @@ make install
Then restart GNOME Shell with <kbd>Alt</kbd> + <kbd>F2</kbd>, <kbd>r</kbd> + <kbd>Enter</kbd>.
Or logout / login if you are on Wayland.
Then you can enable the extension with the *Gnome Tweak Tool*, the *Extensions* application or with this command:
Then you can enable the extension with the _Gnome Tweak Tool_, the _Extensions_ application or with this command:
```bash
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).
### a) Download from the [KDE Store](https://store.kde.org/p/1861183)
:warning: **You need at least KWin 5.25.0 for the Burn-My-Windows effects.**
You can 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 Effetcs...".
: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
@@ -196,7 +242,6 @@ 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.
@@ -217,30 +262,29 @@ 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!
That's great!
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.
This does not only look great but also makes you rethink what to add to a commit. Make many but small commits!
Emoji | Description
------|------------
:tada: `:tada:` | When you added a cool new feature.
:wrench: `:wrench:` | When you added a piece of code.
:recycle: `:recycle:` | When you refactored a part of the code.
:sparkles: `:sparkles:` | When you applied clang-format.
:globe_with_meridians: `:globe_with_meridians:` | When you worked on translations.
:art: `:art:` | When you improved / added assets like themes.
:lipstick: `:lipstick:` | When you worked on the UI of the preferences dialog.
:rocket: `:rocket:` | When you improved performance.
:memo: `:memo:` | When you wrote documentation.
:beetle: `:beetle:` | When you fixed a bug.
:revolving_hearts: `:revolving_hearts:` | When a new sponsor is added or credits are updated.
: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.
:fire: `:fire:` | When you removed something.
:truck: `:truck:` | When you moved / renamed something.
| Emoji | Description |
| --------------------------------------------------------- | ------------------------------------------------------------------------- |
| :tada: `:tada:` | When you added a cool new feature. |
| :wrench: `:wrench:` | When you added a piece of code. |
| :recycle: `:recycle:` | When you refactored a part of the code. |
| :sparkles: `:sparkles:` | When you applied clang-format. |
| :globe_with_meridians: `:globe_with_meridians:` | When you worked on translations. |
| :art: `:art:` | When you improved / added assets like themes. |
| :lipstick: `:lipstick:` | When you worked on the UI of the preferences dialog. |
| :rocket: `:rocket:` | When you improved performance. |
| :memo: `:memo:` | When you wrote documentation. |
| :beetle: `:beetle:` | When you fixed a bug. |
| :revolving_hearts: `:revolving_hearts:` | When a new sponsor is added or credits are updated. |
| :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. |
| :fire: `:fire:` | When you removed something. |
| :truck: `:truck:` | When you moved / renamed something. |
+14 -1
View File
@@ -1,7 +1,20 @@
# Notes for `claws.blend`
# `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
```
Binary file not shown.
+28140 -54861
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 4.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

+330 -99
View File
@@ -1,16 +1,251 @@
<!--
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
SPDX-License-Identifier: CC-BY-4.0
-->
# Changelog of the Burn-My-Windows Extension
## [Burn My Windows 38](https://github.com/schneegans/Burn-My-Windows/releases/tag/v38)
**Release Date:** 2023-09-09
#### Major Changes
- This is the first release of Burn-My-Windows supporting GNOME 45. This required a [major refactoring](https://github.com/Schneegans/Burn-My-Windows/pull/373/files) of the code base as GJS now uses ESM modules. As a consequence, this version is not compatible with older versions of GNOME Shell anymore. The old code base is still available on the `gnome-3.36-44` branch and if new features are added (especially translations), they can be backported to this branch.
## [Burn My Windows 37](https://github.com/schneegans/Burn-My-Windows/releases/tag/v37)
**Release Date:** 2023-08-26
#### Bug Fixes
- Fixed an issue which caused the effects to crash on KDE in some cases.
#### Enhancements
- Several translations have been updated. Thanks to all the translators!
## [Burn My Windows 36](https://github.com/schneegans/Burn-My-Windows/releases/tag/v36)
**Release Date:** 2023-08-18
#### 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.
- The Wisps effect now supports colorful wisps. You can now specify three colors for the effect. These colors make up a gradient which is used to color the wisps.
#### Enhancements
- Several translations have been updated. Thanks to all the translators!
#### 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.
- 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!
- 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)
@@ -18,21 +253,20 @@
#### 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.
- **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.
- 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.
- 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)
@@ -40,17 +274,17 @@
#### 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.
- 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.
- 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.
- 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)
@@ -58,7 +292,7 @@
#### Fixes
* The GNOME extension package now does not include the KWin JavaScript files anymore.
- 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)
@@ -66,14 +300,14 @@
#### 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.
- **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.
- 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)
@@ -81,16 +315,16 @@
#### 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.
- 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.
- **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)
@@ -98,13 +332,13 @@
#### 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.
- **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).
- 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)
@@ -112,13 +346,12 @@
#### 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.!
- 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`)
- 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)
@@ -126,16 +359,16 @@
#### 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!
- 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.
- Removed the Liberapay donation option as it does not work properly.
#### Bug Fixes
* Fixed the version check for GNOME Shell 42.
- Fixed the version check for GNOME Shell 42.
## [Burn My Windows 12](https://github.com/schneegans/Burn-My-Windows/releases/tag/v12)
@@ -143,12 +376,12 @@
#### New Features
* Added initial support for GNOME Shell 42.
* The preferences dialog now uses libadwaita on GNOME Shell 42.
- 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.
- Added [Liberapay](https://liberapay.com/Schneegans) to the sponsorship options.
## [Burn My Windows 11](https://github.com/schneegans/Burn-My-Windows/releases/tag/v11)
@@ -156,24 +389,24 @@
#### New Features
* Added an about-dialog which shows all translators and sponsors.
- 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.
- 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).
- 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)
@@ -183,18 +416,18 @@
<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.
- **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.
- 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)
@@ -202,8 +435,8 @@
#### 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).
- 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)
@@ -211,25 +444,24 @@
#### 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**.
- **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.
- 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.
- 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)
@@ -237,13 +469,12 @@
#### 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.
- 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.
- Resolve copyright issues by using a MIT-licensed noise implementation.
## [Burn My Windows 6](https://github.com/schneegans/Burn-My-Windows/releases/tag/v6)
@@ -251,7 +482,7 @@
#### Fixes
* Removed a debug log message.
- Removed a debug log message.
## [Burn My Windows 5](https://github.com/schneegans/Burn-My-Windows/releases/tag/v5)
@@ -259,17 +490,17 @@
#### 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.
- 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.
- 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.
- 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)
@@ -277,13 +508,13 @@
#### 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 setting to apply the animation also for closing dialog windows.
- 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.
#### Other Enhancements
* 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.
- 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.
## [Burn My Windows 3](https://github.com/schneegans/Burn-My-Windows/releases/tag/v3)
@@ -291,7 +522,7 @@
#### New Features
* Add support for GNOME 3.36 and GNOME 3.38.
- Add support for GNOME 3.36 and GNOME 3.38.
## [Burn My Windows 2](https://github.com/schneegans/Burn-My-Windows/releases/tag/v2)
@@ -299,12 +530,12 @@
#### New Features
* Added the possibility to adjust fire colors.
* Added the possibility to adjust flame speed and scale.
* Added some fire presets.
- Added the possibility to adjust fire colors.
- Added the possibility to adjust flame speed and scale.
- Added some fire presets.
## [Burn My Windows 1](https://github.com/schneegans/Burn-My-Windows/releases/tag/v1)
**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.
+78 -252
View File
@@ -1,3 +1,8 @@
<!--
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.
@@ -42,9 +47,9 @@ You will have to ...
### 1. Expanding the Schema
For enabling the new effect, the boolean settings keys `simple-fade-open-effect`, `simple-fade-close-effect`, and `simple-fade-animation-time` are required.
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.gschema.xml`](../schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml).
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
@@ -52,16 +57,10 @@ Just remember to replace `simple-fade` with your custom name!
<!-- Simple Fade Effect Options -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<key name="simple-fade-close-effect" type="b">
<key name="simple-fade-enable-effect" type="b">
<default>false</default>
<summary>Simple Fade Close Effect</summary>
<description>Use the Simple Fade effect for window closing.</description>
</key>
<key name="simple-fade-open-effect" type="b">
<default>false</default>
<summary>Simple Fade Open Effect</summary>
<description>Use the Simple Fade effect for window opening.</description>
<summary>Simple Fade Enable Effect</summary>
<description>Use the Simple Fade effect.</description>
</key>
<key name="simple-fade-animation-time" type="i">
@@ -79,7 +78,7 @@ Just remember to replace `simple-fade` with your custom name!
### 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/SimpleFade.js`.
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.
@@ -87,10 +86,25 @@ Please study this code carefully, all of it is explained with inline comments.
<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 uIsFullscreen: True if the window is maximized or in fullscreen mode.
// 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.
@@ -144,20 +158,21 @@ void main() {
// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
// |__/ //
// Copyright (c) 2021 Simon Schneegans //
// Released under the GPLv3 or later. See LICENSE file for details. //
//////////////////////////////////////////////////////////////////////////////////////////
'use strict';
// SPDX-FileCopyrightText: Your Name <your@email.com>
// SPDX-License-Identifier: GPL-3.0-or-later
const GObject = imports.gi.GObject;
"use strict";
const _ = imports.gettext.domain('burn-my-windows').gettext;
import * as utils from "../utils.js";
const ExtensionUtils = imports.misc.extensionUtils;
const Me = imports.misc.extensionUtils.getCurrentExtension();
const utils = Me.imports.src.utils;
const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory;
// We import the ShaderFactory only in the Shell process as it is not required in the
// preferences process. The preferences process does not create any shader instances, it
// only uses the static metadata of the effect.
const ShaderFactory = await utils.importInShellOnly("./ShaderFactory.js");
const _ = await utils.importGettext();
//////////////////////////////////////////////////////////////////////////////////////////
// This effect ... //
@@ -167,21 +182,21 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory;
// 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 {
export default class Effect {
// 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) => {
this.shaderFactory = new ShaderFactory(Effect.getNick(), (shader) => {
// Store uniform locations of newly created shaders.
shader._uFadeWidth = shader.get_uniform_location('uFadeWidth');
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')]);
shader.connect("begin-animation", (shader, settings) => {
shader.set_uniform_float(shader._uFadeWidth, 1, [
settings.get_double("simple-fade-width"),
]);
});
});
}
@@ -189,32 +204,31 @@ var SimpleFade = class {
// ---------------------------------------------------------------------------- metadata
// The effect is available on all GNOME Shell versions supported by this extension.
getMinShellVersion() {
static 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. '*-close-effect'), and its animation time
// (e.g. '*-animation-time').
getNick() {
return 'simple-fade';
// 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.
static 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');
static getLabel() {
return _("Simple Fade Effect");
}
// -------------------------------------------------------------------- API for prefs.js
// This is called by the preferences dialog. It loads the settings page for this effect,
// binds all properties to the settings and appends the page to the main stack of the
// preferences dialog.
getPreferences(dialog) {
// 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.
static bindPreferences(dialog) {
// Empty for now... Code is added here later in the tutorial!
return null;
}
// ---------------------------------------------------------------- API for extension.js
@@ -222,7 +236,7 @@ var SimpleFade = class {
// 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) {
static getActorScale(settings, forOpening, actor) {
return { x: 1.0, y: 1.0 };
}
}
@@ -237,15 +251,17 @@ Both, [`extension.js`](../extension.js) and [`prefs.js`](../prefs.js) define an
Like this:
```javascript
import SimpleFade from './src/effects/SimpleFade.js';
...
const ALL_EFFECTS = [
...
new Me.imports.src.SimpleFade.SimpleFade(),
new 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>.
@@ -261,21 +277,21 @@ 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 two `*.ui` files for this.
This is because starting with GNOME Shell 40, the preference dialog uses GTK4, before it used to use GTK3.
Usually, there are only a few minor differences between the two files.
We will load the respective file in the `getPreferences()` method of your new effect class.
Just save the code below to `resources/ui/gtk3/SimpleFade.ui` and `resources/ui/gtk4/SimpleFade.ui` respectively.
Just save the code below to `resources/ui/adw/simple-fade.ui`.
Remember to replace any occurrence of `simple-fade` with your effect's nick-name!
<details>
<summary>Expand this to show the GTK3 code.</summary>
<summary>Expand this to show the UI code.</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!--
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>
@@ -291,177 +307,13 @@ Remember to replace any occurrence of `simple-fade` with your effect's nick-name
<property name="page-increment">0.1</property>
</object>
<object class="GtkBox" id="simple-fade-prefs">
<property name="orientation">vertical</property>
<object class="AdwExpanderRow" id="simple-fade-prefs">
<child>
<object class="GtkFrame">
<child>
<object class="GtkListBox">
<property name="selection-mode">none</property>
<style>
<class name="rich-list" />
</style>
<child>
<object class="GtkListBoxRow">
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<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>
<object class="AdwActionRow">
<property name="title" translatable="yes">Animation Time [ms]</property>
<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="margin-start">10</property>
<property name="margin-end">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<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>
</child>
</object>
</interface>
```
</details>
<details>
<summary>Expand this to show the GTK4 code.</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<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="GtkBox" id="simple-fade-prefs">
<property name="orientation">vertical</property>
<child>
<object class="GtkFrame">
<child>
<object class="GtkListBox">
<property name="selection-mode">none</property>
<property name="show-separators">1</property>
<style>
<class name="rich-list" />
</style>
<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>
@@ -473,6 +325,7 @@ Remember to replace any occurrence of `simple-fade` with your effect's nick-name
<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" />
@@ -481,26 +334,12 @@ Remember to replace any occurrence of `simple-fade` with your effect's nick-name
</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>
<object class="AdwActionRow">
<property name="title" translatable="yes">Fade Width</property>
<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>
@@ -512,6 +351,7 @@ Remember to replace any occurrence of `simple-fade` with your effect's nick-name
<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" />
@@ -520,13 +360,6 @@ Remember to replace any occurrence of `simple-fade` with your effect's nick-name
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
@@ -537,21 +370,14 @@ Remember to replace any occurrence of `simple-fade` with your effect's nick-name
### Loading the Preferences Page
In order to load the above `*.ui` files, add the following code to your effect's `getPreferences()` method.
In order to load the above `*.ui` file, add the following code to your effect's `bindPreferences()` method.
```javascript
static getPreferences(dialog) {
// Add the settings page to the builder.
dialog.getBuilder().add_from_resource(`/ui/${utils.getGTKString()}/SimpleFade.ui`);
static 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');
// Finally, return the new settings page.
return dialog.getBuilder().get_object('simple-fade-prefs');
}
```
+1 -1
View File
@@ -3,5 +3,5 @@
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 400 -H 225 -o effect.gif effect.mp4
gifski --fps 30 -W 320 -H 180 -o effect.gif effect.mp4
```
Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 KiB

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 KiB

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.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 949 KiB

After

Width:  |  Height:  |  Size: 758 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 615 KiB

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 KiB

After

Width:  |  Height:  |  Size: 536 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 625 KiB

After

Width:  |  Height:  |  Size: 593 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 KiB

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 KiB

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 491 KiB

After

Width:  |  Height:  |  Size: 391 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 KiB

After

Width:  |  Height:  |  Size: 739 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 KiB

After

Width:  |  Height:  |  Size: 603 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 821 KiB

After

Width:  |  Height:  |  Size: 660 KiB

+400 -345
View File
@@ -7,29 +7,48 @@
// | '_ \ || | '_| ' \)) | ' \()| || | \ 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';
const {Clutter, Gio, Meta} = imports.gi;
import Gio from 'gi://Gio';
import Meta from 'gi://Meta';
const Main = imports.ui.main;
const Workspace = imports.ui.workspace.Workspace;
const WindowManager = imports.ui.windowManager.WindowManager;
import {fromVersion26} from './src/migrate.js';
import {ProfileManager} from './src/ProfileManager.js';
import {WindowPicker} from './src/WindowPicker.js';
import * as utils from './src/utils.js';
// 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.
}
import Apparition from './src/effects/Apparition.js';
import BrokenGlass from './src/effects/BrokenGlass.js';
import Doom from './src/effects/Doom.js';
import EnergizeA from './src/effects/EnergizeA.js';
import EnergizeB from './src/effects/EnergizeB.js';
import Fire from './src/effects/Fire.js';
import Glide from './src/effects/Glide.js';
import Glitch from './src/effects/Glitch.js';
import Hexagon from './src/effects/Hexagon.js';
import Incinerate from './src/effects/Incinerate.js';
import Matrix from './src/effects/Matrix.js';
import PaintBrush from './src/effects/PaintBrush.js';
import Pixelate from './src/effects/Pixelate.js';
import PixelWheel from './src/effects/PixelWheel.js';
import PixelWipe from './src/effects/PixelWipe.js';
import Portal from './src/effects/Portal.js';
import SnapOfDisintegration from './src/effects/SnapOfDisintegration.js';
import TRexAttack from './src/effects/TRexAttack.js';
import TVEffect from './src/effects/TVEffect.js';
import TVGlitch from './src/effects/TVGlitch.js';
import Wisps from './src/effects/Wisps.js';
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
import {Workspace} from 'resource:///org/gnome/shell/ui/workspace.js';
import {WindowPreview} from 'resource:///org/gnome/shell/ui/windowPreview.js';
import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';
const ExtensionUtils = imports.misc.extensionUtils;
const Me = imports.misc.extensionUtils.getCurrentExtension();
const utils = Me.imports.src.utils;
//////////////////////////////////////////////////////////////////////////////////////////
// This extensions modifies the window-close and window-open animations with all kinds //
@@ -40,7 +59,7 @@ const utils = Me.imports.src.utils;
// to get this working. For more details, read the other comments in this file... //
//////////////////////////////////////////////////////////////////////////////////////////
class Extension {
export default class BurnMyWindows extends Extension {
// ------------------------------------------------------------------------ public stuff
@@ -50,30 +69,69 @@ class Extension {
// New effects must be registered here and in prefs.js.
this._ALL_EFFECTS = [
new Me.imports.src.Apparition.Apparition(),
new Me.imports.src.BrokenGlass.BrokenGlass(),
new Me.imports.src.Doom.Doom(),
new Me.imports.src.EnergizeA.EnergizeA(),
new Me.imports.src.EnergizeB.EnergizeB(),
new Me.imports.src.Fire.Fire(),
new Me.imports.src.Hexagon.Hexagon(),
new Me.imports.src.Incinerate.Incinerate(),
new Me.imports.src.Matrix.Matrix(),
new Me.imports.src.Pixelate.Pixelate(),
new Me.imports.src.PixelWheel.PixelWheel(),
new Me.imports.src.PixelWipe.PixelWipe(),
new Me.imports.src.SnapOfDisintegration.SnapOfDisintegration(),
new Me.imports.src.TRexAttack.TRexAttack(),
new Me.imports.src.TVEffect.TVEffect(),
new Me.imports.src.Wisps.Wisps(),
new Apparition(),
new BrokenGlass(),
new Doom(),
new EnergizeA(),
new EnergizeB(),
new Fire(),
new Glide(),
new Glitch(),
new Hexagon(),
new Incinerate(),
new Matrix(),
new PaintBrush(),
new Pixelate(),
new PixelWheel(),
new PixelWipe(),
new Portal(),
new SnapOfDisintegration(),
new TRexAttack(),
new TVEffect(),
new TVGlitch(),
new Wisps(),
];
// Load all of our resources.
this._resources = Gio.Resource.load(Me.path + '/resources/burn-my-windows.gresource');
this._resources =
Gio.Resource.load(this.path + '/resources/burn-my-windows.gresource');
Gio.resources_register(this._resources);
// Store a reference to the settings object.
this._settings = ExtensionUtils.getSettings();
this._settings = this.getSettings();
// Now we check whether the extension settings need to be migrated from a previous
// version. If this is the case, we defer the profile loading until this is finished.
const lastVersion = this._settings.get_int('last-extension-version');
if (lastVersion < this.metadata.version) {
if (lastVersion <= 26) {
// If the profile migration fails for some reason, the callback will create a
// default profile instead.
fromVersion26().finally(() => {
this._loadProfiles();
this._settings.set_int('last-extension-version', this.metadata.version);
});
} else {
this._loadProfiles();
}
} else {
this._loadProfiles();
}
// We reload all effect profiles 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.
this._settings.connect('changed::active-profile', () => {
this._loadProfiles();
});
// This is used to get the desktop's color scheme.
this._shellSettings = new Gio.Settings({schema: 'org.gnome.desktop.interface'});
// Enable the window-picking D-Bus API for the preferences dialog.
this._windowPicker = new WindowPicker();
this._windowPicker.export();
// We will use extensionThis to refer to the extension inside the patched methods.
const extensionThis = this;
@@ -84,179 +142,152 @@ class Extension {
this._upowerProxy = new UPowerProxy(Gio.DBus.system, 'org.freedesktop.UPower',
'/org/freedesktop/UPower');
// This is used to get the current power profile.
try {
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;
this._origShouldAnimateActor = WindowManager.prototype._shouldAnimateActor;
this._origWaitForOverviewToHide = WindowManager.prototype._waitForOverviewToHide;
this._origDestroyWindowDone = WindowManager.prototype._destroyWindowDone;
// We will also override these animation times.
this._origWindowTime = imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME;
this._origDialogTime = imports.ui.windowManager.DIALOG_DESTROY_WINDOW_ANIMATION_TIME;
// ------------------------------- patching the window animations outside the overview
// ------------------------------------------------ patching the window-open animation
// Here we add an effect to the window-open animation. This is done whenever a new
// window is created. Usually, there is no real window animation for opening windows
// in the overview - only the window's clone is animated - but thanks to the hacks
// below, we can show the real animations in the overview.
// If a window is created the transitions are set up in the async _mapWindow of the
// 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#L1452
// 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 - the next time it will be
// called by the _mapWindow(), we will intercept it!
this._windowCreatedConnection =
global.display.connect('window-created', (d, metaWin) => {
let actor = metaWin.get_compositor_private();
// 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) {
orig.apply(actor, 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;
// There are cases where the ease() is called prior to mapping the actor. If
// the actor is not yet mapped, we defer the effect creation.
if (actor.mapped) {
extensionThis._setupEffect(actor, true);
// And then create the effect!
extensionThis._setupEffect(actor, forOpening, chosenEffect.effect,
chosenEffect.profile);
} else {
const connectionID = actor.connect('notify::mapped', () => {
extensionThis._setupEffect(actor, true);
actor.disconnect(connectionID);
});
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 result = extensionThis._origAddWindowClone.apply(this, params);
const clone = extensionThis._origAddWindowClone.apply(this, params);
const container = clone.window_container;
const realWindow = params[0].get_compositor_private();
// The parameters of this method changed a bit through the versions...
let realWindow, clone;
// 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;
if (utils.shellVersionIs(3, 36)) {
clone = result[0];
realWindow = clone.realWindow;
} else if (utils.shellVersionIs(3, 38)) {
clone = result._windowContainer;
realWindow = params[0].get_compositor_private();
} else {
clone = result.window_container;
realWindow = params[0].get_compositor_private();
}
// Syncing the real window's scale with the scale of its clone only works on GNOME
// Shell 3.38+. So effects cannot scale windows in the overview of GNOME 3.36...
if (utils.shellVersionIsAtLeast(3, 38)) {
const xID = realWindow.connect('notify::scale-x', () => {
if (realWindow.scale_x > 0 && clone.allocation.get_size()[0] > 0) {
clone.scale_x = realWindow.scale_x;
}
// Remove the temporary members again once the clone is deleted.
container.connect('destroy', () => {
delete realWindow._bmwOverviewClone;
delete realWindow._bmwOverviewCloneContainer;
});
const yID = realWindow.connect('notify::scale-y', () => {
if (realWindow.scale_y > 0 && clone.allocation.get_size()[1] > 0) {
clone.scale_y = realWindow.scale_y;
}
});
clone.connect('destroy', () => {
realWindow.disconnect(xID);
realWindow.disconnect(yID);
});
}
// 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#L1405
if (utils.shellVersionIs(3, 36)) {
clone.connect('destroy', () => this._doRemoveWindow(clone.metaWindow));
}
return result;
return clone;
};
// Usually, windows are faded in after the overview is completely hidden. We enable
// window-open animations by not waiting for this.
WindowManager.prototype._waitForOverviewToHide = async function() {
Main.wm._waitForOverviewToHide = async function() {
return Promise.resolve();
};
// Here comes the ULTRA-HACK: The method below is called (amongst others) by the
// _destroyWindow and _mapWindow methods of the WindowManager. Usually, it returns
// false when we are in the overview. This prevents the window animations. As we
// cannot monkey-patch the _destroyWindow or _mapWindow methods themselves, we check
// inside the method below whether it was called by either of those. 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#L1124
WindowManager.prototype._shouldAnimateActor = function(...params) {
const caller = (new Error()).stack.split('\n')[1];
if (caller.includes('_destroyWindow@') || caller.includes('_mapWindow@')) {
return true;
}
return extensionThis._origShouldAnimateActor.apply(this, params);
};
// ----------------------------------------------- patching the window-close animation
// The signal handler below and the following patch are all which is required outside
// of the overview. All other hacks further below are just required to defer the
// window-hiding in the overview until the effect is finished.
// The close animation is set up in WindowManager's _destroyWindow:
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1541
// As we cannot monkey-patch the _destroyWindow itself, we connect to the 'destroy'
// signal of the window manager and tweak the animation to our needs.
this._destroyConnection = global.window_manager.connect('destroy', (wm, actor) => {
this._setupEffect(actor, false);
});
// Once the window-close animation is is finished, the window manager's
// _destroyWindowDone is called. We use this to free the effect so that it can be
// re-used in future.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1541
WindowManager.prototype._destroyWindowDone = function(shellwm, actor) {
if (this._destroying.has(actor)) {
const shader = actor.get_effect('burn-my-windows-effect');
if (shader) {
actor.remove_effect(shader);
shader.endAnimation();
shader.returnToFactory();
}
}
// Call the original method.
extensionThis._origDestroyWindowDone.apply(this, [shellwm, actor]);
};
// 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. Are the actors removed in the end? I hope so.
// The _destroyWindow of the WindowManager sets the transitions up and should take
// care of removing the actors at the end of the transitions.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1301
// 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) {
if (extensionThis._shouldDestroy(this, metaWin)) {
extensionThis._origWindowRemoved.apply(this, [ws, metaWin]);
}
};
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1180
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1137
Workspace.prototype._doRemoveWindow = function(metaWin) {
if (extensionThis._shouldDestroy(this, metaWin)) {
extensionThis._origDoRemoveWindow.apply(this, [metaWin]);
@@ -264,9 +295,7 @@ class Extension {
};
// With the code below, we hide the window-overlay (icon, label, close button) in the
// overview once the close-animation is running. As the WindowPreview class is only
// available on GNOME 3.38 and beyond, we cannot hide the overlay on GNOME 3.36.
if (WindowPreview) {
// overview once the close-animation is running.
// We will monkey-patch these methods.
this._origDeleteAll = WindowPreview.prototype._deleteAll;
@@ -311,7 +340,6 @@ class Extension {
}
};
}
}
// This function could be called after the extension is uninstalled, disabled in GNOME
// Tweaks, when you log out or when the screen locks.
@@ -323,96 +351,178 @@ class Extension {
// Unregister our resources.
Gio.resources_unregister(this._resources);
// Restore the original window-open and window-close animations.
global.window_manager.disconnect(this._destroyConnection);
global.display.disconnect(this._windowCreatedConnection);
// Disable the window-picking D-Bus API.
this._windowPicker.unexport();
global.window_manager.disconnect(this._killEffectsSignal);
// Restore the original window-open and window-close animations.
Workspace.prototype._addWindowClone = this._origAddWindowClone;
Workspace.prototype._windowRemoved = this._origWindowRemoved;
Workspace.prototype._doRemoveWindow = this._origDoRemoveWindow;
WindowManager.prototype._shouldAnimateActor = this._origShouldAnimateActor;
WindowManager.prototype._waitForOverviewToHide = this._origWaitForOverviewToHide;
WindowManager.prototype._destroyWindowDone = this._origDestroyWindowDone;
Main.wm._shouldAnimateActor = this._origShouldAnimateActor;
Main.wm._waitForOverviewToHide = this._origWaitForOverviewToHide;
imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME = this._origWindowTime;
imports.ui.windowManager.DIALOG_DESTROY_WINDOW_ANIMATION_TIME = this._origDialogTime;
if (WindowPreview) {
WindowPreview.prototype._deleteAll = this._origDeleteAll;
WindowPreview.prototype._restack = this._origRestack;
WindowPreview.prototype._init = this._origInit;
}
this._settings = null;
}
// ----------------------------------------------------------------------- private stuff
// This method adds one of the configured effects to the given actor. If forOpening is
// set to true, a effect from the enabled window-open animations is chosen, else an
// enabled window-close animation is used. This will also tweak the transitions of the
// given actor (e.g. scale it up if required).
_setupEffect(actor, forOpening) {
// 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() {
// Only add effects to normal windows and dialog windows.
// Get all currently available profiles.
const profileManager = new ProfileManager(this.metadata);
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;
return null;
}
// We do nothing if a dialog got closed and we should not burn them.
const shouldDestroyDialogs = this._settings.get_boolean('destroy-dialogs');
// ----------------------------------------------- choose a profile and then an effect
// If an effect is to be previewed, we have to affect dialogs es well. This is
// because the preview window is a dialog window...
const action = forOpening ? 'open' : 'close';
const previewNick = this._settings.get_string(action + '-preview-effect');
if (isDialogWindow && !shouldDestroyDialogs && previewNick == '') {
this._fixAnimationTimes(isDialogWindow, forOpening, null);
return;
}
// We may have to do nothing if running on battery power.
if (this._settings.get_boolean('disable-on-battery') && this._upowerProxy.OnBattery &&
previewNick == '') {
this._fixAnimationTimes(isDialogWindow, forOpening, null);
return;
}
// 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) {
actor.remove_effect(oldShader);
oldShader.endAnimation();
oldShader.returnToFactory();
}
// ------------------------------------------------------------------ choose an effect
// Now we chose a random effect from all enabled effects.
// 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;
// First we check if an effect is to be previewed.
// Hence, we first check if an effect is to be previewed.
const previewNick = this._settings.get_string('preview-effect');
if (previewNick != '') {
effect = this._ALL_EFFECTS.find(effect => effect.getNick() == previewNick);
// Only preview the effect once.
this._settings.set_string(action + '-preview-effect', '');
const activeProfile = this._settings.get_string('active-profile');
effect =
this._ALL_EFFECTS.find(effect => effect.constructor.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', '');
}
// Else we choose a random effect from all enabled effects.
}
// 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 {
// Therefore, we first create a list of all currently enabled effects.
// 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) {
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 this._settings.get_boolean(`${effect.getNick()}-${action}-effect`);
return profile.settings.get_boolean(
`${effect.constructor.getNick()}-enable-effect`);
});
// And then choose a random effect.
@@ -420,14 +530,27 @@ class Extension {
effect = enabled[Math.floor(Math.random() * enabled.length)];
}
}
// If nothing was enabled, we have to do nothing :)
if (effect == null) {
this._fixAnimationTimes(isDialogWindow, forOpening, null);
return;
}
// ----------------------------------------------------------- tweak actor transitions
// 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.
@@ -437,123 +560,64 @@ class Extension {
// 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(this._settings, forOpening, actor);
const actorScale =
effect.constructor.getActorScale(profile.settings, forOpening, actor);
// To make things deterministic during testing, we set the effect duration to 5
// seconds.
const duration =
testMode ? 5000 : this._settings.get_int(effect.getNick() + '-animation-time');
// All animations are relative to the window's center.
// 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;
// We tweak the opacity and scale of the actor. If there is no ongoing transition for
// a property, a new one is set up.
const config = {'opacity': 255, 'scale-x': actorScale.x, 'scale-y': actorScale.y};
for (const property in config) {
let transition = actor.get_transition(property);
// If there is currently no ongoing transition, we create a new one. Clutter does
// not like to create transitions with the same start and end value - however, we
// need at least one transition for our progress value in the shader. So we trick
// Clutter by creating an arbitrary transition first and then modifying the start
// and end values according to our config object.
if (!transition) {
actor.set_property(property, 0);
actor.save_easing_state();
actor.set_easing_duration(1000);
actor.set_property(property, 1);
actor.restore_easing_state();
// Now there should be a transition!
transition = actor.get_transition(property);
// 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) {
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;
}
// Tweak the transition according to the config object. For some reason, there are
// rare cases, where no transition is set up. This happens from time to time...
if (transition) {
transition.set_duration(duration);
transition.set_to(config[property]);
transition.set_from(config[property]);
transition.set_progress_mode(Clutter.AnimationMode.LINEAR);
}
}
// Once the transitions are finished, we restore the original actor size.
if (forOpening) {
const connectionID = actor.connect('transitions-completed', () => {
actor.scale_x = 1.0;
actor.scale_y = 1.0;
actor.disconnect(connectionID);
});
}
// -------------------------------------------------------------------- add the shader
// Now add a cool shader to our window actor!
const shader = effect.shaderFactory.getShader();
// There should always be an opacity transition going on...
const transition = actor.get_transition('opacity');
if (!transition) {
this._fixAnimationTimes(isDialogWindow, forOpening, null);
utils.debug('Cannot setup shader without opacity transition.')
return;
}
// Assign the effect to the window actor!
actor.add_effect_with_name('burn-my-windows-effect', shader);
// Set one-time uniforms.
shader.beginAnimation(this._settings, forOpening, duration * 0.001, actor);
// 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);
// Set other uniforms each frame.
transition.connect('new-frame', (t) => {
if (testMode) {
shader.updateAnimation(0.5);
} else {
shader.updateAnimation(t.get_progress());
if (actor._bmwOverviewClone) {
actor._bmwOverviewClone.overlayEnabled = true;
actor._bmwOverviewCloneContainer.scale_x = 1.0;
actor._bmwOverviewCloneContainer.scale_y = 1.0;
}
});
// Remove the effect if the animation finished or was interrupted.
// 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) {
transition.connect('stopped', () => {
const oldShader = actor.get_effect('burn-my-windows-effect');
if (oldShader) {
actor.remove_effect(oldShader);
oldShader.endAnimation();
oldShader.returnToFactory();
Main.wm._mapWindowDone(global.window_manager, actor);
} else {
Main.wm._destroyWindowDone(global.window_manager, actor);
}
});
}
// Finally, ensure that all animation times are set properly so that other extensions
// may guess how long it will take until windows are gone :)
this._fixAnimationTimes(isDialogWindow, forOpening, duration);
}
// To make things deterministic during testing, we set the effect duration to 5
// seconds.
const duration = testMode ?
5000 :
profile.settings.get_int(effect.constructor.getNick() + '-animation-time');
// The code below is not necessary for Burn-My-Windows to function. However, there
// are some extensions such as "Show Application View When Workspace Empty"
// https://extensions.gnome.org/extension/2036/show-application-view-when-workspace-empty/
// which do something *after* a window was closed. As the window-close animation
// duration depends on the used effect, this may vary each time a window is
// closed. We set the currently used time here, so that others can get an idea how
// long this will take...
_fixAnimationTimes(isDialogWindow, forOpening, duration) {
if (!forOpening) {
if (isDialogWindow) {
imports.ui.windowManager.DIALOG_DESTROY_WINDOW_ANIMATION_TIME =
duration != null ? duration : this._origDialogTime;
} else {
imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME =
duration != null ? duration : this._origWindowTime;
}
}
// 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
@@ -564,18 +628,9 @@ class Extension {
return true;
}
// This was called "realWindow" in GNOME 3.36.
const propertyName = utils.shellVersionIs(3, 36) ? 'realWindow' : '_windowActor';
const actor = workspace._windows[index][propertyName];
if (!actor.get_transition('scale-y')) {
return true;
}
const actor = workspace._windows[index]._windowActor;
const shader = actor.get_effect('burn-my-windows-effect');
return false;
return shader == null;
}
}
// This function is called once when the extension is loaded, not enabled.
function init() {
return new Extension();
}
-8
View File
@@ -1,8 +0,0 @@
// 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, 'uShake', effect.readConfig('Shake', 1.0));
effect.setUniform(this.shader, 'uTwirl', effect.readConfig('Twirl', 1.0));
effect.setUniform(this.shader, 'uSuction', effect.readConfig('Suction', 1.0));
effect.setUniform(this.shader, 'uRandomness', effect.readConfig('Randomness', 1.0));
+24 -14
View File
@@ -9,10 +9,10 @@
# | '_ \ || | '_| ' \)) | ' \()| || | \ 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: 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.
@@ -30,6 +30,14 @@ 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")
@@ -48,6 +56,9 @@ generate() {
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"
@@ -82,12 +93,12 @@ generate() {
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.desktop file. Again, we replace some placeholders.
cp metadata.desktop.in "$BUILD_DIR/$DIR_NAME/metadata.desktop"
perl -pi -e "s/%ICON%/$1/g;" "$BUILD_DIR/$DIR_NAME/metadata.desktop"
perl -pi -e "s/%NAME%/$2/g;" "$BUILD_DIR/$DIR_NAME/metadata.desktop"
perl -pi -e "s/%DESCRIPTION%/$3/g;" "$BUILD_DIR/$DIR_NAME/metadata.desktop"
perl -pi -e "s/%DIR_NAME%/$DIR_NAME/g;" "$BUILD_DIR/$DIR_NAME/metadata.desktop"
# 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
@@ -123,21 +134,20 @@ generate() {
}
# Now run the above method for all supported effects.
# The apparition effect is disabled for now. I have not yet found a way to upscale the
# window canvas during the animation.
#generate "apparition" "[BMW] Apparition" "This effect hides your windows by violently sucking them into the void of magic"
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 "doom" "Doom [Burn-My-Windows]" "Melt your windows"
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.
+7 -4
View File
@@ -1,4 +1,10 @@
<?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">
@@ -27,7 +33,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -56,9 +62,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+9 -6
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -24,7 +30,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -44,7 +50,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale:</string>
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -66,9 +72,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+9 -6
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -24,7 +30,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -44,7 +50,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale:</string>
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -66,9 +72,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+10 -7
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Gradient:</string>
<string>Gradient</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -23,9 +29,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
@@ -50,7 +53,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Movement Speed:</string>
<string>Speed</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -70,7 +73,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale:</string>
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -126,7 +129,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+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));
@@ -1,4 +1,10 @@
<?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">
@@ -11,21 +17,51 @@
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Randomness">
<property name="minimum">
<double>0.000000000000000</double>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale</string>
</property>
<property name="maximum">
<double>1.000000000000000</double>
<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="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
@@ -38,19 +74,9 @@
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Suction:</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_4">
<property name="text">
<string>Twirl:</string>
<string>Strength</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -60,37 +86,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Randomness:</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>Shake:</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_Suction">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Speed</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -98,17 +94,30 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Twirl">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>-10.000000000000000</double>
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Shake">
<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>
@@ -116,6 +125,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
@@ -1,22 +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>300</default>
<default>750</default>
</entry>
<entry name="Shake" type="Double">
<default>3</default>
<entry name="Scale" type="Double">
<default>1</default>
</entry>
<entry name="Twirl" type="Double">
<default>5</default>
<entry name="Strength" type="Double">
<default>2</default>
</entry>
<entry name="Suction" type="Double">
<default>0.75</default>
<entry name="Speed" type="Double">
<default>2</default>
</entry>
<entry name="Randomness" type="Double">
<default>0.5</default>
<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'));
+11 -8
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Line Color:</string>
<string>Line Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -43,9 +49,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
@@ -60,7 +63,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Glow Color:</string>
<string>Glow Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -70,7 +73,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Line Width:</string>
<string>Mesh Line Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -80,7 +83,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -90,7 +93,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale:</string>
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+3
View File
@@ -1,3 +1,6 @@
// 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.
+11 -8
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale:</string>
<string>Scale</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -26,9 +32,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
@@ -53,7 +56,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -63,7 +66,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Turbulence:</string>
<string>Turbulence</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -86,7 +89,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -106,7 +109,7 @@
<item row="4" column="1">
<widget class="QCheckBox" name="kcfg_UsePointer">
<property name="text">
<string>Start from Pointer Location</string>
<string>Start at Pointer</string>
</property>
</widget>
</item>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+3
View File
@@ -1,3 +1,6 @@
// 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.
+33 -22
View File
@@ -1,10 +1,5 @@
/*
This file is part of the Burn-My-Windows project.
SPDX-FileCopyrightText: 2018, 2021, 2022 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
*/
// 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";
@@ -14,7 +9,18 @@ const blacklist = [
"ksmserver-logout-greeter ksmserver-logout-greeter",
// KDE Plasma splash screen has to be animated only by the login effect.
"ksplashqml ksplashqml"
"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-aqua jetbrains-aqua",
"jetbrains-clion jetbrains-clion", "jetbrains-datagrip jetbrains-datagrip",
"jetbrains-dataspell jetbrains-dataspell", "jetbrains-goland jetbrains-goland",
"jetbrains-idea jetbrains-idea", "jetbrains-idea-ce jetbrains-idea-ce",
"jetbrains-phpstorm jetbrains-phpstorm", "jetbrains-pycharm jetbrains-pycharm",
"jetbrains-pycharm-ce jetbrains-pycharm-ce", "jetbrains-rider jetbrains-rider",
"jetbrains-rubymine jetbrains-rubymine", "jetbrains-webstorm jetbrains-webstorm"
];
class %EFFECT_CLASS% {
@@ -53,13 +59,16 @@ class %EFFECT_CLASS% {
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 isScaleWindow(window) {
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.
@@ -112,7 +121,7 @@ class %EFFECT_CLASS% {
if (effects.hasActiveFullScreenEffect) {
return;
}
if (!%EFFECT_CLASS%.isScaleWindow(window)) {
if (!%EFFECT_CLASS%.shouldAnimateWindow(window)) {
return;
}
if (!window.visible) {
@@ -124,10 +133,11 @@ class %EFFECT_CLASS% {
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.scaleInAnimation = animate({
window.bmwInAnimation = animate({
window: window,
curve: QEasingCurve.Linear,
duration: this.duration,
@@ -147,7 +157,7 @@ class %EFFECT_CLASS% {
if (effects.hasActiveFullScreenEffect) {
return;
}
if (!%EFFECT_CLASS%.isScaleWindow(window)) {
if (!%EFFECT_CLASS%.shouldAnimateWindow(window)) {
return;
}
if (!window.visible || window.skipsCloseAnimation) {
@@ -156,17 +166,18 @@ class %EFFECT_CLASS% {
if (effect.isGrabbed(window, Effect.WindowClosedGrabRole)) {
return;
}
if (window.scaleInAnimation) {
cancel(window.scaleInAnimation);
delete window.scaleInAnimation;
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.scaleOutAnimation = animate({
window.bmwOutAnimation = animate({
window: window,
curve: QEasingCurve.Linear,
duration: this.duration,
@@ -184,15 +195,15 @@ class %EFFECT_CLASS% {
slotWindowDataChanged(window, role) {
if (role == Effect.WindowAddedGrabRole) {
if (window.scaleInAnimation && effect.isGrabbed(window, role)) {
cancel(window.scaleInAnimation);
delete window.scaleInAnimation;
if (window.bmwInAnimation && effect.isGrabbed(window, role)) {
cancel(window.bmwInAnimation);
delete window.bmwInAnimation;
this.cleanupForcedRoles(window);
}
} else if (role == Effect.WindowClosedGrabRole) {
if (window.scaleOutAnimation && effect.isGrabbed(window, role)) {
cancel(window.scaleOutAnimation);
delete window.scaleOutAnimation;
if (window.bmwOutAnimation && effect.isGrabbed(window, role)) {
cancel(window.bmwOutAnimation);
delete window.bmwOutAnimation;
this.cleanupForcedRoles(window);
}
}
-21
View File
@@ -1,21 +0,0 @@
[Desktop Entry]
Name=%NAME%
Icon=preferences-system-windows-effect-%ICON%
Comment=%DESCRIPTION%
Type=Service
X-KDE-ServiceTypes=KWin/Effect,KCModule
X-KDE-PluginInfo-Author=Vlad Zahorodnii, Martin Flöser, Simon Schneegans
X-KDE-PluginInfo-Email=vlad.zahorodnii@kde.org, mgraesslin@kde.org, code@simonschneegans.de
X-KDE-PluginInfo-Name=%DIR_NAME%
X-KDE-PluginInfo-Version=1
X-KDE-PluginInfo-Category=Window Open/Close Animation
X-KDE-PluginInfo-License=GPLv3
X-KDE-PluginInfo-EnabledByDefault=false
X-KDE-Ordering=60
X-Plasma-API=javascript
X-Plasma-MainScript=code/main.js
X-KDE-PluginKeyword=%DIR_NAME%
X-KDE-Library=kcm_kwin4_genericscripted
X-KWin-Config-TranslationDomain=kwin_effects
X-KWin-Exclusive-Category=toplevel-open-close-animation
+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
+7 -4
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -33,9 +39,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+7 -4
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -33,9 +39,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+3
View File
@@ -1,3 +1,6 @@
// 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.
+7 -4
View File
@@ -1,4 +1,10 @@
<?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">
@@ -14,7 +20,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -33,9 +39,6 @@
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
+6
View File
@@ -1,4 +1,10 @@
<?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="" />
+3
View File
@@ -1,3 +1,6 @@
// 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.
+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>
@@ -1,3 +1,6 @@
// 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.
+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>
+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'));
+8 -5
View File
@@ -1,4 +1,10 @@
<?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">
@@ -13,9 +19,6 @@
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration">
<property name="suffix">
<string> milliseconds</string>
</property>
<property name="minimum">
<number>100</number>
</property>
@@ -37,7 +40,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Duration:</string>
<string>Animation Time [ms]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -47,7 +50,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
<string>Color</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

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