Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workspace_back_and_forth doesn't work with try_swap_workspace #70

Open
jabuxas opened this issue Nov 10, 2023 · 3 comments
Open

workspace_back_and_forth doesn't work with try_swap_workspace #70

jabuxas opened this issue Nov 10, 2023 · 3 comments
Assignees

Comments

@jabuxas
Copy link

jabuxas commented Nov 10, 2023

When using try_swap_workspace, workspace_back_and_forth doesn't work

binds {
workspace_back_and_forth = true
}

@fufexan
Copy link
Member

fufexan commented Nov 11, 2023

@Schievel1

@Schievel1
Copy link
Contributor

Hm I don't really see how I could implement such behavior when I can't get the previously focused workspace from hyprctl. Or is there a way that I don't know about?

Besides, what do you mean with "doesn't work"? It does still switch to the previous workspace only it doesn't utilize try_swap_workspace for that right?

@jabuxas
Copy link
Author

jabuxas commented Nov 11, 2023

It doesn't work for me

bind = $mainMod, 1, exec, try_swap_workspace 1
bind = $mainMod, 2, exec, try_swap_workspace 2

If i press mod+1 it just doesn't do anything after switching to workspace 1, even if i press mod+1 again.

I also have a 3 monitor setup in case that matters.

monitor=DP-1, 1920x1080, 0x1080, 1
monitor=HDMI-A-1, 1920x1080, 0x0, 1
monitor=DVI-D-1, 1920x1080, 1920x1080, 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants