Skip to content

Instantly share code, notes, and snippets.

View srebrovvilen's full-sized avatar
:atom:
Everything is great!

srebrovvilen

:atom:
Everything is great!
View GitHub Profile
@jpsutton
jpsutton / toggle_touchpad.sh
Last active May 31, 2024 16:53
Bash script to toggle the enabled status on your touchpad while running under KDE Plasma 5
#!/bin/bash
SERVICE="org.kde.KWin"
DBUS_PATH="/org/kde/KWin/InputDevice"
INTERFACE="org.kde.KWin.InputDevice"
METHOD_GET="org.freedesktop.DBus.Properties.Get"
METHOD_SET="org.freedesktop.DBus.Properties.Set"
function find_touchpad {
DM_INTERFACE="org.kde.KWin.InputDeviceManager"