Conky & xinput (touchpad)

Hello all…

I have been hunting without success to find a way to show touchpad status (xinput 13) on my conky. Can anyone offer clues?

Thanks!

Not sure if you just wanted to show the “enabled | disabled” status of touchpad.

$xinput --list 13 | grep disabled

Sector11 has a script to turn on or off the touchpad on startup which i know is not what you want but maybe a script with like chroot grep command could help.

No conky read out but dunst will sent you a nice notify…

bindsym $mod+t exec --no-startup-id ~/bin/tpad.sh notify-send 'touchpad on or off'
exec --no-startup-id ~/bin/tpad.sh notify-send 'touchpad on or off'

Sector11 script

1 Like