We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got a screen recorder script from Chat GPT. How to add Screen recorder script to the panel. videos_dir="$HOME/Videos" mkdir -p "$videos_dir"
timestamp=$(date +"%Y%m%d%H%M%S") recording_file="$videos_dir/screen_recording_$timestamp.mp4"
wf-recorder -g "$(slurp)" -f "$recording_file"
notify-send "Screen recording started"
read -p "Press Enter to stop recording..."
pkill wf-recorder
notify-send "Screen recording stopped"
these are the scripts which works for but wanna add it to the panel with css.
The text was updated successfully, but these errors were encountered:
edit the css??
Sorry, something went wrong.
No branches or pull requests
I got a screen recorder script from Chat GPT. How to add Screen recorder script to the panel.
videos_dir="$HOME/Videos"
mkdir -p "$videos_dir"
Generate a random filename for the screen recording
timestamp=$(date +"%Y%m%d%H%M%S")
recording_file="$videos_dir/screen_recording_$timestamp.mp4"
Use wf-recorder to record the screen
wf-recorder -g "$(slurp)" -f "$recording_file"
Notify the user that the recording has started
notify-send "Screen recording started"
Wait for the user to stop the recording (e.g., by pressing a key)
read -p "Press Enter to stop recording..."
Stop the screen recording
pkill wf-recorder
Notify the user that the recording has stopped
notify-send "Screen recording stopped"
these are the scripts which works for but wanna add it to the panel with css.
The text was updated successfully, but these errors were encountered: