Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

18
.bin/OLD/sp2 Executable file
View File

@@ -0,0 +1,18 @@
#/bin/sh
windowname="scratchpad-$1"
desk=`wmctrl -d | grep '*' | cut -d ' ' -f '1'`
scratch_desk=`wmctrl -l | grep $windowname | cut -d ' ' -f '3'`
xprop -name "$windowname"
if [ $? -eq 0 ]; then
if [ $desk -eq $scratch_desk ]; then
wmctrl -r $windowname -t $desk
wmctrl -r $windowname -b toggle,hidden
else
wmctrl -R $windowname
wmctrl -r $windowname -b remove,hidden
fi
else
st -c $windowname
fi