summaryrefslogtreecommitdiff
path: root/.scripts/touchpad-disable-hypr
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-03-01 03:03:33 +0530
committerSaumit <justsaumit@protonmail.com>2025-03-01 03:03:33 +0530
commit8bb24f0ed102d9470827c9c9145011d8e7165674 (patch)
tree22d9e173f401c10c2a34bbf02dbe3bbf675c1c14 /.scripts/touchpad-disable-hypr
parent71f9a6547a4aa9e759c371e6bac496445c659ef9 (diff)
hypr+waybar+script: toggle keyboard
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