-
Notifications
You must be signed in to change notification settings - Fork 8
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
Comments
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? |
I don't remember what the config was but I can tell you that this is what my workspace config looks like:
Same for moves:
I might not remember correctly but I believe "workspace number XX" is the key here. i3 supports the same thing. |
On Mon, Jun 15, 2020 at 12:52:23PM -0700, John Axel Eriksson wrote:
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.
Tis is how it looks in my sway config:
Workspaces:
#
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
and no I don't have a number with -w, attached ascreenshout of how it
looks here.
Frank
|
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. |
On Mon, Jun 15, 2020 at 01:58:03PM -0700, John Axel Eriksson wrote:
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.
Yes, that did the job, though still no prepending numbers. attaching the
screenshot again.
Frank
|
oh, and what I forgot to mention, it might be worth to add a sentence in
the Readme on the correct config.
KR Frank
|
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. |
I think waybar support for "icons" should be added somehow. |
@Kommynct not sure what you mean wrt persway...? |
Closing this via: 259103c |
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.
The text was updated successfully, but these errors were encountered: