Giter Site home page Giter Site logo

rubixdev / kwin-types Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 28 KB

Type declarations for KWin's scripting API

License: GNU General Public License v2.0

Shell 100.00%
typescript type-definitions type-declarations kwin kwin-script typescript-definitions

kwin-types's Introduction

kwin-types

Type declarations for KWin's scripting API

This repository contains TypeScript type declarations for KWin scripts, based on KWin's source code and the docs here and here

I can not guarantee these to be fully correct. Any issues, help or suggestions are greatly appreciated and can be submitted at the Issues tab.

An example on how to use these declarations is available here

kwin-types's People

Contributors

itsgabereal avatar rubixdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jglanz mpavleski

kwin-types's Issues

Suggestion: Add workspace.cursorPos and workspace.cursorPosChanged

These two properties were added to the KWin API in this commit.

They can be added to the WorkspaceWrapper class in kwin.d.ts:

cursorPos

/**
 * The current position of the cursor.
 */
readonly cursorPos: QPoint

cursorPosChanged

/**
 * This signal is emitted when the cursor position changes.
 * @see {@link cursorPos}
 */
readonly cursorPosChanged: Signal<() => void>

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.