aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/TouchPad.sh
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-12-17 16:08:13 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-12-17 16:13:47 +0900
commitc4c2716c25936f632aa5bb8fd589a57b53714be8 (patch)
tree650e29a07cb52ff7973361f92968ece49ea19066 /config/hypr/scripts/TouchPad.sh
parent1ddbdc34f9544d9d54c1a9c1717955573484eac2 (diff)
1.) Added ChangeBlur keybinds (Super Shift B), same added in Keyhints.sh (Super H)
2.) Increased Blur Settings 3.) Tweaked and Cleaned up scripts, some small tweak only like adding a bell icon - > Gamemode toggle (Super Shift G) will now reload previous wallpaper once back to normal modified - > The pywalSwww.sh is integrated in Refresh.sh to update rofi background
Diffstat (limited to 'config/hypr/scripts/TouchPad.sh')
-rwxr-xr-xconfig/hypr/scripts/TouchPad.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh
index 09dc563a..8f633ee0 100755
--- a/config/hypr/scripts/TouchPad.sh
+++ b/config/hypr/scripts/TouchPad.sh
@@ -1,8 +1,9 @@
#!/bin/bash
+dunst_notif="$HOME/.config/dunst/images/bell.png"
+
# NOTE: find the right device using hyprctl devices
-
-HYPRLAND_DEVICE="asue1209:00-04f3:319f-touchpad"
+ HYPRLAND_DEVICE="asue1209:00-04f3:319f-touchpad"
if [ -z "$XDG_RUNTIME_DIR" ]; then
export XDG_RUNTIME_DIR=/run/user/$(id -u)
@@ -13,7 +14,7 @@ export STATUS_FILE="$XDG_RUNTIME_DIR/touchpad.status"
enable_touchpad() {
printf "true" > "$STATUS_FILE"
- notify-send -u normal "Enabling Touchpad"
+ dunstify -u low -i "$dunst_notif" "Enabling Touchpad"
hyprctl keyword "device:$HYPRLAND_DEVICE:enabled" true
}
@@ -21,7 +22,7 @@ enable_touchpad() {
disable_touchpad() {
printf "false" > "$STATUS_FILE"
- notify-send -u normal "Disabling Touchpad"
+ dunstify -u low -i "$dunst_notif" "Disabling Touchpad"
hyprctl keyword "device:$HYPRLAND_DEVICE:enabled" false
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage