RPWS(1)
β¨ RPWS(1) β¨
okay bestie, so this is a page from the User Contributed Perl Documentation section of the manual π
and it's literally about rpws β the thing that gives ratpoison multiple workspaces. no cap. let's get into it π«Ά
πΈ NAME πΈ
rpws β bestie, it implements multiple workspaces in ratpoison. that's the whole vibe. β¨
π SYNOPSIS π
like, here's how you actually talk to it:
rpws init n [-k] [-a] - setup rpws with n workspaces.
-a sets up command aliases;
-k sets up key bindings and aliases.
rpws dump <fname> - dumps the current layout to <fname>
rpws restore <fname> - restores rpws workspaces from <fname>
rpws current - print the current workspace
rpws help - this documentation
rpws n - switch to this workspace
so like β -a sets up command aliases, -k sets up key bindings and aliases, and yeah you can do both at once if you're feeling β¨ambitiousβ¨.
π DESCRIPTION π
rpws gives you multiple workspaces in ratpoison by making calls to fdump and freestore. it was adapted from rpws which comes with ratpoison in the contrib directory. so it's lowkey a glow-up of an original π¦
π USAGE π
first things first, bestie β drop this line into ~/.ratpoisonrc:
exec /path/to/rpws init 6 -k
this creates 6 aliases: rpws1, rpws2, etc. and it also binds the keys M-F1, M-F2, etc. to each rpwsN alias. the way that works is genuinely iconic.
moreover, rpwsn (Next) and rpwsp (Prev) are created, and C-M-{Right,Left} are bound to rpws{n,p}. and then β not me being obsessed with this part β aliases rpwsm1, rpwsm2, etc. and rpwsm{n,p} are used to move the focused window to another workspace. main character window behavior fr fr π
full list of keybindings created are:
M-F$i Goto workspace $i
C-M-Right Goto Next workspace
C-M-Left Goto Prev workspace
C-M-S-F$i Move window to workspace $i
C-M-greater Move current window to next workspace
C-M-less Move current window to prev workspace
ποΈ FILES ποΈ
rpws requires use of a lockfile, no exceptions bestie π it defaults to using /tmp/rpws.<UID>.lock but you can change that by setting the environment variable RPWS_LOCKFILE to your desired lockfile. slay, customizable.
lowkey important: it requires the lockfile. that's not optional energy.
π§ AUTHOR π§
Mike O'Connor <stew@vireo.org> β thank you for your service king π«Ά
π COPYRIGHT π
Copyright (c) 2005 Mike O'Connor All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
okay the caps lock on WITHOUT ANY WARRANTY is doing a lot of heavy lifting there but it means it, bestie π
and that's the whole page π this was perl v5.28.1, dated 2019-01-30, filed under RPWS(1). periodt. go set up ur workspaces and thrive β¨ππ
π¦ where this page comes from
- ubuntu jammy: ratpoison 1.4.9-1
- ubuntu noble: ratpoison 1.4.9-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms