Hikari9 / comfortable-swipe

Comfortable 3-finger and 4-finger swipe gesture using Xdotool in native C++
GNU General Public License v3.0
561 stars 46 forks source link

Generate default config by OS #87

Open Hikari9 opened 4 years ago

Hikari9 commented 4 years ago

Summary

The plan is to dispatch default config by OS / Desktop Environment. Will revolve around workspace switching most likely.

Related Issues

As suggested by @neerajvashistha:

@Hikari9 thank you for such an amazing repo and such a clean way to implement this. But a suggestion, if you can recognise the Linux distribution and then generate the config.

Originally posted by @neerajvashistha in https://github.com/Hikari9/comfortable-swipe/issues/76#issuecomment-619420439

References

Desktop Environment Checklist

Hikari9 commented 4 years ago

We can probably mimic defaults from fusuma in https://github.com/iberianpig/fusuma/wiki/PopOS-Default-Gnome

AlwaysBeCalm commented 4 years ago

@Hikari9 I have a suggestion it would be very excellent if you make the config file get it's button from the default shortcuts of the system

e.g In POP!_OS to move to below workspace, the user click

Ctrl+Super+Down
and in Ubuntu it's
Super+Page Down
or
ctrl+alt+down

if you make the config file recognize the OS then puts the default buttons (by getting it from the system default) on every swipe.

I hope it's clear :sweat_smile:

Hikari9 commented 4 years ago

Yes that's the intention of this issue 👍 So far there's config for ubuntu and PopOS above in the checklist. Thanks for your great contributions to our issue threads @AlwaysBeCalm you are awesome :rocket:

AlwaysBeCalm commented 4 years ago

you welcome :rose: @Hikari9 Keep up the best work :smile: