JLErvin / berry

:strawberry: A healthy, byte-sized window manager
MIT License
1.01k stars 46 forks source link

cannot set default workspaces as 1-5 (removing ws 0) #194

Closed moilong closed 1 year ago

moilong commented 1 year ago

This is my sxhkdrc config super + {1-5} berryc switch_workspace {1-5} super + shift + {1-5} berryc send_to_workspace {1-5} But berry opens with workspace 0. When I switch workspace windows in ws 0 lost permanently. After switching to another workspace there is no ws 0 until I restart berry.

JLErvin commented 1 year ago

Yeah, your schkdrc isn't configured properly. Looking at the provided sample configuration, you'll want something like this:

super + {1-9}
    berryc switch_workspace {0-9}

super + shift + {1-9}
    berryc send_to_workspace {0-9}

berry workspaces are 0-indexed, whereas you likely want your keyboard to be 1-indexed.

moilong commented 1 year ago

Yeah, your schkdrc isn't configured properly. Looking at the provided sample configuration, you'll want something like this:

super + {1-9}
    berryc switch_workspace {0-9}

super + shift + {1-9}
    berryc send_to_workspace {0-9}

berry workspaces are 0-indexed, whereas you likely want your keyboard to be 1-indexed.

Then I should change to 0-5. Thanks.