X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/b447fcc5a248329d10d995726822e6e001d9eec2..7791c200d9b385f722863cbaf2341dafffdb272f:/sxhkd/.local/bin/em diff --git a/sxhkd/.local/bin/em b/sxhkd/.local/bin/em deleted file mode 100755 index 6d087f3..0000000 --- a/sxhkd/.local/bin/em +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ -z "$DISPLAY" ]; then - IS_GRAPHICAL=true -else - IS_GRAPHICAL=$(emacs --batch -Q --eval='(if (fboundp '"'"'tool-bar-mode) (message "true") (message "false"))' 2>&1) -fi - -if $IS_GRAPHICAL; then - emacsclient -a "" -nc "$@" -else - emacsclient -a "" -t "$@" -fi