I have setup Proton Mail app to autostart when I log in. It works fine but I want the app to start minimized. Is there an option I can pass to the proton-mail command to start it minimized?

  • sloppy_diffuser@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    If there isn’t a built-in option, it will probably be DE / WM specific. Something like this might work for x11. Wayland will require something different. Sway/i3/Hyprland/Gnome/KDE/etc may all have a native way depending on what you use also.

    /usr/bin/firefox &
    /usr/bin/wmctrl -r firefox -b add,hidden```