Skip to content

Instantly share code, notes, and snippets.

View autokludge's full-sized avatar

Jesse Robertson autokludge

View GitHub Profile
@Diaoul
Diaoul / monitors.sh
Last active June 19, 2024 14:32
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