GithubHelp home page GithubHelp logo

dflock / swap-xfce-workspaces Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 25 KB

Swap/move the current Xfce workspace (and all its windows), with either the next, previous or a specified target workspace.

License: GNU General Public License v2.0

Shell 100.00%
xfce workspace xfwm workspaces

swap-xfce-workspaces's Introduction

swap-xfce-workspaces

Swap/move the current Xfce workspace, with either the next, previous or a specified target workspace.

Requirements

You need wmctrl installed. See: https://www.freedesktop.org/wiki/Software/wmctrl/

For Xubuntu, you can do:

$ sudo apt install wmctrl

Installation

$ sudo cp swap-xfce-workspaces.sh /usr/bin/swap-xfce-workspaces

Usage

Swap with specific workspace, by ID

You can swap the current workspace with any other by passing in the target workspace id:

$ swap-xfce-workspaces <target workspace id>
Note
This expects XFCE workspace numbers, which start from 1.

Swap with previous or next workspace

This will move the current workspace left or right, by swapping it with the previous or next workspace:

$ swap-xfce-workspace prev
$ swap-xfce-workspace next

Credits

The rename desktop code came from https://github.com/ngeiswei/rename-xfce-workspace

swap-xfce-workspaces's People

Contributors

dflock avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.