Last active
August 29, 2015 14:01
-
-
Save autarch/595f93fc91fe148e980d to your computer and use it in GitHub Desktop.
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
| const windowManager = imports.ui.windowManager; | |
| let popup; | |
| function init() { | |
| popup = windowManager.WindowManager.prototype['_showWorkspaceSwitcher']; | |
| } | |
| function enable() { | |
| windowManager.WindowManager.prototype['_showWorkspaceSwitcher'] = function(a,b,c){return 42}; | |
| } | |
| function disable() { | |
| windowManager.WindowManager.prototype['_showWorkspaceSwitcher'] = popup; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment