diff --git a/.local/bin/i3cmds/ducksearch b/.local/bin/i3cmds/ducksearch deleted file mode 100755 index 7b5bca6..0000000 --- a/.local/bin/i3cmds/ducksearch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Gives a dmenu prompt to search DuckDuckGo. -# Without input, will open DuckDuckGo.com. -# URLs will be directly handed to the browser. -# Anything else, it search it. -browser=${BROWSER:-firefox} - -pgrep -x dmenu && exit - -choice=$(echo "🦆" | dmenu -i -p "Search DuckDuckGo:") || exit 1 - -if [ "$choice" = "🦆" ]; then - $browser "https://duckduckgo.com" -else - if echo "$choice" | grep "^(http:\/\/|https:\/\/)?[a-zA-Z0-9]+\.[a-zA-Z]+(/)?.*$"; then - $browser "$choice" - else - $browser "https://duckduckgo.com/?q=$choice&t=ffab&atb=v1-1" - fi -fi diff --git a/.local/bin/i3cmds/killrecording b/.local/bin/i3cmds/killrecording deleted file mode 100755 index ec9a698..0000000 --- a/.local/bin/i3cmds/killrecording +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -kill -9 "$(cat ~/.recordingpid)" - -# Update i3bar. -echo "" > ~/.recordingicon -pkill -RTMIN+9 i3blocks diff --git a/.local/bin/i3cmds/tmuxdd b/.local/bin/i3cmds/tmuxdd deleted file mode 100755 index c194ff1..0000000 --- a/.local/bin/i3cmds/tmuxdd +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# This is the script that i3 runs to either start tmux in -# the dropdown terminal or log into a previous session. -tmux a || tmux