Giter VIP home page Giter VIP logo

kwin-grayscale-effect's People

Contributors

aubertc avatar murat-cileli avatar skbeh avatar theamogh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kwin-grayscale-effect's Issues

plasma6 alpha compatibility steps

Nov 19 19:46:03 hello kwin_wayland[47984]: KPackageStructure of KPluginMetaData(pluginId:"kwin4_effect_grayscale", fileName: "/usr/share/kwin/effects/kwin4_effect_grayscale/metadata.json") does not match requested format "KWin/Effect"

metadata.json
{
  +"KPackageStructure": "KWin/Effect",
  "KPlugin": {

the above can be fixed by adding "KPackageStructure": "KWin/Effect" to metadata.json but then I get this error:

Nov 19 20:06:27 hello kwin_wayland[47984]: kwin_scripting: /usr/share/kwin/effects/kwin4_effect_grayscale/contents/code/main.js:87: error: Cannot call method 'connect' of undefined

the plugin works if I comment out line 87,88 in main.js, dont know if there is any ill effects

 main.js
    effects.windowActivated.connect(grayscaleEffect.windowActivated);
 /*   effects['desktopChanged(int,int)'].connect(grayscaleEffect.desktopChanged);
    effects.desktopPresenceChanged.connect(grayscaleEffect.restartAnimation); */
    effects.windowClosed.connect(grayscaleEffect.cancelAnimation);

bind is not possible

it is not possible to bind this effect, and this is very important to not open system settings every time I need to disable|enable this function

[Feature Request] Exclude a Software from the Grayscale Effect

Would it be possible to exclude a software from the Grayscale effect.

I would like to have colors in educational software only (Anki and GoldenDict) and leave the rest in Grayscale.

Would it be possible to implement that feature ?


Thanks for your great work !

Feature Request: greyscale with a coloured tint

For example, white becomes light orange, grey becomes dark orange, black stays black- but with any colour the user picks. This would let people create a "sepia" effect, or keep the reduced eyestrain that tools like Redshift give (but with better saturation, closer to the original image), or just pick their favourite colour because it's fun.

Windows on minimizing leaving an afterimage [Wayland]

As you can see in the attached video, on enabling the grayscale effect and trying to minimize the settings app, it is leaving an afterimage.

2023-02-27.21-22-13.mp4

On a side note, it is a much needed effect and I really appreciate the work you have done.

[ Specifications ]
Operating System: EndeavourOS
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.