caelestia/scripts/monitor-hyprlock.fish
2 * r + 2 * t af6b650d2e hyprlock: regen config per monitor
So media widget fits properly
2025-03-02 19:36:39 +11:00

10 lines
248 B
Fish
Executable file

#!/bin/fish
set -l src (dirname (status filename))
socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read line
switch $line
case 'monitor*'
$src/gen-hyprlock.fish
end
end