-
Notifications
You must be signed in to change notification settings - Fork 0
fix(hyprland): fix Slack and Telegram keybindings #1293
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
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -225,9 +225,9 @@ layerrule = ignore_alpha 0.3, match:namespace ^(rofi)$ | |||||
| # App Launch Hotkeys | ||||||
| # ============================================================================= | ||||||
| bind = $mod, T, exec, ghostty | ||||||
| bind = ALT SHIFT, T, exec, telegram-desktop | ||||||
| bind = $mod SHIFT, T, exec, Telegram | ||||||
|
||||||
| bind = $mod SHIFT, T, exec, Telegram | |
| bind = $mod SHIFT, T, exec, telegram-desktop |
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.
Copilot
AI
Mar 30, 2026
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.
PR description says Super+S should “always open a new Slack window”, but this binding now just runs slack without any flag/command to force a new window. If Slack reuses the existing instance (common for Electron apps), this won’t meet the stated behavior; consider invoking Slack with an explicit new-window option or an alternative command that guarantees a new window.
Copilot
AI
Mar 30, 2026
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.
This change makes Super+S no longer a focus-or-launch binding, but earlier in this file there’s a comment explicitly recommending “Super+G/S/D focus-or-launch bindings” (around lines 183–185). Update that comment to reflect the new intended behavior for Super+S to avoid future confusion.
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.
For consistency with how other applications like 1Password (line 233) and Signal (line 234) are launched, consider using
gtk-launch. This is generally more robust as it uses the application's.desktopfile instead of relying on an executable in thePATH.The binary name
Telegramis also unusual; the executable is typicallytelegram-desktop. Usinggtk-launchwith the correct desktop file name (e.g.,telegramdesktop) would resolve this ambiguity.