From d254d3d0b630c9eb1a52683d0993ceac86630754 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Wed, 13 Mar 2024 05:44:48 +0900 Subject: removal of extra # to align with new hyprlang requirement. Credit goes to @@Ryuuyas --- config/hypr/scripts/TouchPad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/scripts/TouchPad.sh') diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index 47ad48f6..5119ac24 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -1,5 +1,5 @@ #!/bin/bash -## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # For disabling touchpad. Touchpad_Device="asue1209:00-04f3:319f-touchpad" -- cgit v1.2.3 From e9549ac910d9665a68902cfbbdcf428e3c04a5b2 Mon Sep 17 00:00:00 2001 From: PostCyberPunk Date: Wed, 17 Apr 2024 13:35:55 +0800 Subject: fxi:touchpad updated with new hyprlang --- config/hypr/scripts/TouchPad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/scripts/TouchPad.sh') diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index 5119ac24..c5722c16 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -18,7 +18,7 @@ toggle_touchpad() { fi notify-send -u low -i "$notif" "Touchpad $action" - hyprctl keyword "device:$Touchpad_Device:enabled" "$(cat "$STATUS_FILE")" + hyprctl keyword "device[$Touchpad_Device]:enabled" "$(cat "$STATUS_FILE")" } toggle_touchpad -- cgit v1.2.3 From e0e75bdb095c6777cd45e5f7baae7a14884df790 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 23 Apr 2024 11:45:05 +0900 Subject: updated touchpad.sh --- config/hypr/scripts/TouchPad.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/hypr/scripts/TouchPad.sh') diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index c5722c16..e94ee068 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -1,6 +1,9 @@ #!/bin/bash # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # For disabling touchpad. +# Edit the Touchpad_Device according to your system +# use hyprctl devices to get your system touchpad device name + Touchpad_Device="asue1209:00-04f3:319f-touchpad" notif="$HOME/.config/swaync/images/bell.png" -- cgit v1.2.3