Skip to content

Instantly share code, notes, and snippets.

View adlrwbr's full-sized avatar
🤠

Adler Weber adlrwbr

🤠
  • Cornell University
  • Cleveland, Ohio
View GitHub Profile
@Diaoul
Diaoul / monitors.sh
Last active July 6, 2024 22:54
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