sway-workspace-manager

Crates.iosway-workspace-manager
lib.rssway-workspace-manager
version2.1.0
sourcesrc
created_at2022-08-12 03:11:16.803248
updated_at2022-09-10 05:13:53.762239
descriptionA dynamic workspace manager for sway
homepage
repositoryhttps://github.com/oati/sway-workspace-manager
max_upload_size
id643726
size58,326
Erin Kim (oati)

documentation

README

Sway Workspace Manager

A dynamic workspace manager for sway.

This project is an interface for sway workspace operations. It ensures that after any operation, workspace numbers will correspond to their indices on the list of open workspaces. Most notably, this program allows you to create a workspace between any two existing workspaces.

This program only manages workspace numbers. "Workspace names" that follow the numbers will be left untouched.

Usage

sway-workspace-manager VERB TARGET [--daemon] [--cycle] [--extra]

Supported verbs are reorder switch move create move-to-new swap rename.

reorder will only fix the workspace numbers, and does not require a target. rename renames the current workspace to workspace_num:TARGET.

For all other verbs, TARGET must be prev next start end or a 1-indexed workspace number.

--daemon only applies to the reorder verb, and sets the program to reorder automatically on "workspace close" events.

--cycle only affects the program's behavior when the target is prev or next, and when the verb is switch move or swap.

When the target is a number, --extra will allow switch and move to create a new workspace at the end of the workspace list.

Commit count: 33

cargo fmt