|
|
@@ -18,7 +18,6 @@ launch() { |
|
|
|
Hidden browser |
|
|
|
Email |
|
|
|
Page |
|
|
|
Define |
|
|
|
Go page |
|
|
|
Package info |
|
|
|
Play clipboard |
|
|
@@ -44,7 +43,6 @@ launch() { |
|
|
|
Email) $browser_cmd mail.protonmail.com/login;; |
|
|
|
'Play clipboard') mpv "$(xclip -o -selection clipboard)";; |
|
|
|
'Play downloads') mpv "$HOME/Downloads/tmp/$(ls ~/Downloads/tmp/ | dmenu -i -l 10 -p 'play')";; |
|
|
|
Define) word=$(printf '' | dmenu -p 'word'); if [ -z "$word" ]; then exit; fi; st -e sh -lc "dict \"$word\" | less";; |
|
|
|
Processes) st -t "Processes" -e htop;; |
|
|
|
esac |
|
|
|
} |
|
|
@@ -92,6 +90,7 @@ action() { |
|
|
|
do_search() { |
|
|
|
type=$(printf "Manual |
|
|
|
DDG |
|
|
|
Definition |
|
|
|
Godocs |
|
|
|
Mojeek |
|
|
|
Package |
|
|
@@ -103,6 +102,7 @@ do_search() { |
|
|
|
Godocs) godoc;; |
|
|
|
DDG) ddg;; |
|
|
|
Package) package;; |
|
|
|
Definition) word=$(printf '' | dmenu -p 'word'); if [ -z "$word" ]; then exit; fi; st -e sh -lc "dict \"$word\" | less";; |
|
|
|
esac |
|
|
|
} |
|
|
|
|
|
|
@@ -131,7 +131,7 @@ editor() { |
|
|
|
} |
|
|
|
|
|
|
|
opener() { |
|
|
|
mru list | dmenu -i -l 20 -p 'open' | while read f; do mru insert "$f" &; xdg-open $f; done |
|
|
|
mru list | dmenu -i -l 20 -p 'open' | while read f; do mru insert "$f" & xdg-open $f; done |
|
|
|
} |
|
|
|
|
|
|
|
screenshot() { |
|
|
|