9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
16 rev = "521fbf92738f44be438d3be6bdd665f02ac9d35c";
17 hash = "sha256-6hGEcJz+zGfwz1q+XKQYfyJJK7lr+kCgk2/uiq1xP0M=";
20 cargoHash = "sha256-zoV2vy41fVsX8BtddURqQymMX4Zpso+GOBBqoVr3tYo=";
22 nativeBuildInputs = [ python3 ];
23 buildInputs = [ libxcb ];
29 description = "Automatically change sway workspace names based on their contents";
30 mainProgram = "swaywsr";
32 Automatically sets the workspace names to match the windows on the workspace.
33 The chosen name for a workspace is a composite of the app_id or WM_CLASS X11
34 window property for each window in a workspace.
36 homepage = "https://github.com/pedroscaff/swaywsr";
37 license = licenses.mit;
38 maintainers = [ maintainers.sebbadk ];