News for hackers. Stuff that matters.
Re:The future of Wayland, and Sway's role in it by snvzz on Thursday October 19, 2017 @05:08PM (#15511570)
Being a happy i3 user, as promising as sway is, I was disappointed last time I tried it, due to usability concerns to do with very basic functionality.

Specifically, the necessary hops for just setting the keymap.

Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @06:07PM (#15511949)
It's just an environment variable. If you can't set an environment variable then power user tools probably are not for you.
Re:The future of Wayland, and Sway's role in it by snvzz on Thursday October 19, 2017 @06:23PM (#15512061)
>It's just an environment variable.

Sure. Which needs to be in the env sway gets passed. Which makes for some seriously ugly wrapper script needed, just to pass the stupid variable.

>If you can't set an environment variable then power user tools probably are not for you.

I think you're missing the point. It'll be a shame if sway 1.0 is released like this.

Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @08:16PM (#15512647)
Sway 1.0 will have a different means of configuring the keyboard, but only incedentally. I think that there's nothing wrong with the environment variable approach _or_ with writing scripts.
Re:The future of Wayland, and Sway's role in it by pmoriarty on Thursday October 19, 2017 @09:21PM (#15512918)
On i3, to reconfigure the keyboard you just edit the config file and in your terminal type "i3-msg" reload.

Can you do the same with sway without restarting it?

Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @09:32PM (#15512954)
i3 doesn't have any keyboard configuration options, so... unless you're just talking about keybindings, which you can totally reconfigure in Sway and reload without restarting. What you can't do in either is set the keymap on the fly without restarting. This is something you can do on i3 but it's an X thing, unrelated to the i3 config. On sway you can configure multiple keymaps ahead of time and switch between them without restarting, but cannot change the configured keymaps on the fly.

Changing your keymap at runtime is something we hope to have in sway 1.0. We'd also like to support multiple keyboards with different keymaps and even configuring which keymap you use on specific windows.

Re:The future of Wayland, and Sway's role in it by pmoriarty on Thursday October 19, 2017 @09:50PM (#15513013)
Yes, I was talking about keybindings, and it's reassuring that Sway is just as capable as i3 in this area.

I'm looking forward to giving Sway and Wayland a try.