summaryrefslogtreecommitdiff
path: root/dwm-6.3
diff options
context:
space:
mode:
Diffstat (limited to 'dwm-6.3')
-rw-r--r--dwm-6.3/config.h4
-rwxr-xr-xdwm-6.3/scripts/dwm-search2
2 files changed, 4 insertions, 2 deletions
diff --git a/dwm-6.3/config.h b/dwm-6.3/config.h
index a2cc043..81cc365 100644
--- a/dwm-6.3/config.h
+++ b/dwm-6.3/config.h
@@ -32,7 +32,7 @@ static const char *const autostart[] = {
"xsetroot", "-name", "Loading dwmblocks", NULL,
"dwmblocks", NULL,
"fehbg", NULL,
- "picom", NULL,
+ "picom", "--experimental-backends", NULL,
NULL /* terminate */
};
@@ -137,6 +137,8 @@ static Key keys[] = {
{ MODKEY, XK_F12, spawn, SHCMD("power") },
{ MODKEY, XK_F4, spawn, SHCMD("galculator") },
{ MODKEY, XK_e, spawn, SHCMD("dmenuunicode") },
+ { MODKEY, XK_s, spawn, SHCMD("dwm-search") },
+ { MODKEY, XK_g, spawn, SHCMD("dwm-goto") },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
diff --git a/dwm-6.3/scripts/dwm-search b/dwm-6.3/scripts/dwm-search
index 2ea44c2..a747424 100755
--- a/dwm-6.3/scripts/dwm-search
+++ b/dwm-6.3/scripts/dwm-search
@@ -1,6 +1,6 @@
#!/bin/bash
-QUERY=$(tac ~/.config/surf/search.txt | sort -u | dmenu -p "Search DuckDuckGo: ")
+QUERY=$(tac ~/.config/surf/search.txt | sort -u | dmenu -l 20 -p "Search DuckDuckGo: ")
SEARCH=$(echo $QUERY | sed 's/ /+/g')
URL="duckduckgo.com/?q=$SEARCH"
CMD="firejail --noprofile --hosts-file=~/.config/surf/ads.txt tabbed -dn tabbed-surf -r 2 surf -e '' $URL"