As configured in my dotfiles.
start new:
tmux
start new with session name:
| import Ember from "ember"; | |
| export default Ember.Component.extend({ | |
| isVirtual: true, | |
| tagName: '', | |
| render: function (buffer) { | |
| let titleTag = document.getElementsByTagName('title')[0]; | |
| this._morph = buffer.dom.appendMorph(titleTag); | |
| this._super.apply(this, arguments); | |
| } |
| require "mini_magick" | |
| module MiniMagick | |
| class Image | |
| def get_dominant_color | |
| color = run_command("convert", path, "-format", "%c\n", "-colors", 1, "-depth", 8, "histogram:info:").split(' '); | |
| # color = " 1764000: (208,195,161) #D0C3A1 srgb(208,195,161)\n\n" | |
| { | |
| hex: color[2], | |
| rgb: color[1][1..-2].split(',') |
As configured in my dotfiles.
start new:
tmux
start new with session name: