126
edits
Line 62: | Line 62: | ||
(set-go-to-atom-window-position 1847 67) | (set-go-to-atom-window-position 1847 67) | ||
=== Customized Menu for Zalman Monitor and Powermate Dial === | |||
<pre> | |||
;; Customize menu bar for PowerMate Dial and Zalman monitor | |||
(let ((menu (coot-menubar-menu "Custom"))) | |||
(add-simple-coot-menu-menuitem | |||
menu "PowerMate" | |||
(lambda () | |||
(load (append-dir-file (getenv "HOME") ".cootrc_powermate_and_keybindings.scm")))) | |||
(add-simple-coot-menu-menuitem | |||
menu "Zalman Stereo ON" | |||
(lambda () | |||
(zalman-stereo-mode))) | |||
(add-simple-coot-menu-menuitem | |||
menu "Zalman Stereo OFF" | |||
(lambda () | |||
(mono-mode))) | |||
(add-simple-coot-menu-menuitem | |||
menu "Zalman Full-Screen" | |||
(lambda () | |||
(set-graphics-window-position 0 0)(set-graphics-window-size 1680 1050)))) | |||
</pre> | |||
Which, in turn, requires [http://code.google.com/p/zsh-templates-osx/source/browse/trunk/Library/init/zsh/zshrc.d/local-functions/etc/dotfiles/cootrc_powermate_and_keybindings.scm a file called ~/.cootrc_powermate_and_keybindings.scm] | |||
edits