From b5d772f01e410d4fe0dcdc661c958657fbf0ca28 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 19 Jun 2022 23:56:13 +0800 Subject: Switch to swaywm --- bin/my-dmenu-run | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 bin/my-dmenu-run (limited to 'bin/my-dmenu-run') diff --git a/bin/my-dmenu-run b/bin/my-dmenu-run deleted file mode 100755 index e6ddd2f..0000000 --- a/bin/my-dmenu-run +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -tui_apps=( - vim - mutt - - nnn - ranger - - newsboat - podboat - cmus - ncmpcpp -) - -shell=${SHELL:-"/bin/sh"} -terminal=${TERMINAL:-"/usr/bin/xterm"} - -prog=$(dmenu_path | dmenu "$@") - -if [[ " ${tui_apps[*]} " =~ " ${prog} " ]]; then - prog="$terminal -e $prog" -fi - -if [[ "${prog}" == emacs ]]; then - prog="LC_CTYPE='zh_CN.UTF-8' emacs" -fi - -echo "$prog" | $shell & -- cgit v1.2.3