split-monitor-workspaces
812
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Lua
语言
—
创建时间
最近更新
项目能做什么
为 Hyprland 提供类似 awesome 工作区行为的轻量 Lua 扩展。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# split-monitor-workspaces
[](https://github.com/zjeffer/split-monitor-workspaces/actions/workflows/luacheck.yml)
A lua package for Hyprland to provide `awesome`/`dwm`-like behavior with workspaces: split them between monitors and provide independent numbering.
The package features an easy-to-use API to focus or move windows to the `n`th workspace on the active monitor (with for example `SUPER + <N>`, `N` being a number on your keyboard) without having to set up complicated rules yourself. It also provides functionality to create persistent workspaces on each monitor at Hyprland startup, as well as dynamically when new monitors are connected.
It's explicitly compatible with [the hy3 plugin](https://github.com/outfoxxed/hy3): we automatically detect if hy3 is installed, and if it is we'll use hy3's dispatchers instead of Hyprland's.
## Requirements
- Hyprland >= 0.55.0
If you're using an older version of Hyprland, or have not yet switched to the new Lua config, you can use the [cpp plugin](./docs/cpp-plugin.md) instead, which provides the same functionality.
This method will be deprecated when Hyprland 0.57.0 releases.
## Installation
Simply clone the repository into your `~/.config/hypr/plugins` directory, and require the package in your Hyprland config.
```sh
mkdir -p ~/.config/hypr/plugins
cd ~/.config/hypr/plugins
git clone https://github.com/zjeffer/split-monitor-workspaces
```
```lua
-- somewhere in your Hyprland config
package.path = package.path .. ";./?.lua;./?/init.lua"
local smw = require("plugins.split-monitor-workspaces")
```
If you're on the latest Hyprland git commit, simply use the `main` branch. Run `git pull` to get the latest changes every time there is an update.
If you're on a Hyprland release branch, make sure to checkout the corresponding release branch of this plugin, like so:
```sh
# if you're on a 0.55 release, simply run this inside the split-monitor-workspaces repo:
git fetch -Ppft && git checkout release/0.55.x
# if you want to use a specific release instead of a branch, see the https://github.com/zjeffer/split-monitor-workspaces/tags page for a list of all possible tags. For example:
git checkout v0.55.4
```
Make sure you always pull the latest changes with `git pull` when Hyprland has a new minor release, and checkout the new `release/0.XX.x` branch whenever a new major release is created. If there is no release branch yet, create a GitHub issue.
## Usage
Now that the `smw` package is imported, you can call the `setup()` function with your desired configuration.
Minimal example:
```lua
smw.setup({
workspace_count = 5, -- This will create 5 persistent workspaces on each monitor at startup
})
```
You can set up keybinds like so:
```lua
local mainMod = "SUPER"
for i = 1, smw.get_amount_of_workspaces() do
local n = tostring(i)
if n == "10" then n = "0" end -- Optional if you
阅读完整原文
项目深度分析 AI 生成
商业化全套开箱即用 Linux 极客桌面环境配置包(Dotfiles-as-a-Product)
| 产品构想 | 整合该插件、Waybar、Hyprland 及自研跨屏幕快捷调度脚本,打造针对开发者的专业预配置桌面方案,通过 Gumroad 或赞助渠道提供持续更新支持与安装脚本。 |
| 核心功能 | 一键部署脚本、多显示器工作区自适应策略、开箱即用的 Waybar/Rofi 主题与交互状态同步、Hyprland 大版本升级平滑迁移工具。 |
| 目标用户 | 渴望使用多屏 Hyprland 提升效率但缺乏时间从零配置(Ricing)的专业程序员和设计师。 |
| 难度/周期 | 中等 · 1-2 个月 · 成本:极低(主要是配置编写与跨硬件测试时间成本) |
| 收费模式 | 一次性买断配置分发包;按月/年订阅获取版本兼容更新与会员 Discord 支持群。 |
| 竞争风险 | Hyprland API 变动频繁导致维护成本过高;Linux 桌面社区版权敏感且普遍抵触 Dotfiles 付费。 |
| 依据 | AI推测 |
跨平台/跨桌面多屏工作流调度工具扩展(SaaS/付费桌面小工具)
| 产品构想 | 基于该项目解决的核心痛点(多显示器工作区独立编号与无缝移动),构建一个通用型多显示器高级窗口管理器套件,适配多平台或更多 Wayland 合成器。 |
| 核心功能 | 图形化显示器工作区绑定设置、快捷键工作区独立映射、持久化布局管理、多显示器窗口批量分配预设。 |
| 目标用户 | 从事金融量化、监控运维、多屏多任务办公的重度多显示器桌面用户。 |
| 难度/周期 | 高 · 3-6 个月 · 成本:开发设备与跨系统测试机投入 |
| 收费模式 | Freemium 模式(基础分屏开源免费,高级多显示器场景配置与状态同步付费)。 |
| 竞争风险 | Wayland 生态碎片化严重;目标用户群体规模有限,商业化漏斗极窄。 |
| 依据 | 尚需验证的假设 |
开发者社区赞助与开源赞助计划(Sponsorship / Bounties)
| 产品构想 | 保持插件纯开源,通过 GitHub Sponsors、Open Collective 设立赏金机制,承接高版本 Hyprland 兼容跟进、新功能(如更多插件兼容)的开发赏金。 |
| 核心功能 | 及时的 upstream 版本跟进(如 Hyprland 0.57+ 兼容)、Bug 优先修复通道、定制特性优先合并。 |
| 目标用户 | 依赖此插件进行日常工作的 Hyprland 极客用户及相关开源组织。 |
| 难度/周期 | 低 · 持续 · 成本:个人时间维护成本 |
| 收费模式 | GitHub Sponsors 订阅赞助;Issue 赏金(Bountysource/Algora)。 |
| 竞争风险 | 整体收入极低,仅能作为补贴,难以形成可持续的商业闭环。 |
| 依据 | 已验证事实 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 |
| 社区活跃 | Star 812 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。