From 994ef6afb490f5119a43fc7ae6c6b78e1c0445e4 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Wed, 24 Jul 2024 20:54:56 +0400 Subject: useless scripts were removed --- scripts/sTouchpad | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 scripts/sTouchpad (limited to 'scripts/sTouchpad') diff --git a/scripts/sTouchpad b/scripts/sTouchpad deleted file mode 100755 index 87c0000..0000000 --- a/scripts/sTouchpad +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Wrapper script for activating and deactivating touchpad - -[ -d ~/.cache ] || { mkdir ~/.cache || { echo "Couldn't create ~/.cache " && exit 2; };} - -file=~/.cache/touchpad_on - -if [ -f $file ];then - rm $file - xinput disable "$(xinput list --name-only | grep Touchpad)" && nsend Touchpad Disabled -else - touch $file - xinput enable "$(xinput list --name-only | grep Touchpad)" && nsend Touchpad Enabled -fi -- cgit v1.2.3