diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-01-14 00:14:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 00:14:52 +0900 |
| commit | d61b676b9b8b32f73def3d92aa3eb31ab6a2bfbc (patch) | |
| tree | 644b7851f189af52bfde39a2658cfe0d2fd20d7c /config/hypr/scripts/TouchPad.sh | |
| parent | 3573df4a1d0b4c915975ac80275442c35831fb2f (diff) | |
| parent | df57f9890b28aa6f5139e2917cee213031ba0e9c (diff) | |
Merge pull request #521 from JaKooLit/main
main to development
Diffstat (limited to 'config/hypr/scripts/TouchPad.sh')
| -rwxr-xr-x | config/hypr/scripts/TouchPad.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index 228e4ca2..0baee6f6 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -11,13 +11,13 @@ export STATUS_FILE="$XDG_RUNTIME_DIR/touchpad.status" enable_touchpad() { printf "true" >"$STATUS_FILE" - notify-send -u low -i $notif "Enabling touchpad" + notify-send -u low -i $notif "$(printf '\nEnabling touchpad')" hyprctl keyword '$TOUCHPAD_ENABLED' "true" -r } disable_touchpad() { printf "false" >"$STATUS_FILE" - notify-send -u low -i $notif "Disabling touchpad" + notify-send -u low -i $notif "$(printf '\nDisabling touchpad')" hyprctl keyword '$TOUCHPAD_ENABLED' "false" -r } |
