Code Monkey home page Code Monkey logo

kwin-cycle-non-empty-desktops's Introduction

kwin-cycle-non-empty-desktops

KWin Script to switch to the next or previous non empty virtual desktop.

Installation

Method 1: From the KDE Store

Go to System Settings -> Window Management -> KWin Scripts -> Get New Scripts

Search for 'KWin Cycle Non Empty Desktops'

Click the Install button

NOTE: The direct store URL is https://store.kde.org/p/1700772

Method 2: From kwinscript file

Visit the releases section and download the .kwinscript file.

After that, you will be able to select this file in System Settings -> Window Management -> KWin Scripts -> Install from File.

Method 3: From source

To install, run:

git clone https://github.com/shaansubbaiah/kwin-cycle-non-empty-desktops
kpackagetool5 --type=KWin/Script -i kwin-cycle-non-empty-desktops

To update, run:

git clone https://github.com/shaansubbaiah/kwin-cycle-non-empty-desktops &&  kpackagetool5 --type=KWin/Script -u kwin-cycle-non-empty-desktops

Note: You will need to disable then enable script from System Settings -> Window Management -> KWin Scripts for changes to take effect. You may also need to log out and back into the Plasma session for changes to take effect.


To uninstall, run:

kpackagetool5 --type=KWin/Script -r kwin-cycle-non-empty-desktops

After installing the script, it must be also enabled in the System Settings.

Configuration

The default shortcuts are:

Meta+Shift+S - To Switch to the Next Non-Empty Desktop

Meta+Shift+W - To Switch to the Previous Non-Empty Desktop

Change them by going to System Settings -> Shortcuts -> Search for "Next Non-Empty Desktop" or "Previous Non-Empty Desktop"

Development

Open the Plasma Desktop Scripting Console using:

plasma-interactiveconsole --kwin

View output/logs using ksystemlog and filter for kwin_x11

Package .kwinscript using:

zip -r kwin-cycle-non-empty-desktops.kwinscript contents/ LICENSE metadata.desktop

Plasma KWin Scripting Docs - https://develop.kde.org/docs/extend/plasma/kwin/

README adapted from wsdfhjxc/kwin-scripts and darkstego/Mudeer

kwin-cycle-non-empty-desktops's People

Contributors

shaansubbaiah avatar vistaus avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

vistaus

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.