1
0
Command-line script to rename virtual desktops
Go to file
2026-04-25 22:21:59 -07:00
.gitignore Initial commit 2026-04-07 02:23:42 -04:00
LICENSE Initial commit 2026-04-07 02:23:42 -04:00
pyproject.toml Refactor to allow installation via pipx. 2026-04-25 14:52:46 -07:00
README.md Fix typo. 2026-04-25 14:54:46 -07:00
rename_desktop.py Do include newline at end of get-desktop-name --all. 2026-04-25 22:21:59 -07:00

rename-desktop

Originally posted by Dave Vogt at https://superuser.com/a/734211 Modified to run on Python 3.

Install

Use pipx to install:

pipx install https://git.aweirdimagination.net/perelman/rename-desktop/archive/main.zip

Usage

USAGE:
   rename-desktop NAME_OF_NEW_DESKTOP    - sets current desktop name
   rename-desktop NR NAME_OF_NEW_DESKTOP - sets name of NRth desktop

Also provides a script get-desktop-name:

USAGE:
   get-desktop-name NR         - gets name of NRth desktop
   get-desktop-name --current  - gets current desktop name
   get-desktop-name --all      - gets all desktop names (newline separated)
   get-desktop-name --all0     - gets all desktop names (null separated)