- Add startup processes script to control center - Add a "back" and "quit" rofi menu option where back exits current menu, leaving the option to return to previous menu that called it. Quit kills all rofi processes.
12 lines
285 B
Bash
Executable File
12 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
trackpad_id=13
|
|
|
|
if xinput list-props $trackpad_id | grep "Device Enabled (.*):.*1" >/dev/null
|
|
then
|
|
xinput disable $trackpad_id
|
|
notify-send -u low -i mouse "Trackpad disabled"
|
|
else
|
|
xinput enable $trackpad_id
|
|
notify-send -u low -i mouse "Trackpad enabled"
|
|
fi
|