From c4c2716c25936f632aa5bb8fd589a57b53714be8 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Sun, 17 Dec 2023 16:08:13 +0900 Subject: 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 --- config/hypr/scripts/TouchPad.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/hypr/scripts/TouchPad.sh') 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 } -- cgit v1.2.3