adding sample

This commit is contained in:
2026-04-08 20:26:09 -06:00
parent bb5fa40538
commit 9cfc41d697
13 changed files with 33 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
sample/icons/camera.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
sample/icons/desk_down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
sample/icons/desk_up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
sample/icons/ghostty.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
sample/icons/lights.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
sample/icons/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
sample/icons/mic-muted.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
sample/icons/mic-open.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
sample/icons/office_fan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

33
sample/scripts/obs-setup.sh Executable file
View File

@@ -0,0 +1,33 @@
#!/bin/bash
# Pre-configure float/size/position rules before launching
hyprctl keyword windowrulev2 "float,class:^(com.obsproject.Studio)$"
hyprctl keyword windowrulev2 "size 2487 1358,class:^(com.obsproject.Studio)$"
hyprctl keyword windowrulev2 "move 12 70,class:^(com.obsproject.Studio)$"
hyprctl keyword windowrulev2 "float,class:^(NoiseTorch)$"
hyprctl keyword windowrulev2 "size 2595 672,class:^(NoiseTorch)$"
hyprctl keyword windowrulev2 "move 2513 70,class:^(NoiseTorch)$"
hyprctl keyword windowrulev2 "float,class:^(hu.irl.cameractrls)$"
hyprctl keyword windowrulev2 "size 2595 672,class:^(hu.irl.cameractrls)$"
hyprctl keyword windowrulev2 "move 2513 756,class:^(hu.irl.cameractrls)$"
# [workspace 3 silent] handles workspace placement without switching focus
hyprctl dispatch exec "[workspace 3 silent] obs --startvirtualcam --scene 'Green Screen'"
hyprctl dispatch exec "[workspace 3 silent] noisetorch"
sleep 1
hyprctl dispatch exec "[workspace 3 silent] cameractrlsgtk4"
# Wait for windows to open then clean up the rules
sleep 3
hyprctl keyword windowrulev2 remove "float,class:^(com.obsproject.Studio)$"
hyprctl keyword windowrulev2 remove "size 2487 1358,class:^(com.obsproject.Studio)$"
hyprctl keyword windowrulev2 remove "move 12 70,class:^(com.obsproject.Studio)$"
hyprctl keyword windowrulev2 remove "float,class:^(NoiseTorch)$"
hyprctl keyword windowrulev2 remove "size 2595 672,class:^(NoiseTorch)$"
hyprctl keyword windowrulev2 remove "move 2513 70,class:^(NoiseTorch)$"
hyprctl keyword windowrulev2 remove "float,class:^(hu.irl.cameractrls)$"
hyprctl keyword windowrulev2 remove "size 2595 672,class:^(hu.irl.cameractrls)$"
hyprctl keyword windowrulev2 remove "move 2513 756,class:^(hu.irl.cameractrls)$"