One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| var child_process = require('child_process'); | |
| exports.handler = function(event, context) { | |
| var proc = spawn('./test', [ JSON.stringify(event) ], { stdio: 'inherit' }); | |
| proc.on('close', function(code){ | |
| if(code !== 0) { | |
| return context.done(new Error("Process exited with non-zero status code")); | |
| } |
| sudo apt-get install xmonad xmobar feh | |
| Use the xmonad.hs and xmobar.hs files as found here: | |
| https://github.com/4ydx/xmonad-config | |
| Figuring out how to get xmonad to look good on a retina display running ubuntu on parallels was a slight pain. | |
| - Configure parallels to use the native retina display resolution rather than scaling up. | |
| - Install gnome-tweak-tool. Set preferred scaling value for fonts (1.5 in my case). |
| I am using this config http://github.com/vicfryzel/xmonad-config because of ease of use. | |
| It does not require anything gnome related aside from the terminal. | |
| Figuring out how to get xmonad to look good on a retina display running ubuntu on parallels was a slight pain. | |
| - Configure parallels to use the native retina display resolution rather than scaling up. | |
| - Install gnome-tweak-tool. Set preferred scaling value for fonts (1.5 in my case). | |
| - Add the following to .xsessionrc: gnome-settings-daemon & | |
| - Firefox: about:config -> layout.css.devPixelsPerPx set to 2.0 |
| Based on: http://beginners-guide-to-xmonad.readthedocs.io/configure_xmobar.html | |
| When logging in using the X11 option. | |
| .xsession | |
| stalonetray & | |
| pasystray & | |
| conky & | |
| feh --bg-scale ~/Documents/nights.jpg |
| conky.config = { | |
| -- -- Conky settings -- # | |
| background = true, | |
| update_interval = 1, | |
| cpu_avg_samples = 2, | |
| net_avg_samples = 2, | |
| override_utf8_locale = true, |