updated hyprland to allow for extra config. this way other services can register hyprland functionality. did extactly that for gpu screen recorder

This commit is contained in:
2026-09-23 21:48:22 +02:00
parent 95d6b0b257
commit e352d52d40
6 changed files with 101 additions and 60 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh -e
killall -SIGUSR1 gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low -- "GPU Screen Recorder" "Replay saved"
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
pidof -q gpu-screen-recorder && exit 0
video_path="$HOME/Videos"
mkdir -p "$video_path"
gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -bm cbr -q 40000 -r 60 -o "$video_path"