aboutsummaryrefslogtreecommitdiff
path: root/interrobang
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-05-02 23:53:08 -0400
committerxero <x@xero.nu>2015-05-02 23:53:08 -0400
commitcf76948c65eaae4d6c18d6974bb175e2eb2d0c4f (patch)
treed21d60fee661b2c62db73c7c69be372a09797097 /interrobang
parent14169a79b0b293458e0d113db6111c4d71516cb9 (diff)
downloaddotfiles_ascii-cf76948c65eaae4d6c18d6974bb175e2eb2d0c4f.tar.xz
dotfiles_ascii-cf76948c65eaae4d6c18d6974bb175e2eb2d0c4f.zip
switch from demu to interrobang
Diffstat (limited to 'interrobang')
-rw-r--r--interrobang/.interrobangrc47
1 files changed, 47 insertions, 0 deletions
diff --git a/interrobang/.interrobangrc b/interrobang/.interrobangrc
new file mode 100644
index 0000000..92d95da
--- /dev/null
+++ b/interrobang/.interrobangrc
@@ -0,0 +1,47 @@
+## ██ ██ ██
+## ░░ ░██ ░██
+## ██ ███████ ██████ █████ ██████ ██████ ██████ ░██ ██████ ██████ █████
+## ░██░░██░░░██░░░██░ ██░░░██░░██░░█░░██░░█ ██░░░░██░██████ ░░░░░░██ ░░██░░░██ ██░░░██
+## ░██ ░██ ░██ ░██ ░███████ ░██ ░ ░██ ░ ░██ ░██░██░░░██ ███████ ░██ ░██░██ ░██
+## ░██ ░██ ░██ ░██ ░██░░░░ ░██ ░██ ░██ ░██░██ ░██ ██░░░░██ ░██ ░██░░██████
+## ░██ ███ ░██ ░░██ ░░██████░███ ░███ ░░██████ ░██████ ░░████████ ███ ░██ ░░░░░██
+## ░░ ░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░░░ ░░░░░░░░ ░░░ ░░ █████
+## ░░░░░
+## ▓▓▓▓▓▓▓▓▓▓
+## ░▓ 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 = top
+set geometry = 1366x17+0+0 #16
+set colors = #528b8b #111111 #d3d3d3 #111111 #cc8800 #000000
+set border = 1px #111111
+set bangchar = !
+set run_hook = %s
+set run_hook = %s || (notify-send "error: command not found";interrobang)
+set autocomp = 1
+set list = true
+set last = true
+set margin = -80
+set shell = /bin/zsh
+
+## █▓▒░ bangs
+bang ! = urxvtc -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 default = percontation "%s" %s | sort -u
+tab math = str="%s%s"; echo "!calc $(echo ${str#\!calc} | bc -l)"
+tab ? = ignore="%s%s"; awk '/^bang/ {print "!"$2" ";}' ~/.interrobangrc
+tab quit = echo -e "cancel\nshutdown\nsleep\nreboot\nlogout" | grep "^%s%s"