-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add an option to test if docked #12
Comments
I wrote a simple bash script that does that.
|
Where did you put this script ? |
It depends on your DE. The idea is to run this on startup. I'm running i3 so I added the following line to my i3 config. |
I'm using LXDE. I have put in my lxsession autostart file |
Did you make the script executable? Did you try running it manually? You can also try running |
In fact, #!/bin/bash string=$(lsusb) It's a bit dirty but it works. |
It would be nice if there was an option to run a command that would test if the laptop is docked. If yes, then switch video modes and run hook scripts. Currently when turning on the laptop when it is docked you have to either physically undock and dock or run
dockd --set docked
. This feature would eliminate the need to do that.The text was updated successfully, but these errors were encountered: