From 0b5757ab583354257840b72afb3ee114196c5475 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 15 Jul 2025 20:48:59 -0500 Subject: Remove a bunch of scripts I no longer need --- touchpad.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 touchpad.sh (limited to 'touchpad.sh') diff --git a/touchpad.sh b/touchpad.sh deleted file mode 100755 index bb864e9..0000000 --- a/touchpad.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-$HOME/.local/share}" -export STATUS_FILE="$XDG_RUNTIME_DIR/touchpad.status" - -enable_touchpad() { - printf "true" >"$STATUS_FILE" - notify-send -u normal "Enabling touchpad" - hyprctl keyword '$LAPTOP_TP_ENABLED' "true" -r -} - -disable_touchpad() { - printf "false" >"$STATUS_FILE" - notify-send -u normal "Disabling touchpad" - hyprctl keyword '$LAPTOP_TP_ENABLED' "false" -r -} - -if ! [ -f "$STATUS_FILE" ]; then - enable_touchpad -else - if [ $(cat "$STATUS_FILE") = "true" ]; then - disable_touchpad - elif [ $(cat "$STATUS_FILE") = "false" ]; then - enable_touchpad - fi -fi -- cgit v1.2.3