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

workplace switching with -w option #2

Closed
zimbipw opened this issue Jun 15, 2020 · 10 comments
Closed

workplace switching with -w option #2

zimbipw opened this issue Jun 15, 2020 · 10 comments

Comments

@zimbipw
Copy link

zimbipw commented Jun 15, 2020

When running persway with -w it is impossible to switch workspaces the usual way with $mod+workspace number. It is a bit annoying to grab the mouse just to go to another workspace on a wm designed for keyboard usage.

@johnae
Copy link
Owner

johnae commented Jun 15, 2020

That doesn't seem right as I'm using the $mod+workspace number to switch. What does your sway config look like, it's likely an issue in the config. You DO get workspace names with a prepended number right? As in: "1: firefox" "2: alacritty" for example?

@johnae
Copy link
Owner

johnae commented Jun 15, 2020

I don't remember what the config was but I can tell you that this is what my workspace config looks like:

bindsym --to-code Mod4+1 workspace number 1
bindsym --to-code Mod4+2 workspace number 2
bindsym --to-code Mod4+3 workspace number 3
bindsym --to-code Mod4+4 workspace number 4
bindsym --to-code Mod4+5 workspace number 5
bindsym --to-code Mod4+6 workspace number 6
bindsym --to-code Mod4+7 workspace number 7
bindsym --to-code Mod4+8 workspace number 8
bindsym --to-code Mod4+9 workspace number 9

Same for moves:

bindsym --to-code Mod4+Shift+1 move container to workspace number 1
bindsym --to-code Mod4+Shift+2 move container to workspace number 2
bindsym --to-code Mod4+Shift+3 move container to workspace number 3
bindsym --to-code Mod4+Shift+4 move container to workspace number 4
bindsym --to-code Mod4+Shift+5 move container to workspace number 5
bindsym --to-code Mod4+Shift+6 move container to workspace number 6
bindsym --to-code Mod4+Shift+7 move container to workspace number 7
bindsym --to-code Mod4+Shift+8 move container to workspace number 8
bindsym --to-code Mod4+Shift+9 move container to workspace number 9

I might not remember correctly but I believe "workspace number XX" is the key here. i3 supports the same thing.

@zimbipw
Copy link
Author

zimbipw commented Jun 15, 2020 via email

@johnae
Copy link
Owner

johnae commented Jun 15, 2020

I don't see a screenshot but you might want to try the config I suggested at least and see if it works. As I mentioned I don't have this issue and it's a sway config issue, not an issue with persway.

@zimbipw
Copy link
Author

zimbipw commented Jun 16, 2020 via email

@zimbipw
Copy link
Author

zimbipw commented Jun 16, 2020 via email

@johnae
Copy link
Owner

johnae commented Jun 16, 2020

I don't see the screenshot but anyway, your issue with not seeing numbers may well be another sway / swaybar config issue. There are config values for stripping numbers etc in sway which you might want to look into anyway.

@Kommynct
Copy link

I think waybar support for "icons" should be added somehow.

@johnae
Copy link
Owner

johnae commented Jul 2, 2020

@Kommynct not sure what you mean wrt persway...?

@johnae
Copy link
Owner

johnae commented Jul 5, 2020

Closing this via: 259103c

@johnae johnae closed this as completed Jul 5, 2020
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