-
-
Save imaami/dbf540741f629c5da001d431a265f0a2 to your computer and use it in GitHub Desktop.
Fix dmenu_run auto-completing "team" -> "teams" instead of "steam"
This file contains 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
#!/bin/false | |
# | |
# This file exists because i3 really sucks at starting dmenu_run. | |
# | |
# Very often when I type mod4+d followed by "steam" and an enter keypress | |
# the first letter gets dropped (I assume because dmenu_run hasn't captured | |
# the keyboard yet). What ends up happening is that dmenu_run sees "team" | |
# and automatically finds the closest match which happens to be "teams". | |
# | |
# I almost never fucking want to launch Microsoft Teams, but I launch the | |
# Steam client multiple times on most days. I'd rather have dmenu_run try | |
# to launch a nonexistent command and do nothing than "help" me by starting | |
# up Teams which is a fucking bitch to close. | |
# | |
# So if I just create this completely useless NOP command literally named | |
# "team" then at least dmenu_run's guess is harmless instead of it trying | |
# to kill me via rage-induced stroke. | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment