Skip to content

Instantly share code, notes, and snippets.

View TurnrDev's full-sized avatar

Jay Turner TurnrDev

  • Mopo
  • Nottingham
  • 10:43 (UTC)
View GitHub Profile
@TurnrDev
TurnrDev / monitors.sh
Last active January 22, 2026 13:58 — forked from Diaoul/monitors.sh
Arrange workspace on multiple monitors (Hyprland)
#!/usr/bin/env bash
set -e
declare -i last_called=0
declare -i throttle_by=4
@throttle() {
local -i now=$(date +%s)
if (($now - $last_called > $throttle_by))
then