Giter VIP home page Giter VIP logo

sway-new-workspace's People

Contributors

dependabot[bot] avatar nzig avatar rustn00b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sway-new-workspace's Issues

Fails when there are duplicate workspace num

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.

Open new workspace on currently focused display

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.