From 1e253ad2bef65ce91ab49638e77f6d8d02d94079 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 23 May 2023 15:04:49 -0500 Subject: We're moving past X11 now --- bspt | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 bspt (limited to 'bspt') diff --git a/bspt b/bspt deleted file mode 100755 index 541d525..0000000 --- a/bspt +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -get_cmd () { - echo "$@" | sed "s/"$1" //" -} - -toggle_sp() { - id="$(xdotool search --class "$1")" - if [ "$id" != "" ]; then - bspc node "$id" --flag hidden -f - fi -} - -spawn_sp() { - st -c "$1" -g 100x40 -e "${@:2}" -} - -unset __SP_EXISTS - -pgrep -x `get_cmd $@` && __SP_EXISTS=y - -if [ -z "$__SP_EXISTS" ]; then - st -c "$1" -g 100x40 -e "$(get_cmd $@)" -else - id="$(xdotool search --class $1)" - if [ "$id" != "" ]; then - bspc node "$id" --flag hidden -f - fi -fi -- cgit v1.2.3