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

Overview

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

You might also like...

Script to fetch all NFT owners using moralis API. This script output is a data.txt file containing all owner addresses of a given NFT and their balances.

Script to fetch all NFT owners using moralis API. This script output is a data.txt file containing all owner addresses of a given NFT and their balances.

🔎 Moralis NFT Snapshot Moralis NFT API will only return 500 itens at a time when its is called. For that reason, a simple logic is needed to fetch al

Jun 23, 2022

Script to synchronize between a Notion database and Google Calendar both ways. Uses Google App Script.

Yet Another Two Way Notion-Google Calendar Sync Script A script to sync events between Google calendar and a Notion database. Features! Google App Scr

Jan 7, 2023

❤️ A heart-shaped toggle switch component for React.

❤️ A heart-shaped toggle switch component for React.

heart-switch A heart-shaped toggle switch component for React. Inspired by Tore Bernhoft's I heart toggle Dribbble shot. 📖 Table of Contents 🚀 Getti

Dec 15, 2022

Automatically switch Terminal profile based on dark / light mode

Automatically switch Terminal profile based on dark / light mode

auto-terminal-profile Automatically switch the macOS Terminal profile based on the system-wide dark / light appearance mode Prerequisites Node.js 14-1

Jan 2, 2023

Switch case syntax for Svelte ✨

Switch case syntax for Svelte ✨

Svelte switch case Switch case syntax for your Svelte components. Demo · StackBlitz · NPM Package ⚡ Getting started Step 1: Add the preprocessor to yo

Dec 30, 2022

Pure CSS toggle switch

Pure CSS toggle switch demo install npm i toggle-switch-css or yarn add toggle-switch-css use label class="toggle-switch my-toggle-switch" in

Sep 14, 2021

switch Alternate Style Sheets

alternate-stylesheets.js switch Alternate Style Sheets Installation npm $ npm install alternate-stylesheets yarn $ yarn add alternate-stylesheets Usag

Dec 11, 2021

Storybook Addon Root Attributes to switch html, body or some element attributes (multiple) at runtime for you story

Storybook Addon Root Attributes to switch html, body or some element attributes (multiple) at runtime for you story

Storybook Addon Root Attributes What is this This project was inspired by le0pard/storybook-addon-root-attribute The existing library received only on

Sep 6, 2022
Releases(v1.0.0)
Owner
Shaan Subbaiah
Shaan Subbaiah
Empty project with configured webpack, type script and es-lint

Empty project template Empty project with configured webpack, typescript and es-lint Easy to use: Download project files Go to project root directory

Kris Casper 56 Dec 20, 2022
A simple CLI Tools to Empty Crypto Wallet & Send to your other Wallet Address

A simple CLI tools to empty crypto wallet & send to your other wallet, Build with Nodejs using Ethers API Run Locally Clone the project git clone ht

Raihan Ramadhani 11 Dec 29, 2022
SAP Community Code Challenge: This repository contains an empty OpenUI5 application and end-to-end tests written with wdi5. Take part in the challenge and develop an app that passes the tests.

SAP Community Code Challenge - UI5 The change log describes notable changes in this package. Description This repository is the starting point for the

SAP Samples 8 Oct 24, 2022
This repo is a collection of code samples and links to previous twitch live stream sessions. If you have any ideas or suggestions for future episodes, feel free to open an issue.

Talk DEV to me Talk DEV to me is a monthly show on twitch.tv/aws hosted by Tiago Barbosa and Alex Melnyk, where we invite customers, partners, or Amaz

AWS Samples 122 Jan 6, 2023
Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances

snapshots Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances. Motivation There are several instances in which one may wa

Saber 13 Jun 7, 2022
🎊 Source code of the previous version of swoth.xyz.

swoth.xyz Developed with ?? by Swôth ?? Usage Install packages. $ npm install Start development server at ::3000 port. $ npm run dev Build for product

Swôth 11 Dec 17, 2022
A remake of the previous project (awsm-books) using proper ES6 syntax.

Awesome-Books-ES6 A remake of the previous project (awsm-books) using proper ES6 syntax. Built With: HTML CSS SCSS JavaScript Live Demo: Live Demo Get

Gabriel Fonseca 4 Jun 23, 2022
In this project, I restructure my previous Awesome books app code. The goal is to practice ES6 syntax and also make the code more organized by using ES6 modules.

Awesome Books In this project, I will restructure my previous Awesome books app code. The goal is to make it more organized by using modules. I will a

Sidney Kaguli 9 Aug 23, 2022
Desktop App for mdSilo: Tiny Knowledge silo on your desktop.

mdSilo A mind silo for storing ideas, thought, knowledge with a powerful writing tool. built with React and Tauri. Demo Discord This is desktop app, a

D.Loh 203 Dec 27, 2022
This provides an extension integration with Docker Desktop to run k9s quickly and easily through the Docker Desktop interface.

k9s extension for Docker Desktop This provides an extension integration with Docker Desktop to allow k9s quickly and easily through the Docker Desktop

James Spurin 14 Dec 16, 2022