Created
June 3, 2012 10:37
-
-
Save Tarrasch/2862979 to your computer and use it in GitHub Desktop.
xmonad config that has shortcut for opening gmail in a firefox tab
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
| -- requires your system has `xdotool` installed | |
| gmailInFirefox = | |
| spawn "xdotool search 'Mozilla Firefox' windowactivate --sync key --clearmodifiers 'alt+1'" | |
| -- ... | |
| -- example usage | |
| keys = const $ M.fromList [ | |
| ((mod4Mask, xK_d ), gmailInFirefox) | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment