summaryrefslogtreecommitdiff
path: root/.stumpwm.d/commands.lisp
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-06 17:35:24 +0300
committerThanos Apollo <[email protected]>2023-10-06 17:35:24 +0300
commitf107739228c621fed061fbcdb37c641c262a5d95 (patch)
tree81d595ce7425e681d33080269515976f0fa3c404 /.stumpwm.d/commands.lisp
parentd977140b61a8133c8db3df857ae271579484f746 (diff)
stumpwm: Update search functions & keybindings
Diffstat (limited to '.stumpwm.d/commands.lisp')
-rw-r--r--.stumpwm.d/commands.lisp8
1 files changed, 5 insertions, 3 deletions
diff --git a/.stumpwm.d/commands.lisp b/.stumpwm.d/commands.lisp
index dc9204d..5a87d6e 100644
--- a/.stumpwm.d/commands.lisp
+++ b/.stumpwm.d/commands.lisp
@@ -19,11 +19,13 @@
(stumpwm:run-shell-command
(concatenate 'string "nyxt -r -e '(" ,command "\"" ,search-url query "\"" ")'"))))
-(defvar thanos-searxng "https://search.thanosapollo.com/?q=")
+(defvar duckduckgo "https://duckduckgo.com/?q=")
+(defvar github "https://github.com/search?q=")
-(defnyxt-search "searxng" thanos-searxng "buffer-load")
-(defnyxt-search "searxng-newb" thanos-searxng "set-url-new-buffer :url")
+(defnyxt-search "duck" duckduckgo "buffer-load")
+(defnyxt-search "duck-newb" duckduckgo "set-url-new-buffer :url")
(defnyxt-search "http" "http://" "buffer-load")
+(defnyxt-search "gh" github "buffer-load")
;; Sly setup
(ql:quickload :slynk)