aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-05-22 23:44:39 -0400
committerxero <x@xero.nu>2015-05-22 23:44:39 -0400
commitec8f869b83ac51c84c3bd5e9b8b8828cd5717cb9 (patch)
tree98f1c86ac805a8edbc342aedb81428fb95f03626
parent67a505f6ab918400bd311d2953afa805b622e51a (diff)
downloaddotfiles_ascii-ec8f869b83ac51c84c3bd5e9b8b8828cd5717cb9.tar.xz
dotfiles_ascii-ec8f869b83ac51c84c3bd5e9b8b8828cd5717cb9.zip
update interrobang
-rw-r--r--interrobang/.interrobangrc10
1 files changed, 4 insertions, 6 deletions
diff --git a/interrobang/.interrobangrc b/interrobang/.interrobangrc
index 92d95da..c30612d 100644
--- a/interrobang/.interrobangrc
+++ b/interrobang/.interrobangrc
@@ -17,21 +17,19 @@
## █▓▒░ 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
+set shell = /usr/bin/zsh
+set run_hook = %s || notify-send "error: command not found"
## █▓▒░ bangs
-bang ! = urxvtc -e %s
+bang ! = urxvtc -hold -e %s
bang www = chromium %s
bang pdf = evince %s
bang img = viewnior %s
@@ -41,7 +39,7 @@ 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 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"