Added hints to navigate the windows vim style#6140
Open
azzenabidi wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an Omarchy install-stage packaging script intended to install and set up the hints tool (vimium-style keyboard “hints” for clicking/scrolling/dragging) as part of the broader installer flow.
Changes:
- Introduces
install/packaging/hints.shto download and run the upstreamhintsinstaller and runhints --setup. - Attempts to add Hyprland keybindings for launching
hintsandhints --mode scroll.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+4
to
+6
| tmp_installer="$(mktemp)" | ||
| curl -fsSL https://raw.githubusercontent.com/AlfredoSequeida/hints/main/install.sh -o "$tmp_installer" | ||
| bash "$tmp_installer" |
Comment on lines
+4
to
+7
| tmp_installer="$(mktemp)" | ||
| curl -fsSL https://raw.githubusercontent.com/AlfredoSequeida/hints/main/install.sh -o "$tmp_installer" | ||
| bash "$tmp_installer" | ||
| rm -f "$tmp_installer" |
Comment on lines
+10
to
+15
| hints_cmd="$(command -v hints || true)" | ||
| if [[ -n "$hints_cmd" ]]; then | ||
| sudo env XDG_SESSION_TYPE="${XDG_SESSION_TYPE-}" XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP-}" "$hints_cmd" --setup | ||
| else | ||
| echo "hints not found in PATH; skipping setup" >&2 | ||
| fi |
Comment on lines
+1
to
+3
| #!/bin/bash | ||
| set -euo pipefail | ||
| # install hints |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment on lines
+4
to
+6
| tmp_installer="$(mktemp)" | ||
| curl -fsSL https://raw.githubusercontent.com/AlfredoSequeida/hints/main/install.sh -o "$tmp_installer" | ||
| bash "$tmp_installer" |
Comment on lines
+4
to
+7
| tmp_installer="$(mktemp)" | ||
| curl -fsSL https://raw.githubusercontent.com/AlfredoSequeida/hints/main/install.sh -o "$tmp_installer" | ||
| bash "$tmp_installer" | ||
| rm -f "$tmp_installer" |
Comment on lines
+11
to
+15
| if [[ -n "$hints_cmd" ]]; then | ||
| sudo env XDG_SESSION_TYPE="${XDG_SESSION_TYPE-}" XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP-}" "$hints_cmd" --setup | ||
| else | ||
| echo "hints not found in PATH; skipping setup" >&2 | ||
| fi |
Comment on lines
+1
to
+3
| #!/bin/bash | ||
| set -euo pipefail | ||
| # install hints |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment on lines
+1
to
+3
| #!/bin/bash | ||
| set -euo pipefail | ||
| # install hints |
| fi | ||
|
|
||
| # Add Hyprland bindings (Omarchy uses Lua config modules under ~/.config/hypr/*.lua) | ||
| for bindings_file in "$HOME/.local/share/omarchy/config/hypr/bindings.lua" "$HOME/.config/hypr/bindings.lua"; do |
Comment on lines
+11
to
+15
| if [[ -n "$hints_cmd" ]]; then | ||
| sudo env XDG_SESSION_TYPE="${XDG_SESSION_TYPE-}" XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP-}" "$hints_cmd" --setup | ||
| else | ||
| echo "hints not found in PATH; skipping setup" >&2 | ||
| fi |
Comment on lines
+4
to
+7
| tmp_installer="$(mktemp)" | ||
| curl -fsSL https://raw.githubusercontent.com/AlfredoSequeida/hints/main/install.sh -o "$tmp_installer" | ||
| bash "$tmp_installer" | ||
| rm -f "$tmp_installer" |
Comment on lines
+5
to
+6
| curl -fsSL https://raw.githubusercontent.com/AlfredoSequeida/hints/main/install.sh -o "$tmp_installer" | ||
| bash "$tmp_installer" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This package allows omarchy users to click scroll and drag using the keyboard.
https://github.com/AlfredoSequeida/hints
Inspired by: https://vimium.github.io/