diff options
author | zachir <zachir@librem.one> | 2023-05-23 15:04:49 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-05-23 15:04:49 -0500 |
commit | 1e253ad2bef65ce91ab49638e77f6d8d02d94079 (patch) | |
tree | 4d23e8d4829f341b32be287949361b2f681c4ae1 /bspt | |
parent | dc64757b22b97df3d52e7b4b348afed3a2e66274 (diff) |
We're moving past X11 now
Diffstat (limited to 'bspt')
-rwxr-xr-x | bspt | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -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 |