Skip to content

Simple Perl script for relative desktop changes using wmctrl

Notifications You must be signed in to change notification settings

nstgeorge/rotatewm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

RotateWM

This is a simple script I wrote that allows you to easily change your workspace relative to your current one. Any system with a working install of wmctrl should work with this script.

I initially created this as a simple workaround to add macOS-style gesture controls to my Razer Blade Manjaro+Budgie install. It works great!

Install

Run the following commands.

git clone https://github.com/StGerGer/rotatewm.git
ln -s [install location]/rotatewm.pl /usr/local/bin/rotatewm

If you are unable to run the program, you may need to run chmod +x rotatewm.pl.

Usage

rotatewm.pl [offset]

Offset is how far you want to move from your current workspace. -1 will move you one workspace left, 2 will move you two workspaces right.

I highly recommend combining this with libinput-gestures if you're on a laptop!

About

Simple Perl script for relative desktop changes using wmctrl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages