Skip to content

qbbr/dotfiles

Repository files navigation

QBBR dotfiles

  ____  ____  ____  _____
 / __ \|  _ \|  _ \|  __ \
| |  | | |_) | |_) | |__) |
| |  | |  _ <|  _ <|  _  /
| |__| | |_) | |_) | | \ \
 \___\_\____/|____/|_| _\_\
     _       _    __ _ _
  __| | ___ | |_ / _(_) | ___  ___
 / _` |/ _ \| __| |_| | |/ _ \/ __|
| (_| | (_) | |_|  _| | |  __/\__ \
 \__,_|\___/ \__|_| |_|_|\___||___/

Bash binds

  • Selected text + Shift + MouseBtn1 - open url/path in browser (ff) [PRIMARY]
  • Selected text + Shift + MouseBtn2 - open url/path in idea (intellij) [PRIMARY]
  • Ctrl + Shift + c - copy selected text [CLIPBOARD]
  • Ctrl + Shift + v - paste [CLIPBOARD]
  • Shift + Home - scroll to top
  • Shift + End - scroll to bottom
  • Ctrl + / - print all session history

for X global keys see .xbindkeysrc
see XTerm on*Clicks kung-fu for mouse selection [PRIMARY]

X_Window_selection

Bash functions

see .bash_variables, .bash_functions

  • hello_msg
  • f - fork
  • l/ll - colorful ls
  • p/pm - colorful process usage
  • m - colorful mount
  • df - colorful df
  • extract - extract any archive
  • swap - swap 2 files
  • bak - backup file
  • md - print markdown
  • pp - pretty-print any file (pygmentize)
  • apt-history - install/upgrade/remove/rollback
  • tailf-monolog - colorful tail -f for monolog
  • get-cert-names
  • less-tree
  • data-url
  • decode-url
  • decode-base64
  • decode-imap-folder-name
  • set-tor-proxy
  • unset-tor-proxy
  • n/nls/nrm/nprint/np/ncat - simple notes

Requirements

all:

apt install fonts-hack bash-completion gawk tree pandoc xttitle
pip install pygments pygments-solarized-style

Scripts

Simple notes

Installation

sudo ln -sf ${PWD}/etc/bash_completion.d/simplenotes /etc/bash_completion.d/

Usage

  • n <note> - edit <note>.md
  • nls - ls notes dir
  • nrm <note> - rm <note>.md
  • nprint <note> - print <note>.md via $NOTES_PRINT_CMD
  • ncat <note> - cat <note>.md

Screenshots

old with terminus font

\w dwm + dzenbar

conky:

qbbr-conky

firefox-esr:

qbbr-firerfox-esr

vim + mc + xterm:

qbbr-vim-mc-xterm

mutt:

qbbr-mutt

xmonad:

qbbr-xmonad-xterm

android termux:

qbbr-android-termux