interrobang/.interrobangrc ## ██ ██ ██ ## ░░ ░██ ░██ ## ██ ███████ ██████ █████ ██████ ██████ ██████ ░██ ██████ ██████ █████ ## ░██░░██░░░██░░░██░ ██░░░██░░██░░█░░██░░█ ██░░░░██░██████ ░░░░░░██ ░░██░░░██ ██░░░██ ## ░██ ░██ ░██ ░██ ░███████ ░██ ░ ░██ ░ ░██ ░██░██░░░██ ███████ ░██ ░██░██ ░██ ## ░██ ░██ ░██ ░██ ░██░░░░ ░██ ░██ ░██ ░██░██ ░██ ██░░░░██ ░██ ░██░░██████ ## ░██ ███ ░██ ░░██ ░░██████░███ ░███ ░░██████ ░██████ ░░████████ ███ ░██ ░░░░░██ ## ░░ ░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░░░ ░░░░░░░░ ░░░ ░░ █████ ## ░░░░░ ## ▓▓▓▓▓▓▓▓▓▓ ## ░▓ author ▓ xero <x@xero.nu> ## ░▓ code ▓ http://code.xero.nu/dotfiles ## ░▓ mirror ▓ http://git.io/.files ## ░▓▓▓▓▓▓▓▓▓▓ ## ░░░░░░░░░░ ## █▓▒░ options set font = fixed set font = -Gohu-GohuFont-Medium-R-Normal set geometry = 1223x16+143+0 set colors = #78824B #111111 #d3d3d3 #111111 #C9A554 #000000 set border = 0px #111111 set bangchar = ! set autocomp = 1 set list = true set last = true set margin = -80 set shell = /usr/bin/zsh set run_hook = %s || notify-send "error: command not found" ## █▓▒░ bangs bang ! = urxvtc -hold -e %s bang www = chromium %s bang pdf = evince %s bang img = viewnior %s bang man = urxvtc -e man %s bang ddg = chromium https://duckduckgo.com/?q=%s bang math = notify-send "$(echo '%s' | bc -l)" bang ? = echo "interrobang ignored \"%s\"" bang quit = case "%s" in shutdown) sudo systemctl poweroff ;; sleep) sudo systemctl suspend ;; reboot) sudo systemctl reboot ;; logout) killall xinit ;; cancel) exit ;; esac ## █▓▒░ tab completions tab default = percontation "%s" %s | sort -u tab ? = ignore="%s%s"; awk '/^bang/ {print "!"" ";}' ~/.interrobangrc tab quit = echo -e "cancel\nshutdown\nsleep\nreboot\nlogout" | grep "^%s%s"