summaryrefslogtreecommitdiff
path: root/.scripts/touchpad-disable-hypr
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/touchpad-disable-hypr')
-rwxr-xr-x.scripts/touchpad-disable-hypr11
1 files changed, 0 insertions, 11 deletions
diff --git a/.scripts/touchpad-disable-hypr b/.scripts/touchpad-disable-hypr
deleted file mode 100755
index d6f634c..0000000
--- a/.scripts/touchpad-disable-hypr
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-CACHE_FILE="$XDG_CACHE_HOME/laptop-keyboard-disabled"
-
-if [ -f "$CACHE_FILE" ] ;then
- rm "$CACHE_FILE"
- hyprctl keyword -r '$TOUCHPAD_ENABLED' "true"
-else
- touch "$CACHE_FILE"
- hyprctl keyword -r '$TOUCHPAD_ENABLED' "false"
-fi