Skip to content

Instantly share code, notes, and snippets.

@dr14-make
dr14-make / kb
Last active April 9, 2026 15:07
Ubuntu GNOME keybindings manager (Omarchy-style)
#!/usr/bin/env bash
# ══════════════════════════════════════════════════════
# kb — keybindings manager
# Usage:
# kb → show cheatsheet
# kb apply → apply all bindings via gsettings
# kb edit → open this file in $EDITOR
# ══════════════════════════════════════════════════════
# ── EDIT YOUR BINDINGS HERE ───────────────────────────
@dr14-make
dr14-make / p10k.zsh
Last active February 13, 2025 22:06
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
function cheat {
curl "https://cheat.sh/$1"
}