Skip to content

daemon #43

@serxoz

Description

@serxoz

Hi!

I couldn't get the "--daemon" switch to work with the Thinkpad Dock DK1633, but I did a script to workaround it.
Maybe it will help some of you.

while true
do
    FOUND=$(lsusb | grep 'ThinkPad Dock' | head -n 1)

    if  [ ! -z "$FOUND" ] ; then
        #echo "Docked."
        dockd --set docked
    else
        #echo "Undocked."
        dockd --set undocked
    fi

    sleep 1
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions