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

Generate default config by OS #87

Open
1 of 6 tasks
Hikari9 opened this issue May 7, 2020 · 4 comments
Open
1 of 6 tasks

Generate default config by OS #87

Hikari9 opened this issue May 7, 2020 · 4 comments

Comments

@Hikari9
Copy link
Owner

Hikari9 commented May 7, 2020

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 #76 (comment)

References

Desktop Environment Checklist

  • Ubuntu Unity

    Condition:

    [[ "$DESKTOP_SESSION" == unity ]]
    

    Config:

    left3  = ctrl+alt+Right
    left4  = ctrl+alt+shift+Right
    right3 = ctrl+alt+Left
    right4 = ctrl+alt+shift+Left
    up3    = ctrl+alt+Down
    up4    = ctrl+alt+shift+Down
    down3  = ctrl+alt+Up
    down4  = ctrl+alt+shift+Up
    threshold = 0.0
    
  • GNOME

  • KDE

  • Elementary OS

  • Kali Linux

  • Pop OS GNOME (new)

    up3 = Ctrl+Super+Down  # workspace down
    down3 = Ctrl+Super+Up   # workspace up
    left3 = Ctrl+Super+Right   # workspace right
    right3 = Ctrl+Super+Left   # workspace left
    up4 = Super+S  # show workspaces
    down4 = Super+D  # show desktop
    left4 = ???
    right4 = ???
    threshold = 1.0
    
@Hikari9
Copy link
Owner Author

Hikari9 commented May 7, 2020

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

@AlwaysBeCalm
Copy link

AlwaysBeCalm commented May 9, 2020

@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 😅

@Hikari9
Copy link
Owner Author

Hikari9 commented May 22, 2020

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 🚀

@AlwaysBeCalm
Copy link

you welcome 🌹
@Hikari9 Keep up the best work 😄

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

2 participants