BSD Ports

x11/swayr 0.28.3_1 FreeBSD

Urgent-first/LRU window switcher for sway

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
GPLv3+
Categories
x11
Package size
981.1 KiB, 3052.3 KiB installed

Description

Swayr consists of a demon, and a client. The demon swayrd records window/workspace creations, deletions, and focus changes using sway's JSON IPC interface. The client swayr offers subcommands, see swayr --help, and sends them to the demon which executes them.

Right now, there are these subcommands: * switch-window displays all windows in the order urgent first, then last-recently-used, focused last and focuses the selected. * quit-window displays all windows and quits the selected one. * switch-to-urgent-or-lru-window switches to the next window with urgency hint (if any) or to the last recently used window. * switch-workspace displays all workspaces in LRU order and switches to the selected one. * switch-workspace-or-window displays all workspaces and their windows and switches to the selected workspace or window. * quit-workspace-or-window displays all workspaces and their windows and allows to quit either the selected workspace (all its windows) or the selected window. * next-window (all-workspaces|current-workspace) & prev-window (all-workspaces|current-workspace) focus the next/previous window in depth-first iteration order of the tree. The argument all-workspaces or current-workspace define if all windows of all workspaces or only those of the current workspace are considered. * next-tiled-window & prev-tiled-window do the same as next-window & prev-window but switch only between windows contained in a tiled container. * next-tabbed-or-stacked-window & prev-tabbed-or-stacked-window do the same as next-window & prev-window but switch only between windows contained in a tabbed or stacked container. * next-floating-window & prev-floating-window do the same as next-window & prev-window but switch only between floating windows. * next-window-of-same-layout & prev-window-of-same-layout is like next-floating-window / prev-floating-window if the current window is floating, it is like next-tabbed-or-stacked-window / prev-tabbed-or-stacked-window if the current window is in a tabbed, or stacked container, it is like next-tiled-window / prev-tiled-window if the current windows is in a tiled container, and is like next-window / prev-window otherwise. * execute-swaymsg-command displays most swaymsg which don't require additional input and executes the selected one. That's handy especially for less often used commands not bound to a key. Non-matching input will be executed executed as-is with swaymsg. * execute-swayr-command displays all commands above and executes the selected one. (This is useful for accessing swayr commands which are not bound to a key.) * tile-workspace exclude-floating|include-floating tiles all windows on the current workspace (excluding or including floating ones). That's done by moving all windows away to some special workspace, setting the current workspace to splith layout, and then moving the windows back. If the auto_tile feature is used, see the Configuration section below, it'll change from splitting horizontally to vertically during re-insertion. * shuffle-tile-workspace exclude-floating|include-floating shuffles & tiles all windows on the current workspace. The shuffle part means that (a) the windows are shuffled before re-insertion, and (b) a randomly chosen already re-inserted window is focused before re-inserting another window. So while tile-workspace on a typical horizontally oriented screen and 5 windows will usually result in a layout with one window on the left and all four others tiled vertially on the right, shuffle-tile-workspace in combination with auto_tile usually results in a more balanced layout, i.e., 2 windows tiled vertically on the right and the other 4 tiled vertially on the left. If you have less than a handful of windows, just repeat shuffle-tile-workspace a few times until happenstance creates the layout you wanted. * tab-workspace exclude-floating|include-floating puts all windows of the current workspace into a tabbed container. * toggle-tab-shuffle-tile-workspace exclude-floating|include-floating toggles between a tabbed and tiled layout, i.e., it calls shuffle-tile-workspace if it is currently tabbed, and calls shuffle-tile-workspace if it is currently tiled. * move-focused-to-workspace moves the currently focused window or container to another workspace selected with the menu program. Non-matching input of the form #w:<workspace> where the hash and w: shortcut are optional can be used to move it to a new workspace.

In the other systems

SystemPortVersion
FreeBSDx11/swayr0.28.3_1
DragonFlyx11/swayr0.28.1
HardenedBSDx11/swayr0.28.3
GhostBSDx11/swayr0.28.2_6

Install

Binary package:

pkg install swayr

From the ports tree:

cd /usr/ports/x11/swayr/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	swayr>0:x11/swayr

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.28.30.28.3_1-0.28.1_30.28.3_1
FreeBSD:14:quarterly0.28.30.28.3n/a0.28.1_20.28.3
FreeBSD:15:latest0.28.3_10.28.3_1n/a0.28.1_30.28.1_3
FreeBSD:15:quarterly0.28.30.28.3n/an/an/a
FreeBSD:16:latest0.28.30.28.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Files

distinfo 79
FileSizeSHA256
rust/crates/swayr-0.28.3.crate60434b96e00ac140e7a846113c0fea6487a0f98788a5315f260ceacfee506f1c2d5cb
rust/crates/aho-corasick-1.1.5.crate184315c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba
rust/crates/anstream-1.0.0.crate28916824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d
rust/crates/anstyle-1.0.14.crate17787940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000
rust/crates/anstyle-parse-1.0.0.crate2204252ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e
rust/crates/anstyle-query-1.1.5.crate1026440c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc
rust/crates/anstyle-wincon-3.0.11.crate12638291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/cfg-if-1.0.4.crate93609330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801
rust/crates/chacha20-0.10.1.crate38187d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81
rust/crates/clap-4.6.6.crate64815473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca
rust/crates/clap_builder-4.6.6.crate1717567b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889
rust/crates/clap_derive-4.6.4.crate33533d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061
rust/crates/clap_lex-1.1.0.crate13470c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9
rust/crates/colorchoice-1.0.5.crate81871d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570
rust/crates/cpufeatures-0.3.0.crate141568b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201
rust/crates/defmt-1.1.1.crate34207e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1
rust/crates/defmt-macros-1.1.1.crate27937bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8
rust/crates/defmt-parser-1.0.0.crate1088110d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e
rust/crates/directories-6.0.0.crate1784216f5094c54661b38d03bd7e50df373292118db60b585c08a411c6d840017fe7d
Master sites 1
  • CRATESIO/swayr/${DISTNAME}${CARGO_CRATE_EXT}

Commit history 5

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
162d8b0284 Jan Beich all: unbreak fetch after bc18f00c490c
fetch: https://static.crates.io/crates/cargo-c/0.10.25+cargo-0.99.0?dummy=/rust/crates/cargo-c-0.10.25+cargo-0.99.0.crate: Forbidden fetch: https://static.crates.io/crates/desed/1.2.2?dummy=/rust/crates/desed-1.2.2.crate: Forbidden fetch: https://static.crates.io/crates/fsx/0.3.2?dummy=/rust/crates/fsx-0.3.2.crate: Forbidden fetch: https://static.crates.io/crates/gbump/1.3.0?dummy=/rust/crates/gbump-1.3.0.crate: Forbidden fetch: https://static.crates.io/crates/bindgen-cli/0.72.1?dummy=/rust/crates/bindgen-cli-0.72.1.crate: Forbidden fetch: https://static.crates.io/crates/cbindgen/0.29.4?dummy=/rust/crates/cbindgen-0.29.4.crate: Forbidden fetch: https://static.crates.io/crates/doh-proxy/0.9.16?dummy=/rust/crates/doh-proxy-0.9.16.crate: Forbidden …
70d7fe6f08 Jan Beich x11/swayr: update to 0.28.3
Changes: https://git.sr.ht/~tsdh/swayr/log/swayr-0.28.3 Reported by: Repology
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645