Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master

* 'master' of https://gitea.nerdland.org/adam/cshenv:
  Touchpad helper.
  Xscreensaver DND script.
This commit is contained in:
2026-04-13 01:01:09 -04:00
2 changed files with 27 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
DEVICE="$(xinput list --name-only | grep "Touchpad$")"
echo Device is ${DEVICE}
xinput set-prop "${DEVICE}" "libinput Tapping Enabled" 1
#xinput set-prop "Virtual core pointer" "libinput Tapping Enabled" 1
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
last_state=""
while IFS= read -r line
do
case "$line" in
BLANK*)
;;
LOCK*)
xfconf-query -c xfce4-notifyd -p /do-not-disturb -s true
;;
UNBLANK*)
xfconf-query -c xfce4-notifyd -p /do-not-disturb -s false
;;
esac
done < <(xscreensaver-command -watch)
# vim: ft=bash