From 111e4b3eb4fd63d3085b8fcc40cd57b36a36f87d Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Fri, 28 Oct 2016 20:43:20 +0200 Subject: [PATCH] Add configuration for hyper and ibus. Signed-off-by: Severin Kaderli --- .bashrc | 5 ++++ .gitignore | 1 + .hyper.js | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ .xinitrc | 3 ++ 4 files changed, 95 insertions(+) create mode 100644 .hyper.js diff --git a/.bashrc b/.bashrc index e5555dd..c4ad8c4 100644 --- a/.bashrc +++ b/.bashrc @@ -102,6 +102,11 @@ if [ -f $HOME/.aliases ]; then . $HOME/.aliases fi +# Enable ibus +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +export XMODIFIERS=@im=ibus + # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). diff --git a/.gitignore b/.gitignore index 454ad96..e61534a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ composer.phar +.fonts/ diff --git a/.hyper.js b/.hyper.js new file mode 100644 index 0000000..13cf05d --- /dev/null +++ b/.hyper.js @@ -0,0 +1,86 @@ +module.exports = { + config: { + // default font size in pixels for all tabs + fontSize: 12, + + // font family with optional fallbacks + fontFamily: 'Hack, "DejaVu Sans Mono", "Lucida Console", monospace', + + // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) + cursorColor: 'rgba(248,28,229,0.75)', + + // `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █ + cursorShape: 'BLOCK', + + // color of the text + foregroundColor: '#fff', + + // terminal background color + backgroundColor: '#000', + + // border color (window, tabs) + borderColor: '#333', + + // custom css to embed in the main window + css: '', + + // custom css to embed in the terminal window + termCSS: '', + + // custom padding (css format, i.e.: `top right bottom left`) + padding: '12px 14px', + + // the full list. if you're going to provide the full color palette, + // including the 6 x 6 color cubes and the grayscale map, just provide + // an array here instead of a color map object + colors: { + black: '#000000', + red: '#ff0000', + green: '#33ff00', + yellow: '#ffffF0', + blue: '#0066ff', + magenta: '#cc00ff', + cyan: '#00ffff', + white: '#d0d0d0', + lightBlack: '#808080', + lightRed: '#ff0000', + lightGreen: '#33ff00', + lightYellow: '#ffff00', + lightBlue: '#0066ff', + lightMagenta: '#cc00ff', + lightCyan: '#00ffff', + lightWhite: '#ffffff' + }, + + // the shell to run when spawning a new session (i.e. /usr/local/bin/fish) + // if left empty, your system's login shell will be used by default + shell: '', + + // for setting shell arguments (i.e. for using interactive shellArgs: ['-i']) + // by default ['--login'] will be used + shellArgs: ['--login'], + + // for environment variables + env: {}, + + // set to false for no bell + bell: false, + + // if true, selected text will automatically be copied to the clipboard + copyOnSelect: false + + // URL to custom bell + // bellSoundURL: 'http://example.com/bell.mp3', + + // for advanced config flags please refer to https://hyperterm.org/#cfg + }, + + plugins: [ + "hyperterm-tomorrow-night" + ], + + // in development, you can create a directory under + // `~/.hyperterm_plugins/local/` and include it here + // to load it and avoid it being `npm install`ed + localPlugins: [] +}; diff --git a/.xinitrc b/.xinitrc index 89fd2ae..727203e 100644 --- a/.xinitrc +++ b/.xinitrc @@ -3,5 +3,8 @@ xset s off xset -dpms xset s noblank +# Start ibus +ibus-daemon -d --xim + # Start i3 exec i3