Code Monkey home page Code Monkey logo

space-bar's People

Contributors

christopher-l avatar dobli avatar elasticduckcode avatar fthx avatar garaevdi avatar maxgreene123 avatar null-git avatar pesader avatar wroyca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

space-bar's Issues

Feature Request: Add option to leave System Workspace Indicator visible

Hi! I love the extension, but I have the following request:

It would be really nice to have the option to unhide the system workspace indicator (formerly Activities button), even when the space bar is on the left.

Usecase: I have many workspaces and only want to show the current workspace name for not-enough-space reasons (As was enabled #24). However, this loses the visual indication as to “where” in the row of workspaces I am. The new (Gnome 45) workspace indicator provides that, but it gets hidden if the space bar is on the left side (https://github.com/christopher-l/space-bar/blob/main/src/services/TopBarAdjustments.ts#L23).

With both the “Show only current workspace name” and the new “Don't hide System Workspace indicator” enabled, one could get the best of both worlds for small screens: Visual indication and names for workspaces.

Feature Request: Navigating the Workspace History

I often run into the issue that I go to the wrong workspace with the first keyboard shortcut. Let's say I want to go to workspace 3 from workspace 5. Then I might hit the shortcut for workspace 2, then realize my mistake, and consequently hit the shortcut for workspace 3.

Normally I don't keep track of what workspace I was on to begin with, in this case, workspace 5. Instead, I use the "go to the previous workspace" shortcut. However, in the case where I do a miss shortcut the first time, this doesn't work anymore. I think it would be cool if they go backward to the previous active workspaces, without this history being modified as long as I have not released the SUPER key.

I think this would be a strict improvement, as it would not really hinder any existing functionality. It of course could be a feature that is disabled by default. I of course can replicate this by writing a wmctrl script, but I think it would be nice if this comes directly with space-bar.

Empty Spaces Are Renamed Upon Lock & Unlock

Actual: If I have custom names on my workspaces (in this case I am using fontawesome icons, but this bug exists with any custom names) and I lock and then unlock my screen or suspend/unsuspend the comuter, then any empty workspaces are renamed to their corresponding number.

Expected: Workspace names should be preserved when locking/suspending.

Example:
Screenshot from 2023-08-14 09-58-00

Make Smart Workspace Names More Dynamic

Issue

The workspace names currently don't always properly reflect their content:

  1. When closing all windows, the workspace name determined by the previously open window is still shown.
    I would prefer it if empty workspaces would return to numbered name or a customizable predetermined name (Main, Empty, ...). The second option would consequently also mean that any new, empty workspace would have that predetermined name.
    As I think these behaviors may not desired by everyone, they should of course be options that can be toggled ("reset empty workspace names" and "empty workspace name").
  2. If I first use a workspace for e.g. browsing, and then close the browser and open up e.g. an IDE, my workspace is still called Web because I first opened the browser on it.
  3. When moving a window to a new workspace, instead of opening it there, the workspace name is not updated

Proposed solution

I think the first two issues can be solved by simply triggering a re-evaluation of the smart workspace name whenever the window that previously determined the workspace name is closed.
For the third issue, also some watching mechanism is probably needed to detect windows moved to the workspace.

Feature Request: setting to invert the scrolling

Hi, thanks for this extension, I'm trying it out and think I will stick with it!

I find the scrolling is counter to my intution. I expect to go to a higher number workspace by draging my fingers top-to-bottom on my touchpad. I'd like to be able to configure this.

Maybe adding the option of scrolling horizontally (I'd prefer "natural" scrolling here) would make sense as well.

Cheers!

EDIT: I just noticed chromium browser uses the same two finger scrolling behavior for tab scrolling if the cursor is positioned on the tab bar as it is implemented for space-bar. I'd still appreciate the option though.

Compatibility with "reorder workspaces" is broken

👋 This extension https://github.com/smmr0/gnome-reorder-workspaces allows to swap a workspace to the left or right with a shortcut Ctrl + Super + Up/Down.

Before the last release, it used to work and the workspace name was swapped as well. Now, the workspace is swapped but the names stay in the old position.

As a side note, reorder with a keyboard shortcut may be a nice feature to make space-bar more self sufficient. As for now reordering is bound to the mouse only.

Prevent the cutting of of names when there is still space

Check out this image.:
image

It seems like there is still a lot of space in the top bar, but the text already gets cut off. Would it be possible to adjust space-bar such that it uses the entirety of the available space before cutting off the workspace names?

I am on Pop!_OS.

Feature removed

Latest update removed toggle that stops the extension from opening overview every time it is used to switch workspace. Please add it back

Feedback: Re-evaluate smart workspace names

Based on #33, I want to evaluate a feature to re-evaluate smart workspace names when windows are moved or closed.

A version of the extension that supports the option for GNOME 46 should be online soon.

If you had a chance to try the feature, please upvote one of the following options using emojis.

If you don't like the feature or experience any problems, please leave a comment describing your use case and/or the issue.

Thank you ❤️

Feature Request: Fixed Workspace Names

Hi,
Thank you for creating this extension. I also use it to rename the workspaces, but the "Smart Workspaces Names" does not fit my workflow.
Instead, I prefer a more static approach to workspace names: Workspace 1 is always "Personal", Workspace 2 is always "Work" and the others might change. I could think of two ways of achieving this with this extension:

  • Configure a list of names in the extension that are always applied to the respective workspaces (e.g. ["Personal", "Work"])
  • Remember the names of the workspaces in order, beyond the closing of these or a reboot.

Cheers!

Support for Gnome 46

Hi and thanks for the great work you're doing :-)
I've been using this extension until yesterday, when Gnome 46 became available in Tumbleweed repos.
Now I'm getting the "incompatible" message:

image

I'm not sure if compatibility is limited by just a version number, or there are other breaking changes in the 46 release, but I'd be happy to try it out, if you would lay out some steps for me to follow.

Thanks!

Feature Request: Add option to display the workspace index in the top bar

Hi, very nice extension.

I would like to be able to see the index of the current workspace, such that I can use keyboard shortcuts to navigate to the correct workspace. Without this, I might not be able to get the keyboard shortcut right if I have more than 10 workspaces and frequently rearrange them.

I would expect that this should be pretty easy to do.

If I have a workspace named Write the top bar should display 12:Write if the workspace is at the 12th position. Or something like this.

[FEATURE REQUEST] ADD INDICATOR STYLE

hi,
first of all, thank for your work, which make gnome look great again ;-),
i do like the number of customization options that help user to feel free to make the extension look how he want,
i generaly use lot of workspace on my computer to organize my work flow, but some time i prefere to quikly take a look
on the number of my opened work space and in same time to ensure like i am currently on the right workspace for my task ,
that why i found the ratio style indicator quiet convinient for that, like "3/6' would means i am on the third workspace over 6 opened workspace, i found this indicator very helpfull because all information are in one place, and quikly accessible,

there it is, my demand, please add ratio type indicator in the indicator style menu, please
thank you.

[FEATURES REQUESST] indicator's style advanced settings

Hi,
the request for functionality #34 was a real success for my work flow, but it's still sad to have to stay on a version that doesn't benefit from the latest updates,
would it be possible to include it in the current space-bar functionalities!?

some suggestion:
1)you could hide the small menu on the "indicator style" line and add a tab in the menu bar which could offer the user to activate advanced settings, and once the user has validated the choice to advanced settings, this may reveal the submenu next to indicator style, where we can always use the format {{ number }}, {{ total }},..

  1. add another line in the multiple choices of "indicator style" among the choices, "current workspace" and "workspace bar", there could be another choice called "current workspace number + total workspace number",
    this last choice would display an indicator with a default style equivalent to:
    ''{{number}} | {{Total}}"

thank you again for this beautiful work.

Strange issue with Telegram

If the Telegram application is open on a workspace, often clicking one of the numbers for a different workspace will open the Telegram workspace instead. It's possibly related to Telegram having unread notifications - ie. if there are unread notifications then whichever workspace is clicked on will go to the Telegram workspace, but if there are no unread notifications, the correct workspace will work. But I'm not entirely sure if this is a condition.

Feature Request: Move new application's windows to specific workspace

Could you create a feature to group several applications into one group? These groups have priority order, when opening an application of a low-priority group, it will be in the workspace after the higher-priority group. For example, I have:

  • Group 1: vs code
  • Group 2: chrome, terminal
  • Group 3: gnome text editor

and the priority order of the groups is: group 1 > group 2 > group 3

  • Initially, when I open the gnome text editor it will be in workspace 1
  • Next, I open the terminal, the gnome text editor will be moved to workspace 2, and the terminal will be in workspace 1.
  • If I open the Chrome browser, it will be in the same workspace as the terminal.
  • If I continue to open vs code it will be in workspace 1. The terminal and the Chrome browser will be in workspace 2. The gnome text editor will be in workspace 3.
  • If I open any application that is not in the above groups, it will be in the workspace I am currently using and temporarily linked to that group.
  • If I move a window from one group's workspace to another group, that window's priority will temporarily be the priority of the group it moved to (the application's window will be temporarily linked with the group it moves to)
  • The workspace that doesn't contain any group can be placed anywhere.

I know it's a complicated feature, but I couldn't find any extension that does this.

I really hope you'll add this feature. Sincerely thank you!

[FEATURES REQUESST] add appearance settings when indicator style is "current workspace"

Hi,
Would it be possible to activate the appearance options when the indicator style is "current workspace".

I use dash to panel, and when I need to increase the size of the elements of my panel, dash to panel takes care of it with global options for all the elements of the panel except the space bar applet which is the only one that remains unchanged, so I use the appearance options provided in the space-bar settings to modify the size of the space-bar indicators, and sometimes customize the style a little,
but also space-bar only makes these customization options available when the indicator style is workspace bar.

THANKS.

Feature Request: Show icons in their respective WS

Hey, great extension, thanx!

Is there any way to show the open app icon right after your respective workspace?
For example, I have app A on WS 1, apps B C on WS 2 and D E on WS 3 and could be this way:

[1] A [2] B C [3] D E

Now it shows like this:
[1] [2] [3] A B C D E

I dont know if I did a good explain (my english is not so good).

Feature Request: Font Size

I used a Nerd Font to create icons of my workspaces for the labels, but that means that If I want the icons to match the size of the rest of the icons in my topbar I need to be able to customize the font size for this extension.

Could you add another textbox or dropdown on the appearance screen to allow me to do so?

Thank you.

Shortcut to rearrange workspaces and an option to enable/disable middle-click to close a workspace

It would be cool if the shortcut could be Ctrl+Shift+number (or something like this), the command would change the current workspace X to the position Y (number) and the other would be rearranged to X.

Disable middle-click to "remove" a workspace would be very nice to people that use Thinkpads, for example, I was really unaware about this behaviour and I still sometimes middle click accidentally and the workspace is gone.

Thanks for the great extension!

Show only current workspace name

In General setting of Behaviour, there is a toggle to "Show empty workspaces". I would love it if there was a similar switch to "Show only current workspace" which can default to false for backwards compatibility. If this were selected, rather than showing all workspace names, you would only show the name of the active workspace (it would change as you change workspace).

I use 7 workspaces so a lot of space is wasted by showing all of them...

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.