added binfiles from chrysostomus/bspwm-scripts, fixed eaten space

This commit is contained in:
2021-09-23 11:28:28 +02:00
parent 8950439dc2
commit 89420117a1
36 changed files with 848 additions and 1 deletions

11
bin/MouseCenter Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Get the necessary info
#Script copied from https://github.com/tatou-tatou
IFS=" " read -a window <<< $(wattr whxy $(pfw))
# Find the center of the window
center_x=$(( ${window[0]} / 2 + ${window[2]} ))
center_y=$(( ${window[1]} / 2 + ${window[3]} ))
# Move mouse
xdotool mousemove $center_x $center_y