I have a laptop that spends some of it’s time docked to a monitor and keyboard/mouse. I would like to know how to change some settings depending on if it’s connected to the dock or not. Is there a program that can help with this?

Some possible use-cases include:

  • Changing size of the taskbar to smaller/bigger
  • Changing the behavior of the taskbar to auto-hide
  • Changing the font size smaller/bigger
  • Changing power settings performance/battery saver
  • Enabling/disabling auto brightness
  • Enabling/disabling keyboard backlight

These are just a few things I can think of but can provide more.

Something like Android’s Tasker but for Linux would be great.

  • olympicyes@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    I’d suggest editing these scripts with a tool like VS Code so you can remember exactly what you did.

    • Gormadt@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      7 months ago

      Half the fun of fixing my code later is trying to figure out what the hell I was thinking when I wrote my code lol