aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-08-04 17:53:12 +0000
committerterminaldweller <thabogre@gmail.com>2022-08-04 17:53:12 +0000
commit112736aea70a5241fcf638f4f6244cbeb2b32fdd (patch)
tree2215fdbe8ed49f036cb0afe65d1181edad9455e5 /bin
parentupdates (diff)
downloadscripts-112736aea70a5241fcf638f4f6244cbeb2b32fdd.tar.gz
scripts-112736aea70a5241fcf638f4f6244cbeb2b32fdd.zip
updates
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dmenu_launcher2
-rwxr-xr-xbin/schemaspy3
-rwxr-xr-xbin/xman4
3 files changed, 7 insertions, 2 deletions
diff --git a/bin/dmenu_launcher b/bin/dmenu_launcher
new file mode 100755
index 0000000..3409348
--- /dev/null
+++ b/bin/dmenu_launcher
@@ -0,0 +1,2 @@
+#!/usr/bin/env zsh
+dmenu_path | dmenu -fn "DejaVuSansMono Nerd Font Mono-11.3;antialias=true;autohint=true" "$@" | ${SHELL:-"/bin/sh"} &
diff --git a/bin/schemaspy b/bin/schemaspy
new file mode 100755
index 0000000..7451993
--- /dev/null
+++ b/bin/schemaspy
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec env java -jar /home/devi/devi/schemaspy/schemaspy-6.1.1-SNAPSHOT.jar "$@"
diff --git a/bin/xman b/bin/xman
index c0de313..a2220ec 100755
--- a/bin/xman
+++ b/bin/xman
@@ -1,7 +1,7 @@
#!/bin/sh
# xmandoc MANPAGE - read manpage of possibly not installed package
-xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null |
+SOCKS_PROXY=socks5://127.0.0.1:9050 xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null |
{ grep . || {
echo "xmandoc: No entry for $1 found." 1>&2
exit 1
@@ -9,7 +9,7 @@ xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null |
while read -r pkg page; do
page=${page#* -> }
# xbps-query --cat=$page ${pkg%-*} | mandoc -O width=205 -a
- xbps-query --cat=$page ${pkg%-*} |
+ SOCKS_PROXY=socks5://127.0.0.1:9050 xbps-query --cat=$page ${pkg%-*} |
mandoc -O width=205 -c | col -b |
vim - -M -R \
-c 'set ft=man nomod nolist' \