nzig / sway-new-workspace Goto Github PK
View Code? Open in Web Editor NEWA command to create new Sway workpaces
License: MIT License
A command to create new Sway workpaces
License: MIT License
If the current state has duplicate nums, it results on selecting one of the duplicates (the first duplicate).
In the following example, the workspace 5 is duplicated.
$ swaymsg -t get_workspaces | jq .[].num
5
9
4
10
1
2
3
4
5
7
This will result in sway-new-workspace selecting 5 instead of 6.
I'm preparing something to fix the issue.
Hello, I am using a setup with 3 displays (1 primary laptop plus 2 external monitors). My workspaces in Sway are arranged as follows:
Laptop: 0 1 2 3
Mon0: 4 5 6
Mon1: 7 8 9
Issue: When focused on either of the external monitors (Mon0 or Mon1) and attempting to create a new workspace, the system doesn't open the workspace on the currently focused monitor. Instead, it defaults to creating workspace number 1 and automatically assigns it to the laptop display.
For example:
Laptop: Workspace 0 is assigned.
Mon0: Workspaces 4, 5, and 6 are assigned.
Mon1: Workspaces 7, 8, and 9 are assigned.
When creating a new workspace while focused on Mon0 or Mon1, it defaults to workspace number 1 and moves to the laptop display, ignoring the currently focused monitor.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.