added modules to waybar
This commit is contained in:
9
waybar/scripts/toggle-replay.sh
Executable file
9
waybar/scripts/toggle-replay.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
PID_FILE="/tmp/gpu-screen-recorder.pid"
|
||||
|
||||
if [ -f "$PID_FILE" ] && ps -p "$(cat "$PID_FILE")" > /dev/null; then
|
||||
$HOME/.config/hypr/scripts/replay-ctrl.sh stop
|
||||
else
|
||||
$HOME/.config/hypr/scripts/replay-ctrl.sh start
|
||||
fi
|
Reference in New Issue
Block a user