My omnium-gatherom of scripts and source code.
1#!/usr/bin/env sh
2
3set -xe
4
5XY="$(xdotool getdisplaygeometry)"
6X="$(echo "$XY" | awk '{print $1}')"
7Y="$(echo "$XY" | awk '{print $2}')"
8X=$((X / 2))
9Y=$((Y / 2))
10xdotool mousemove "$X" "$Y" && sleep 0.08s
11
12<<EOF pmenu
13Terms
14 wezterm
15 foot
16 alacritty
17 st
18Apps
19 firefox-nightly
20 gimp
21 inkscape
22 obs
23Power
24 systemctl suspend
25 systemctl poweroff
26 reboot
27Utilities
28 screenshot.sh
29 battery.nu
30 date.nu
31 weather.nu
32EOF