commit aa963a454be76cdd52169a17c1089c66e0a3454d parent 58268f54c3033c8d00c325689adb1cd25a8d48b9 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 13 Jan 2019 10:59:27 +0100 Go back to using dmenu Diffstat:
M | links/.config/i3/config | | | 2 | +- |
M | links/bin/ducksearch | | | 4 | +--- |
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/links/.config/i3/config b/links/.config/i3/config @@ -80,7 +80,7 @@ bindsym $mod+Return exec $term -e tmux bindsym $mod+Shift+Return exec $term bindsym $mod+grave exec --no-startup-id ddspawn tmuxdd bindsym $mod+comma exec signal-desktop -bindsym $mod+space exec --no-startup-id "rofi -show drun -run-shell-command '$term -e \\" {cmd}; read -n 1 -s\\"'" +bindsym $mod+space exec --no-startup-id dmenu_themed run bindsym $modalt+space exec ducksearch bindsym $mod+Tab focus mode_toggle diff --git a/links/bin/ducksearch b/links/bin/ducksearch @@ -6,9 +6,7 @@ # Anything else, it search it. browser=${BROWSER:-firefox} -pgrep -x dmenu_themed && exit 1 - -choice=$(echo "" | rofi -dmenu -location 1 -lines 0 -i -p "Search DuckDuckGo") || exit 1 +choice=$(echo "" | dmenu_themed -i -p "Search DuckDuckGo:") || exit 1 if [ "$choice" = "🦆" ]; then $browser "https://duckduckgo.com"