Skip to content

Instantly share code, notes, and snippets.

View walrusk's full-sized avatar
🏠
Working from home

Rob N walrusk

🏠
Working from home
View GitHub Profile
@walrusk
walrusk / .tmux.conf
Last active November 21, 2018 19:51
.tmux.conf
# Leader key
unbind C-b
unbind `
set-option -g prefix `
bind ` send-prefix
# Prefix highlight plugin
set -g @plugin 'plugins/tmux-prefix-highlight'
set -g @prefix_highlight_fg 'black'
set -g @prefix_highlight_bg 'yellow'
@walrusk
walrusk / templates.js
Last active November 6, 2023 16:21
Bold Options Templates
if (typeof window.BOLD.options.templates == 'undefined') {
window.BOLD.options.templates = {};
}
window.BOLD.options.setTemplate = function (optionType, template, overwrite = true) {
if( overwrite || typeof window.BOLD.options.templates[optionType] == 'undefined' ) {
window.BOLD.options.templates[optionType] = template;
if (typeof window.BOLD.options.app !== 'undefined') {
window.BOLD.options.app.refreshTemplates(optionType);
}