diff options
Diffstat (limited to 'dotfiles/hyprland')
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/toggle-touchpad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/hyprland/.local/bin/toggle-touchpad b/dotfiles/hyprland/.local/bin/toggle-touchpad index cab605b..ed11674 100755 --- a/dotfiles/hyprland/.local/bin/toggle-touchpad +++ b/dotfiles/hyprland/.local/bin/toggle-touchpad @@ -14,11 +14,11 @@ state=$(cat "$STATE_FILE") if [ "$state" = "enabled" ]; then hyprctl keyword "device[$TOUCHPAD]:enabled" false >/dev/null echo "disabled" > "$STATE_FILE" - notify info "Touchpad" "Disabled" + notify info "Touchpad" "Disabled" --silent else hyprctl keyword "device[$TOUCHPAD]:enabled" true >/dev/null echo "enabled" > "$STATE_FILE" - notify info "Touchpad" "Enabled" + notify info "Touchpad" "Enabled" --silent fi # Refresh the waybar indicator immediately (custom/touchpad listens on signal 9). |
