-
Notifications
You must be signed in to change notification settings - Fork 0
fix(xremap): prevent modifier leak to Slack with virtual_modifiers #1224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
66a6fb5
a62d88b
9670381
a5d0840
8d42b08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,119 @@ | ||||||||||||||
| # Hyprland Keybindings | ||||||||||||||
|
|
||||||||||||||
| `$mod` = Super (Win key) | ||||||||||||||
|
|
||||||||||||||
| ## App Launch | ||||||||||||||
|
|
||||||||||||||
| | Shortcut | Action | | ||||||||||||||
| |---|---| | ||||||||||||||
| | `Super + T` | Terminal (ghostty) | | ||||||||||||||
| | `Super + G` | Chrome (focus or launch) | | ||||||||||||||
| | `Super + S` | Slack (focus or launch) | | ||||||||||||||
| | `Super + C` | Cursor | | ||||||||||||||
| | `Super + V` | VS Code | | ||||||||||||||
| | `Super + P` | 1Password | | ||||||||||||||
| | `Super + M` | Signal | | ||||||||||||||
| | `Super + D` | Discord (focus or launch) | | ||||||||||||||
| | `Super + F` | File manager (yazi) | | ||||||||||||||
| | `Hyper + Space` | App launcher (rofi) | | ||||||||||||||
|
|
||||||||||||||
| ## Window Focus | ||||||||||||||
|
|
||||||||||||||
| | Shortcut | Action | | ||||||||||||||
| |---|---| | ||||||||||||||
| | `Super + H/J/K/L` | Focus left/down/up/right | | ||||||||||||||
| | `Super + ←/↓/↑/→` | Focus left/down/up/right | | ||||||||||||||
| | `Super + Tab` | Switch window (hyprshell) | | ||||||||||||||
| | `Super + \`` | Toggle previous window | | ||||||||||||||
|
|
||||||||||||||
| ## Window Management | ||||||||||||||
|
|
||||||||||||||
| | Shortcut | Action | | ||||||||||||||
| |---|---| | ||||||||||||||
| | `Super + Q` | Close window | | ||||||||||||||
| | `Super + Shift + F` | Toggle floating | | ||||||||||||||
| | `Super Ctrl + F` | Fullscreen (maximize) | | ||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There appears to be a typo in the shortcut
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix shortcut notation typo for modifier chain. Line [35] should use the same key-combo format as the rest of the doc: Suggested patch-| `Super Ctrl + F` | Fullscreen (maximize) |
+| `Super + Ctrl + F` | Fullscreen (maximize) |📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||
| | `Super Ctrl + F` | Fullscreen (maximize) | | |
| | `Super + Ctrl + F` | Fullscreen (maximize) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use hyphenated “full-screen” in action labels.
For consistency and grammar, replace “Full screen screenshot” with “Full-screen screenshot” on Line [84], Line [85], and Line [118].
Suggested patch
-| `Ctrl + Print` | Full screen screenshot |
-| `Hyper + 3` | Full screen screenshot |
+| `Ctrl + Print` | Full-screen screenshot |
+| `Hyper + 3` | Full-screen screenshot |
...
-| `F11` | Full screen screenshot |
+| `F11` | Full-screen screenshot |Also applies to: 118-118
🧰 Tools
🪛 LanguageTool
[uncategorized] ~84-~84: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... Window screenshot | | Ctrl + Print | Full screen screenshot | | Hyper + 3 | Full scree...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~85-~85: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...ull screen screenshot | | Hyper + 3 | Full screen screenshot | | Hyper + 4 | Region scr...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/HYPRLAND.md` around lines 84 - 85, Replace the unhyphenated phrase "Full
screen screenshot" with "Full-screen screenshot" in the three table cells that
use that label; specifically update the rows identified by the keyboard
shortcuts `Ctrl + Print` and `Hyper + 3`, and the third occurrence elsewhere on
the page, so each action label reads "Full-screen screenshot" for consistency.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,6 +100,7 @@ in | |
| # Only intercept keyd output — SUPER (CapsLock/RightAlt) goes straight to Hyprland | ||
| deviceNames = [ "keyd virtual keyboard" ]; | ||
| config = { | ||
| virtual_modifiers = [ "Alt-Shift-Super" ]; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding |
||
| keymap = [ | ||
| { | ||
| name = "Framework Command (Ghostty)"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,6 +35,11 @@ Temporary Items | |
| tmp | ||
| .tmp* | ||
| tmp* | ||
|
|
||
| # AI | ||
| .cursor/ | ||
| .entire/ | ||
| .serena/ | ||
|
|
||
| # Ignore deprecated files | ||
| *.deprecated | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,6 +58,7 @@ inputs.nixpkgs.lib.nixosSystem { | |
| "amdgpu.abmlevel=3" # auto backlight management | ||
| "amdgpu.runpm=1" # runtime power management for GPU | ||
| "amd_pstate=active" # AMD P-state driver (better than acpi-cpufreq) | ||
| "amdgpu.dcdebugmask=0x410" # disable PSR and REPLAY to fix screen flickering | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| ]; | ||
|
|
||
| # Networking | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hyperis used throughout this doc (e.g. “Hyper + Space”, “Hyper + 3/4/5”, “Hyper + L”), but it isn’t defined at the top. Add a short definition near the$moddefinition (and ideally match the actual keyd/Hyprland meaning, e.g. Ctrl+Alt+Shift+Super) so readers can interpret the shortcuts correctly.