Created
June 4, 2013 15:09
-
-
Save madx/5706650 to your computer and use it in GitHub Desktop.
Refresh Firefox from the command line
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
OLD_WID=`xdotool getactivewindow | head -1` | |
WID=`xdotool search --name "Mozilla Firefox" | head -1` | |
xdotool windowactivate $WID | |
xdotool key F5 | |
xdotool windowactivate $OLD_WID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment