I have been using sway (basically i3 for Wayland) instead of a traditional desktop environment because it really makes a difference in my laptops performance.

But apparently sway ignores .desktop files which was how i was autostarting things on KDE.

Is the best way to handle this by going through the sway config? If not, how would you do it.

Bonus points if you can tell me how to get the autostart programs to also open in specific workspaces.

  • Balinares
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    You can manually start the apps configured as .desktop entries in your autostart directory using dex. For instance:

    dex --autostart --environment sway
    

    Invoke the above from your Sway config and you’re good to go.