Update dotfiles (2026-05-08 15:35:43)

This commit is contained in:
2026-05-08 15:35:43 +02:00
parent 362e7e51a5
commit afd1b5bd53
77 changed files with 127 additions and 347 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/zsh
XDG_RUNTIME_DIR="/run/user/1000"
handle() {
case $1 in
"screencast>>1,"*)
swaync-client --inhibitor-add "xdg-desktop-portal-hyprland" &
;;
"screencast>>0,"*)
echo hi &
swaync-client --inhibitor-remove "xdg-desktop-portal-hyprland" &
;;
esac
}
socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read -r line; do handle "$line"; done