moved hypr scripts

This commit is contained in:
djaidjai committed 2026-10-02 02:06:46 +02:00
1 parent 37fb63549e
commit f338147907
22 files changed
+610 -5

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env bash
touchpad="uniw0001:00-093a:0255-touchpad"
statFile="/tmp/tpEnabled"
if [ ! -f "$statFile" ]; then
echo "false" > "$statFile"
fi
current=$(cat "$statFile")
if [[ "$current" = "true" ]]; then
newState="false"
msg="disabled"
else
newState="true"
msg="enabled"
fi
hyprctl eval "hl.device({ name = \"$touchpad\", enabled = $newState})"
echo "$newState" > "$statFile"
dunstify -u low \
-a Touchpad \
-i ~/.icons/candy-icons/apps/scalable/cs-desktop.svg \
-r 365 \
-t 1000 \
"Touchpad $msg"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.