I just realized that you can run a command at login by appending it to your .bashrc

For instance, I added a curl pointing to a certain address that immediately upon login returns a message that tells me whether I’m connected to my VPN provider or not.

Sorry for the beginner revelation. Just thought it was cool. :3

  • AdrianTheFrog@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 hours ago

    Probably the most ‘intended’ way to do this is something like autostart in kde plasma (easy, can be done graphically) or a systemd service (more difficult, but way more control)