diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-11-17 16:44:07 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-11-17 16:44:07 -0500 |
| commit | c7e3d61753201d48835cdc819dcd6557bc2cffe7 (patch) | |
| tree | 5700fb5d11bd49f7d8919baa8d53af1b13d2a07b /.local/bin/i3cmds/ddspawn | |
| parent | 9df28899ded4ed4cd75c4fa05b8302f71ff8198d (diff) | |
| download | eibhear-c7e3d61753201d48835cdc819dcd6557bc2cffe7.tar.gz eibhear-c7e3d61753201d48835cdc819dcd6557bc2cffe7.tar.zst eibhear-c7e3d61753201d48835cdc819dcd6557bc2cffe7.zip | |
old script cleanout
Diffstat (limited to '.local/bin/i3cmds/ddspawn')
| -rwxr-xr-x | .local/bin/i3cmds/ddspawn | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/.local/bin/i3cmds/ddspawn b/.local/bin/i3cmds/ddspawn deleted file mode 100755 index d4a4034..0000000 --- a/.local/bin/i3cmds/ddspawn +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Toggle floating dropdown terminal in i3, or start if non-existing. -# $1 is the script run in the terminal. -# All other args are terminal settings. -# Terminal names are in dropdown_* to allow easily setting i3 settings. - -[ -z "$1" ] && exit - -script=$1 -shift -if xwininfo -tree -root | grep "(\"dropdown_$script\" "; -then - echo "Window detected." - i3 "[instance=\"dropdown_$script\"] scratchpad show; [instance=\"dropdown_$script\"] move position center" -else - echo "Window not detected... spawning." - i3 "exec --no-startup-id $TERMINAL -n dropdown_$script $@ -e $script" -fi |
